materialize-sass 0.97.3 → 0.97.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/roboto/Roboto-Bold.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Light.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Medium.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Regular.eot +0 -0
- data/app/assets/fonts/roboto/Roboto-Thin.eot +0 -0
- data/app/assets/javascripts/materialize-sprockets.js +1 -0
- data/app/assets/javascripts/materialize.js +537 -192
- data/app/assets/javascripts/materialize.min.js +6 -6
- data/app/assets/javascripts/materialize/buttons.js +2 -3
- data/app/assets/javascripts/materialize/collapsible.js +1 -1
- data/app/assets/javascripts/materialize/dropdown.js +1 -1
- data/app/assets/javascripts/materialize/extras/nouislider.js +5 -0
- data/app/assets/javascripts/materialize/extras/nouislider.min.js +1 -1
- data/app/assets/javascripts/materialize/forms.js +56 -47
- data/app/assets/javascripts/materialize/global.js +3 -2
- data/app/assets/javascripts/materialize/initial.js +4 -0
- data/app/assets/javascripts/materialize/tooltip.js +120 -118
- data/app/assets/stylesheets/materialize/components/_buttons.scss +2 -1
- data/app/assets/stylesheets/materialize/components/_cards.scss +2 -2
- data/app/assets/stylesheets/materialize/components/_carousel.scss +1 -5
- data/app/assets/stylesheets/materialize/components/_collapsible.scss +1 -1
- data/app/assets/stylesheets/materialize/components/_form.scss +23 -24
- data/app/assets/stylesheets/materialize/components/_global.scss +40 -27
- data/app/assets/stylesheets/materialize/components/_grid.scss +30 -3
- data/app/assets/stylesheets/materialize/components/_icons-material-design.scss +6 -0
- data/app/assets/stylesheets/materialize/components/_materialbox.scss +1 -1
- data/app/assets/stylesheets/materialize/components/_mixins.scss +5 -5
- data/app/assets/stylesheets/materialize/components/_navbar.scss +28 -12
- data/app/assets/stylesheets/materialize/components/_prefixer.scss +291 -291
- data/app/assets/stylesheets/materialize/components/_roboto.scss +17 -10
- data/app/assets/stylesheets/materialize/components/_sideNav.scss +3 -2
- data/app/assets/stylesheets/materialize/components/_slider.scss +1 -1
- data/app/assets/stylesheets/materialize/components/_tabs.scss +4 -4
- data/app/assets/stylesheets/materialize/components/_toast.scss +6 -8
- data/app/assets/stylesheets/materialize/components/_tooltip.scss +1 -1
- data/app/assets/stylesheets/materialize/components/_variables.scss +1 -0
- data/app/assets/stylesheets/materialize/components/_waves.scss +5 -8
- data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +2 -2
- data/app/assets/stylesheets/materialize/extras/nouislider.css +5 -0
- data/lib/materialize-sass/version.rb +1 -1
- metadata +9 -3
@@ -1,5 +1,5 @@
|
|
1
|
-
@mixin box-shadow-2($args1, $args2) {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
1
|
+
// @mixin box-shadow-2($args1, $args2) {
|
2
|
+
// -webkit-box-shadow: $args1, $args2;
|
3
|
+
// -moz-box-shadow: $args1, $args2;
|
4
|
+
// box-shadow: $args1, $args2;
|
5
|
+
// }
|
@@ -8,14 +8,18 @@ nav {
|
|
8
8
|
|
9
9
|
a { color: $navbar-font-color; }
|
10
10
|
|
11
|
+
i,
|
12
|
+
[class^="mdi-"], [class*="mdi-"],
|
13
|
+
i.material-icons {
|
14
|
+
display: block;
|
15
|
+
font-size: 2rem;
|
16
|
+
height: $navbar-height-mobile;
|
17
|
+
line-height: $navbar-height-mobile;
|
18
|
+
}
|
19
|
+
|
11
20
|
.nav-wrapper {
|
12
21
|
position: relative;
|
13
22
|
height: 100%;
|
14
|
-
|
15
|
-
i {
|
16
|
-
display: block;
|
17
|
-
font-size: 2rem;
|
18
|
-
}
|
19
23
|
}
|
20
24
|
|
21
25
|
@media #{$large-and-up} {
|
@@ -49,16 +53,16 @@ nav {
|
|
49
53
|
|
50
54
|
&.center {
|
51
55
|
left: 50%;
|
52
|
-
|
56
|
+
transform: translateX(-50%);
|
53
57
|
}
|
54
58
|
|
55
59
|
@media #{$medium-and-down} {
|
56
60
|
left: 50%;
|
57
|
-
|
61
|
+
transform: translateX(-50%);
|
58
62
|
|
59
63
|
&.left, &.right {
|
60
64
|
padding: 0;
|
61
|
-
|
65
|
+
transform: none;
|
62
66
|
}
|
63
67
|
|
64
68
|
&.left { left: 0.5rem; }
|
@@ -80,19 +84,31 @@ nav {
|
|
80
84
|
margin: 0;
|
81
85
|
|
82
86
|
li {
|
83
|
-
|
87
|
+
transition: background-color .3s;
|
84
88
|
float: left;
|
85
89
|
padding: 0;
|
86
90
|
|
87
|
-
|
91
|
+
&.active {
|
88
92
|
background-color: rgba(0,0,0,.1);
|
89
93
|
}
|
90
94
|
}
|
91
95
|
a {
|
96
|
+
transition: background-color .3s;
|
92
97
|
font-size: 1rem;
|
93
98
|
color: $navbar-font-color;
|
94
99
|
display: block;
|
95
100
|
padding: 0 15px;
|
101
|
+
cursor: pointer;
|
102
|
+
|
103
|
+
&.btn, &.btn-large, &.btn-flat, &.btn-floating {
|
104
|
+
margin-top: -2px;
|
105
|
+
margin-left: 15px;
|
106
|
+
margin-right: 15px;
|
107
|
+
}
|
108
|
+
|
109
|
+
&:hover {
|
110
|
+
background-color: rgba(0,0,0,.1);
|
111
|
+
}
|
96
112
|
}
|
97
113
|
|
98
114
|
&.left {
|
@@ -122,11 +138,11 @@ nav {
|
|
122
138
|
|
123
139
|
i {
|
124
140
|
color: rgba(255,255,255,.7);
|
125
|
-
|
141
|
+
transition: color .3s;
|
126
142
|
}
|
127
143
|
&.active i { color: $navbar-font-color; }
|
128
144
|
&.active {
|
129
|
-
|
145
|
+
transform: translateY(0);
|
130
146
|
}
|
131
147
|
}
|
132
148
|
|
@@ -51,240 +51,240 @@
|
|
51
51
|
|
52
52
|
// Animation
|
53
53
|
|
54
|
-
@mixin animation($args) {
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
}
|
61
|
-
@mixin animation-delay($delay) {
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
}
|
68
|
-
@mixin animation-direction($direction) {
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
}
|
74
|
-
@mixin animation-duration($duration) {
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
80
|
-
@mixin animation-fill-mode($mode) {
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
}
|
87
|
-
@mixin animation-iteration-count($count) {
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
}
|
94
|
-
@mixin animation-name($name) {
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
}
|
101
|
-
@mixin animation-play-state($state) {
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
}
|
108
|
-
@mixin animation-timing-function($function) {
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
}
|
54
|
+
// @mixin animation($args) {
|
55
|
+
// -webkit-animation: $args;
|
56
|
+
// -moz-animation: $args;
|
57
|
+
// -ms-animation: $args;
|
58
|
+
// -o-animation: $args;
|
59
|
+
// animation: $args;
|
60
|
+
// }
|
61
|
+
// @mixin animation-delay($delay) {
|
62
|
+
// -webkit-animation-delay: $delay;
|
63
|
+
// -moz-animation-delay: $delay;
|
64
|
+
// -ms-animation-delay: $delay;
|
65
|
+
// -o-animation-delay: $delay;
|
66
|
+
// animation-delay: $delay;
|
67
|
+
// }
|
68
|
+
// @mixin animation-direction($direction) {
|
69
|
+
// -webkit-animation-direction: $direction;
|
70
|
+
// -moz-animation-direction: $direction;
|
71
|
+
// -ms-animation-direction: $direction;
|
72
|
+
// -o-animation-direction: $direction;
|
73
|
+
// }
|
74
|
+
// @mixin animation-duration($duration) {
|
75
|
+
// -webkit-animation-duration: $duration;
|
76
|
+
// -moz-animation-duration: $duration;
|
77
|
+
// -ms-animation-duration: $duration;
|
78
|
+
// -o-animation-duration: $duration;
|
79
|
+
// }
|
80
|
+
// @mixin animation-fill-mode($mode) {
|
81
|
+
// -webkit-animation-fill-mode: $mode;
|
82
|
+
// -moz-animation-fill-mode: $mode;
|
83
|
+
// -ms-animation-fill-mode: $mode;
|
84
|
+
// -o-animation-fill-mode: $mode;
|
85
|
+
// animation-fill-mode: $mode;
|
86
|
+
// }
|
87
|
+
// @mixin animation-iteration-count($count) {
|
88
|
+
// -webkit-animation-iteration-count: $count;
|
89
|
+
// -moz-animation-iteration-count: $count;
|
90
|
+
// -ms-animation-iteration-count: $count;
|
91
|
+
// -o-animation-iteration-count: $count;
|
92
|
+
// animation-iteration-count: $count;
|
93
|
+
// }
|
94
|
+
// @mixin animation-name($name) {
|
95
|
+
// -webkit-animation-name: $name;
|
96
|
+
// -moz-animation-name: $name;
|
97
|
+
// -ms-animation-name: $name;
|
98
|
+
// -o-animation-name: $name;
|
99
|
+
// animation-name: $name;
|
100
|
+
// }
|
101
|
+
// @mixin animation-play-state($state) {
|
102
|
+
// -webkit-animation-play-state: $state;
|
103
|
+
// -moz-animation-play-state: $state;
|
104
|
+
// -ms-animation-play-state: $state;
|
105
|
+
// -o-animation-play-state: $state;
|
106
|
+
// animation-play-state: $state;
|
107
|
+
// }
|
108
|
+
// @mixin animation-timing-function($function) {
|
109
|
+
// -webkit-animation-timing-function: $function;
|
110
|
+
// -moz-animation-timing-function: $function;
|
111
|
+
// -ms-animation-timing-function: $function;
|
112
|
+
// -o-animation-timing-function: $function;
|
113
|
+
// animation-timing-function: $function;
|
114
|
+
// }
|
115
115
|
|
116
116
|
// Keyframes
|
117
|
-
@mixin keyframes($animation-name) {
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
}
|
117
|
+
// @mixin keyframes($animation-name) {
|
118
|
+
// @-webkit-keyframes #{$animation-name} {
|
119
|
+
// @content;
|
120
|
+
// }
|
121
|
+
// @-moz-keyframes #{$animation-name} {
|
122
|
+
// @content;
|
123
|
+
// }
|
124
|
+
// @keyframes #{$animation-name} {
|
125
|
+
// @content;
|
126
|
+
// }
|
127
|
+
// }
|
128
128
|
|
129
129
|
// Backface-visibility
|
130
130
|
|
131
|
-
@mixin backface-visibility($args) {
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
}
|
131
|
+
// @mixin backface-visibility($args) {
|
132
|
+
// -webkit-backface-visibility: $args;
|
133
|
+
// -moz-backface-visibility: $args;
|
134
|
+
// -ms-backface-visibility: $args;
|
135
|
+
// backface-visibility: $args;
|
136
|
+
// }
|
137
137
|
|
138
138
|
|
139
139
|
// Background Size
|
140
140
|
|
141
|
-
@mixin background-size($args) {
|
142
|
-
|
143
|
-
|
144
|
-
}
|
141
|
+
// @mixin background-size($args) {
|
142
|
+
// -webkit-background-size: $args;
|
143
|
+
// background-size: $args;
|
144
|
+
// }
|
145
145
|
|
146
146
|
// Box Sizing
|
147
147
|
|
148
|
-
@mixin box-sizing($args) {
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
}
|
153
|
-
@mixin border-box(){
|
154
|
-
|
155
|
-
}
|
156
|
-
@mixin content-box(){
|
157
|
-
|
158
|
-
}
|
148
|
+
// @mixin box-sizing($args) {
|
149
|
+
// -webkit-box-sizing: $args;
|
150
|
+
// -moz-box-sizing: $args;
|
151
|
+
// box-sizing: $args;
|
152
|
+
// }
|
153
|
+
// @mixin border-box(){
|
154
|
+
// @include box-sizing(border-box);
|
155
|
+
// }
|
156
|
+
// @mixin content-box(){
|
157
|
+
// @include box-sizing(content-box);
|
158
|
+
// }
|
159
159
|
|
160
160
|
|
161
161
|
// Columns
|
162
162
|
|
163
|
-
@mixin columns($args) {
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
}
|
168
|
-
@mixin column-count($count) {
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
}
|
173
|
-
@mixin column-gap($gap) {
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
}
|
178
|
-
@mixin column-width($width) {
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
}
|
183
|
-
@mixin column-rule($args) {
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
}
|
163
|
+
// @mixin columns($args) {
|
164
|
+
// -webkit-columns: $args;
|
165
|
+
// -moz-columns: $args;
|
166
|
+
// columns: $args;
|
167
|
+
// }
|
168
|
+
// @mixin column-count($count) {
|
169
|
+
// -webkit-column-count: $count;
|
170
|
+
// -moz-column-count: $count;
|
171
|
+
// column-count: $count;
|
172
|
+
// }
|
173
|
+
// @mixin column-gap($gap) {
|
174
|
+
// -webkit-column-gap: $gap;
|
175
|
+
// -moz-column-gap: $gap;
|
176
|
+
// column-gap: $gap;
|
177
|
+
// }
|
178
|
+
// @mixin column-width($width) {
|
179
|
+
// -webkit-column-width: $width;
|
180
|
+
// -moz-column-width: $width;
|
181
|
+
// column-width: $width;
|
182
|
+
// }
|
183
|
+
// @mixin column-rule($args) {
|
184
|
+
// -webkit-column-rule: $args;
|
185
|
+
// -moz-column-rule: $args;
|
186
|
+
// column-rule: $args;
|
187
|
+
// }
|
188
188
|
|
189
189
|
// Filter
|
190
|
-
@mixin filter($args) {
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
}
|
190
|
+
// @mixin filter($args) {
|
191
|
+
// -webkit-filter: $args;
|
192
|
+
// -moz-filter: $args;
|
193
|
+
// -o-filter: $args;
|
194
|
+
// -ms-filter: $args;
|
195
|
+
// }
|
196
196
|
|
197
197
|
// Flexbox
|
198
|
-
@mixin flexbox() {
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
}
|
205
|
-
@mixin flex($values) {
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
}
|
212
|
-
@mixin order($val) {
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
}
|
219
|
-
@mixin align($align) {
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
}
|
225
|
-
@mixin justify-content($val) {
|
226
|
-
|
227
|
-
|
228
|
-
}
|
198
|
+
// @mixin flexbox() {
|
199
|
+
// display: -webkit-box;
|
200
|
+
// display: -moz-box;
|
201
|
+
// display: -ms-flexbox;
|
202
|
+
// display: -webkit-flex;
|
203
|
+
// display: flex;
|
204
|
+
// }
|
205
|
+
// @mixin flex($values) {
|
206
|
+
// -webkit-box-flex: $values;
|
207
|
+
// -moz-box-flex: $values;
|
208
|
+
// -webkit-flex: $values;
|
209
|
+
// -ms-flex: $values;
|
210
|
+
// flex: $values;
|
211
|
+
// }
|
212
|
+
// @mixin order($val) {
|
213
|
+
// -webkit-box-ordinal-group: $val;
|
214
|
+
// -moz-box-ordinal-group: $val;
|
215
|
+
// -ms-flex-order: $val;
|
216
|
+
// -webkit-order: $val;
|
217
|
+
// order: $val;
|
218
|
+
// }
|
219
|
+
// @mixin align($align) {
|
220
|
+
// -webkit-flex-align: $align;
|
221
|
+
// -ms-flex-align: $align;
|
222
|
+
// -webkit-align-items: $align;
|
223
|
+
// align-items: $align;
|
224
|
+
// }
|
225
|
+
// @mixin justify-content($val) {
|
226
|
+
// -webkit-justify-content: $val;
|
227
|
+
// justify-content: $val;
|
228
|
+
// }
|
229
229
|
// Gradients
|
230
230
|
|
231
|
-
@mixin gradient($default: #F5F5F5, $start: #EEE, $stop: #FFF) {
|
232
|
-
|
233
|
-
}
|
234
|
-
@mixin linear-gradient-top($default,$color1,$stop1,$color2,$stop2) {
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
}
|
243
|
-
@mixin linear-gradient-top2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
}
|
252
|
-
@mixin linear-gradient-top3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
}
|
261
|
-
@mixin linear-gradient-left($default,$color1,$stop1,$color2,$stop2) {
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
}
|
270
|
-
@mixin linear-gradient-left2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
}
|
279
|
-
@mixin linear-gradient-left3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
}
|
231
|
+
// @mixin gradient($default: #F5F5F5, $start: #EEE, $stop: #FFF) {
|
232
|
+
// @include linear-gradient-top($default,$start,0%,$stop,100%);
|
233
|
+
// }
|
234
|
+
// @mixin linear-gradient-top($default,$color1,$stop1,$color2,$stop2) {
|
235
|
+
// background-color: $default;
|
236
|
+
// background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2));
|
237
|
+
// background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2);
|
238
|
+
// background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2);
|
239
|
+
// background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2);
|
240
|
+
// background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2);
|
241
|
+
// background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2);
|
242
|
+
// }
|
243
|
+
// @mixin linear-gradient-top2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
|
244
|
+
// background-color: $default;
|
245
|
+
// background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3));
|
246
|
+
// background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
247
|
+
// background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
248
|
+
// background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
249
|
+
// background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
250
|
+
// background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
251
|
+
// }
|
252
|
+
// @mixin linear-gradient-top3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
|
253
|
+
// background-color: $default;
|
254
|
+
// background-image: -webkit-gradient(linear, left top, left bottom, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3), color-stop($stop4 $color4));
|
255
|
+
// background-image: -webkit-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
256
|
+
// background-image: -moz-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
257
|
+
// background-image: -ms-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
258
|
+
// background-image: -o-linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
259
|
+
// background-image: linear-gradient(top, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
260
|
+
// }
|
261
|
+
// @mixin linear-gradient-left($default,$color1,$stop1,$color2,$stop2) {
|
262
|
+
// background-color: $default;
|
263
|
+
// background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2));
|
264
|
+
// background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2);
|
265
|
+
// background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2);
|
266
|
+
// background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2);
|
267
|
+
// background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2);
|
268
|
+
// background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2);
|
269
|
+
// }
|
270
|
+
// @mixin linear-gradient-left2($default,$color1,$stop1,$color2,$stop2,$color3,$stop3) {
|
271
|
+
// background-color: $default;
|
272
|
+
// background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3));
|
273
|
+
// background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
274
|
+
// background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
275
|
+
// background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
276
|
+
// background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
277
|
+
// background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3);
|
278
|
+
// }
|
279
|
+
// @mixin linear-gradient-left3($default,$color1,$stop1,$color2,$stop2,$color3,$stop3,$color4,$stop4) {
|
280
|
+
// background-color: $default;
|
281
|
+
// background-image: -webkit-gradient(linear, left top, left top, color-stop($stop1, $color1), color-stop($stop2 $color2), color-stop($stop3 $color3), color-stop($stop4 $color4));
|
282
|
+
// background-image: -webkit-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
283
|
+
// background-image: -moz-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
284
|
+
// background-image: -ms-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
285
|
+
// background-image: -o-linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
286
|
+
// background-image: linear-gradient(left, $color1 $stop1, $color2 $stop2, $color3 $stop3, $color4 $stop4);
|
287
|
+
// }
|
288
288
|
|
289
289
|
// Perspective
|
290
290
|
@mixin perspective($pixels) {
|
@@ -295,90 +295,90 @@
|
|
295
295
|
|
296
296
|
// Text Shadow
|
297
297
|
|
298
|
-
@mixin text-shadow($args) {
|
299
|
-
|
300
|
-
}
|
298
|
+
// @mixin text-shadow($args) {
|
299
|
+
// text-shadow: $args;
|
300
|
+
// }
|
301
301
|
|
302
302
|
|
303
303
|
// Transforms
|
304
304
|
|
305
|
-
@mixin transform($args) {
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
}
|
312
|
-
@mixin transform-origin($args) {
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
}
|
319
|
-
@mixin transform-style($style) {
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
}
|
326
|
-
@mixin rotate($deg:45deg){
|
327
|
-
|
328
|
-
}
|
329
|
-
@mixin scale($factor:.5){
|
330
|
-
|
331
|
-
}
|
332
|
-
@mixin translate($x,$y){
|
333
|
-
|
334
|
-
}
|
335
|
-
@mixin translate3d($x,$y,$z) {
|
336
|
-
|
337
|
-
}
|
338
|
-
@mixin translateHardware($x,$y) {
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
}
|
305
|
+
// @mixin transform($args) {
|
306
|
+
// -webkit-transform: $args;
|
307
|
+
// -moz-transform: $args;
|
308
|
+
// -ms-transform: $args;
|
309
|
+
// -o-transform: $args;
|
310
|
+
// transform: $args;
|
311
|
+
// }
|
312
|
+
// @mixin transform-origin($args) {
|
313
|
+
// -webkit-transform-origin: $args;
|
314
|
+
// -moz-transform-origin: $args;
|
315
|
+
// -ms-transform-origin: $args;
|
316
|
+
// -o-transform-origin: $args;
|
317
|
+
// transform-origin: $args;
|
318
|
+
// }
|
319
|
+
// @mixin transform-style($style) {
|
320
|
+
// -webkit-transform-style: $style;
|
321
|
+
// -moz-transform-style: $style;
|
322
|
+
// -ms-transform-style: $style;
|
323
|
+
// -o-transform-style: $style;
|
324
|
+
// transform-style: $style;
|
325
|
+
// }
|
326
|
+
// @mixin rotate($deg:45deg){
|
327
|
+
// @include transform(rotate($deg));
|
328
|
+
// }
|
329
|
+
// @mixin scale($factor:.5){
|
330
|
+
// @include transform(scale($factor));
|
331
|
+
// }
|
332
|
+
// @mixin translate($x,$y){
|
333
|
+
// @include transform(translate($x,$y));
|
334
|
+
// }
|
335
|
+
// @mixin translate3d($x,$y,$z) {
|
336
|
+
// @include transform(translate3d($x,$y,$z));
|
337
|
+
// }
|
338
|
+
// @mixin translateHardware($x,$y) {
|
339
|
+
// @include translate($x,$y);
|
340
|
+
// -webkit-transform: translate3d($x,$y,0);
|
341
|
+
// -moz-transform: translate3d($x,$y,0);
|
342
|
+
// -o-transform: translate3d($x,$y,0);
|
343
|
+
// -ms-transform: translate3d($x,$y,0);
|
344
|
+
// transform: translate3d($x,$y,0);
|
345
|
+
// }
|
346
346
|
|
347
347
|
|
348
348
|
// Transitions
|
349
349
|
|
350
|
-
@mixin transition($args:200ms) {
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
}
|
357
|
-
@mixin transition-delay($delay:0) {
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
}
|
364
|
-
@mixin transition-duration($duration:200ms) {
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
}
|
371
|
-
@mixin transition-property($property:all) {
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
}
|
378
|
-
@mixin transition-timing-function($function:ease) {
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
}
|
350
|
+
// @mixin transition($args:200ms) {
|
351
|
+
// -webkit-transition: $args;
|
352
|
+
// -moz-transition: $args;
|
353
|
+
// -o-transition: $args;
|
354
|
+
// -ms-transition: $args;
|
355
|
+
// transition: $args;
|
356
|
+
// }
|
357
|
+
// @mixin transition-delay($delay:0) {
|
358
|
+
// -webkit-transition-delay: $delay;
|
359
|
+
// -moz-transition-delay: $delay;
|
360
|
+
// -o-transition-delay: $delay;
|
361
|
+
// -ms-transition-delay: $delay;
|
362
|
+
// transition-delay: $delay;
|
363
|
+
// }
|
364
|
+
// @mixin transition-duration($duration:200ms) {
|
365
|
+
// -webkit-transition-duration: $duration;
|
366
|
+
// -moz-transition-duration: $duration;
|
367
|
+
// -o-transition-duration: $duration;
|
368
|
+
// -ms-transition-duration: $duration;
|
369
|
+
// transition-duration: $duration;
|
370
|
+
// }
|
371
|
+
// @mixin transition-property($property:all) {
|
372
|
+
// -webkit-transition-property: $property;
|
373
|
+
// -moz-transition-property: $property;
|
374
|
+
// -o-transition-property: $property;
|
375
|
+
// -ms-transition-property: $property;
|
376
|
+
// transition-property: $property;
|
377
|
+
// }
|
378
|
+
// @mixin transition-timing-function($function:ease) {
|
379
|
+
// -webkit-transition-timing-function: $function;
|
380
|
+
// -moz-transition-timing-function: $function;
|
381
|
+
// -o-transition-timing-function: $function;
|
382
|
+
// -ms-transition-timing-function: $function;
|
383
|
+
// transition-timing-function: $function;
|
384
|
+
// }
|