Skip to content

Commit b6771ad

Browse files
committed
Merge branch 'master' of https://github.com/driftyco/ionic
2 parents e2bf2aa + fa14348 commit b6771ad

14 files changed

+204
-220
lines changed

dist/css/ionic.css

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@charset "UTF-8";
21
/**
32
* Copyright 2013 Drifty Co.
43
* http://drifty.com/
@@ -2667,11 +2666,12 @@ a.subdued {
26672666
border-top: 1px solid transparent;
26682667
border-bottom: 1px solid #dddddd;
26692668
background-color: white;
2669+
/* border-width: 1px will actually create 2 device pixels on retina */
2670+
/* this nifty trick sets an actual 1px border on hi-res displays */
26702671
background-size: 0; }
26712672
@media (min--moz-device-pixel-ratio: 1.5), (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
26722673
.bar {
2673-
border-top: none !important;
2674-
border-bottom: none !important;
2674+
border: none;
26752675
background-image: linear-gradient(0deg, #dddddd, #dddddd 50%, transparent 50%);
26762676
background-position: bottom;
26772677
background-size: 100% 1px;
@@ -2805,7 +2805,7 @@ a.subdued {
28052805
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
28062806
border-color: #cccccc; }
28072807
.bar-light .button.button-clear {
2808-
color: white;
2808+
color: #444444;
28092809
background: none;
28102810
border-color: transparent;
28112811
box-shadow: none;
@@ -2826,7 +2826,7 @@ a.subdued {
28262826
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.15);
28272827
border-color: #a2a2a2; }
28282828
.bar-stable .button.button-clear {
2829-
color: white;
2829+
color: #444444;
28302830
background: none;
28312831
border-color: transparent;
28322832
box-shadow: none;
@@ -4126,7 +4126,6 @@ textarea {
41264126
-webkit-border-radius: 2px;
41274127
-moz-border-radius: 2px;
41284128
border-radius: 2px;
4129-
display: block !important;
41304129
overflow: hidden;
41314130
padding: 4px 8px 3px;
41324131
border: none;
@@ -4439,7 +4438,7 @@ input[type="range"] {
44394438
background-position: center;
44404439
background-size: 96% 4px;
44414440
background-repeat: no-repeat;
4442-
-webkit-appearance: none !important; }
4441+
-webkit-appearance: none; }
44434442
input[type="range"]::-webkit-slider-thumb {
44444443
position: relative;
44454444
width: 20px;
@@ -4448,7 +4447,7 @@ input[type="range"] {
44484447
background-color: white;
44494448
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5), 1px 3px 5px rgba(0, 0, 0, 0.25);
44504449
cursor: pointer;
4451-
-webkit-appearance: none !important; }
4450+
-webkit-appearance: none; }
44524451
input[type="range"]::-webkit-slider-thumb:before {
44534452
/* what creates the colorful line on the left side of the slider */
44544453
position: absolute;
@@ -5480,10 +5479,10 @@ a.button {
54805479
*/
54815480
.hidden,
54825481
.hide {
5483-
display: none !important; }
5482+
display: none; }
54845483

54855484
.show {
5486-
display: block !important; }
5485+
display: block; }
54875486

54885487
.inline {
54895488
display: inline-block; }

dist/css/themes/ionic-ios7.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@charset "UTF-8";
21
/**
32
* Nav controllers and header bar animations
43
*/

scss/_bar.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@
2424
border-bottom: 1px solid $bar-default-border;
2525

2626
background-color: $bar-default-bg;
27+
28+
/* border-width: 1px will actually create 2 device pixels on retina */
29+
/* this nifty trick sets an actual 1px border on hi-res displays */
2730
background-size: 0;
2831
@media (min--moz-device-pixel-ratio: 1.5),
2932
(-webkit-min-device-pixel-ratio: 1.5),
3033
(min-device-pixel-ratio: 1.5),
3134
(min-resolution: 144dpi),
3235
(min-resolution: 1.5dppx) {
33-
border-top: none !important;
34-
border-bottom: none !important;
36+
border: none;
3537
background-image: linear-gradient(0deg, $bar-default-border, $bar-default-border 50%, transparent 50%);
3638
background-position: bottom;
3739
background-size: 100% 1px;
@@ -155,13 +157,13 @@
155157
.bar-light {
156158
.button {
157159
@include button-style($bar-light-bg, $bar-light-border, $bar-light-active-bg, $bar-light-active-border, $bar-light-text);
158-
@include button-clear(#fff, $bar-title-font-size);
160+
@include button-clear($bar-light-text, $bar-title-font-size);
159161
}
160162
}
161163
.bar-stable {
162164
.button {
163165
@include button-style($bar-stable-bg, $bar-stable-border, $bar-stable-active-bg, $bar-stable-active-border, $bar-stable-text);
164-
@include button-clear(#fff, $bar-title-font-size);
166+
@include button-clear($bar-stable-text, $bar-title-font-size);
165167
}
166168
}
167169
.bar-positive {

scss/_form.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ textarea {
103103
.item-stacked-label textarea
104104
{
105105
@include border-radius(2px);
106-
display: block !important;
107106
overflow: hidden;
108107
padding: 4px 8px 3px;
109108
border: none;

scss/_icons.scss

Lines changed: 0 additions & 17 deletions
This file was deleted.

scss/_range.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ input[type="range"] {
1919
background-position: center;
2020
background-size: 96% $range-track-height;
2121
background-repeat: no-repeat;
22-
-webkit-appearance: none !important;
22+
-webkit-appearance: none;
2323

2424
&::-webkit-slider-thumb {
2525
position: relative;
@@ -29,7 +29,7 @@ input[type="range"] {
2929
background-color: $toggle-handle-off-bg-color;
3030
box-shadow: 0 0 2px rgba(0,0,0,.5), 1px 3px 5px rgba(0,0,0,0.25);
3131
cursor: pointer;
32-
-webkit-appearance: none !important;
32+
-webkit-appearance: none;
3333
}
3434

3535
&::-webkit-slider-thumb:before {

scss/_reset.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ textarea {
253253
}
254254

255255
/**
256-
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
256+
* Address Firefox 4+ setting `line-height` on `input` using `importnt` in
257257
* the UA stylesheet.
258258
*/
259259

scss/_util.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
.hidden,
88
.hide {
9-
display: none !important;
9+
display: none;
1010
}
1111
.show {
12-
display: block !important;
12+
display: block;
1313
}
1414

1515
.inline {

scss/ionic.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,5 @@
5555
// Util
5656
"animations",
5757
"grid",
58-
"icons",
5958
"util",
6059
"platform";

scss/ionicons/_ionicons-animation.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
@extend .#{$ionicons-prefix}spin;
4242
}
4343

44+
.#{$ionicons-prefix}loading-a {
45+
-webkit-animation-timing-function: steps(8, start);
46+
-moz-animation-timing-function: steps(8, start);
47+
animation-timing-function: steps(8, start);
48+
}
49+
4450
.#{$ionicons-prefix}loading-a:before {
4551
@extend .#{$ionicons-prefix}load-a:before;
4652
}

0 commit comments

Comments
 (0)