maxmertkit-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -0
- data/lib/maxmertkit-rails/version.rb +1 -1
- data/maxmertkit-rails.gemspec +2 -2
- data/vendor/assets/javascript/maxmertkit.affix.js +123 -14
- data/vendor/assets/javascript/maxmertkit.carousel.js +1 -329
- data/vendor/assets/javascript/maxmertkit.js +1 -1
- data/vendor/assets/javascript/maxmertkit.modal.js +3 -3
- data/vendor/assets/javascript/maxmertkit.popup.js +9 -11
- data/vendor/assets/javascript/maxmertkit.scrollspy.js +1 -0
- data/vendor/assets/stylesheet/_init.scss +2 -30
- data/vendor/assets/stylesheet/_mixins.scss +142 -0
- data/vendor/assets/stylesheet/animations/_keyframes.scss +510 -510
- data/vendor/assets/stylesheet/maxmertkit-animation.scss +3 -2
- data/vendor/assets/stylesheet/maxmertkit.scss +3 -1
- data/vendor/assets/stylesheet/modificators/_responsive.scss +82 -0
- data/vendor/assets/stylesheet/themes/_basic.scss +4 -4
- data/vendor/assets/stylesheet/widgets/_form.scss +37 -111
- data/vendor/assets/stylesheet/widgets/_group.scss +1 -0
- data/vendor/assets/stylesheet/widgets/_icon.scss +49 -24
- data/vendor/assets/stylesheet/widgets/_menu.scss +2 -0
- data/vendor/assets/stylesheet/widgets/_modal.scss +16 -115
- data/vendor/assets/stylesheet/widgets/_progressbar.scss +5 -0
- data/vendor/assets/stylesheet/widgets/_toolbar.scss +0 -17
- metadata +5 -4
@@ -50,11 +50,11 @@
|
|
50
50
|
|
51
51
|
.-mx-rotateIn {
|
52
52
|
opacity: 0;
|
53
|
-
@include transition( opacity .1s linear );
|
53
|
+
// @include transition( opacity .1s linear );
|
54
54
|
|
55
55
|
&.-mx-start {
|
56
56
|
@include animation( 1.5s rotateInKeyframes );
|
57
|
-
opacity
|
57
|
+
// @include opacity( 1!important );
|
58
58
|
}
|
59
59
|
}
|
60
60
|
|
@@ -90,6 +90,7 @@
|
|
90
90
|
&.-mx-start {
|
91
91
|
@include animation( 2s releaseInKeyframes );
|
92
92
|
@include transform( rotateX(0deg) rotateY(0deg) );
|
93
|
+
opacity: 1;
|
93
94
|
}
|
94
95
|
}
|
95
96
|
|
@@ -0,0 +1,82 @@
|
|
1
|
+
@media screen and (max-width: 1200px) {
|
2
|
+
.#{$mod__responsive} {
|
3
|
+
.-container {
|
4
|
+
width: 990px;
|
5
|
+
}
|
6
|
+
|
7
|
+
@include __set-object-row(990px);
|
8
|
+
@include __set-object-form-row(990px);
|
9
|
+
|
10
|
+
.#{$object__form} .#{$object__form__field__row}{
|
11
|
+
|
12
|
+
[class*='#{$object__column}'] {
|
13
|
+
float: left;
|
14
|
+
margin-left: $object__column__gutter-width;
|
15
|
+
}
|
16
|
+
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
@media screen and (max-width: 990px) {
|
22
|
+
.#{$mod__responsive} {
|
23
|
+
.-container {
|
24
|
+
width: 800px;
|
25
|
+
}
|
26
|
+
|
27
|
+
@include __set-object-row(800px);
|
28
|
+
@include __set-object-form-row(800px);
|
29
|
+
|
30
|
+
.#{$object__form} .#{$object__form__field__row}{
|
31
|
+
|
32
|
+
[class*='#{$object__column}'] {
|
33
|
+
float: left;
|
34
|
+
margin-left: $object__column__gutter-width;
|
35
|
+
}
|
36
|
+
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
@media screen and (max-width: 800px) {
|
42
|
+
.#{$mod__responsive} {
|
43
|
+
.-container {
|
44
|
+
width: 100%;
|
45
|
+
}
|
46
|
+
|
47
|
+
.#{$object__row},
|
48
|
+
[class^='#{$object__column}'],
|
49
|
+
.#{$object__form__field__row} {
|
50
|
+
margin-left: 2.5%!important;
|
51
|
+
width: 95%!important;
|
52
|
+
}
|
53
|
+
|
54
|
+
.#{$object__form} .#{$object__form__field__row} input,
|
55
|
+
.#{$object__form} .#{$object__form__field__row} select,
|
56
|
+
.#{$object__form} .#{$object__form__field__row} textarea {
|
57
|
+
&[class*='#{$object__column}'] {
|
58
|
+
float: none;
|
59
|
+
margin-left: 0!important;
|
60
|
+
width: 100%!important;
|
61
|
+
margin-bottom: 7px;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
.#{$object__form} .#{$object__form__field__row} {
|
66
|
+
[class*='#{$object__column}'] {
|
67
|
+
float: none;
|
68
|
+
margin-left: 0!important;
|
69
|
+
margin-bottom: 7px;
|
70
|
+
overflow: hidden;
|
71
|
+
width: 101.5%;
|
72
|
+
|
73
|
+
input,
|
74
|
+
textarea,
|
75
|
+
select {
|
76
|
+
width: 100%!important;
|
77
|
+
padding: 5px 8px 6px!important;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
@@ -84,6 +84,7 @@ $object__row-fluid__column__gutter-width: $object__column__gutter-width / $objec
|
|
84
84
|
|
85
85
|
// ------------ Form
|
86
86
|
$object__form: -form;
|
87
|
+
$object__form__input-list: 'input' 'textarea' 'select';
|
87
88
|
$object__form__row: #{$object__form}-row;
|
88
89
|
$object__form__group: #{$object__form}-group;
|
89
90
|
$object__form__field: #{$object__form}-field;
|
@@ -116,9 +117,6 @@ $object__group__appendix-border-width: 1px;
|
|
116
117
|
|
117
118
|
// ------------ Icon
|
118
119
|
$object__icon: -icon;
|
119
|
-
|
120
|
-
// ------------ Example if icon is sprite
|
121
|
-
|
122
120
|
// $object__icon-width: 14px;
|
123
121
|
// $object__icon-height: 14px;
|
124
122
|
|
@@ -144,7 +142,7 @@ $object__icon__content: "\f000" "\f001" "\f002" "\f003" "\f004" "\f005" "\f006"
|
|
144
142
|
|
145
143
|
$object__icon__social: #{$object__icon}-social;
|
146
144
|
$object__icon__social-names: facebook googleplus twitter linkedin dropbox evernote forrst dribbble cloudapp github spotify readitlater soundcloud tumblr smashingmagazine itunes appstore macappstore androidmarket pinterest quora lanyrd paypal amazon skype lastfm yelp forsquare klout wikipedia disqus intensedebate google gmail vimeo scribd youtube wordpress songkick posterous eventbrite flattr plancast ceo iefive meetup openid htmlsix parents guest creativecommonlicence rss chrome eventasaurus weibo plurk grooveshark blogger viadeo podcast fivehundredpx bitcoin ninetyninedesigns pinboard stumble myspace windowslive eventful xing flickr delicious googleplay opentable digg reddit angellist instagram steam vkontakte appnet drupal identica saveforlater adobeacrobat bitbucket buffer lego login hackernews stackoverflow lkdto callphone sendmessage addtocalendar addtocart print stripe dwolla;
|
147
|
-
$object__icon__social-content: 'f' '+' 'T' 'L' 'd' 'E' ':' 'D' 'c' "è" '=' 'I' 's' 't' '*' 'i' 'A' '^' '&' '1' 'q' '-' '$' 'a' 'S' 'l' 'y' '4' 'K' ',' 'Q' '{' 'G' 'm' 'V' '}' 'U' 'w' 'k' '~' '|' '%' 'P' 'Y' '6' 'M' 'o' '5' '"' '?' 'C' 'R' '[' 'v' 'J' 'j' '8' 'B' 'H' '`' '0' '2' '9' 'n' '/' '_' 'W' "'" 'X' 'F' '#' 'h' 'Ç' ';' '>' 'Ö' 'Ü' 'b' 'N' 'á' 'ä' 'â' 'ç' 'ã' 'é' 'å' 'ê' 'ë' 'í' 'ì' 'î' '7' ']' '.' 'É' 'Ñ' '£' 'à';
|
145
|
+
$object__icon__social-content: 'f' '+' 'T' 'L' 'd' 'E' ':' 'D' 'c' "è" '=' 'I' 's' 't' '*' 'i' 'A' '^' '&' '1' 'q' '-' '$' 'a' 'S' 'l' 'y' '4' 'K' ',' 'Q' '{' 'G' 'm' 'V' '}' 'U' 'w' 'k' '~' '|' '%' 'P' 'Y' '6' 'M' 'o' '5' '"' '?' 'C' 'R' '[' 'v' 'J' 'j' '8' 'B' 'H' '`' '0' '2' '9' 'n' '/' '_' 'W' "'" 'X' 'F' '#' 'h' 'Ç' ';' '>' 'Ö' 'Ü' 'b' 'N' 'á' 'ä' 'â' 'ç' 'ã' 'é' 'å' 'ê' 'ë' 'í' 'ì' 'î' '7' ']' '.' 'É' 'Ñ' '£' 'à';
|
148
146
|
|
149
147
|
// ------------ Caret
|
150
148
|
$object__caret: -caret;
|
@@ -318,6 +316,8 @@ $mod__hovered: _hovered_;
|
|
318
316
|
$mod__bordered: _bordered_;
|
319
317
|
$mod__unclickable: _unclickable_;
|
320
318
|
|
319
|
+
$mod__responsive: _responsive_;
|
320
|
+
|
321
321
|
$mod__side-top: _top_;
|
322
322
|
$mod__side-bottom: _bottom_;
|
323
323
|
$mod__side-left: _left_;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
// $
|
2
|
-
$_input-list: 'input' 'textarea' 'select';
|
1
|
+
// $object__form__input-list: 'input[type="text"]' 'input[type="password"]' 'input[type="datetime"]' 'input[type="datetime-local"]' 'input[type="date"]' 'input[type="month"]' 'input[type="time"]' 'input[type="week"]' 'input[type="number"]' 'input[type="email"]' 'input[type="url"]' 'input[type="search"]' 'input[type="tel"]' 'input[type="color"]' 'textarea' 'select';
|
3
2
|
|
4
3
|
.#{$object__form} {
|
5
4
|
.#{$object__form__field} {
|
@@ -23,10 +22,14 @@ $_input-list: 'input' 'textarea' 'select';
|
|
23
22
|
}
|
24
23
|
|
25
24
|
.#{$object__form__field__help} {
|
26
|
-
display: block;
|
25
|
+
display: inline-block;
|
27
26
|
font-size: 85%;
|
28
27
|
color: $object__form__field__help-color;
|
29
28
|
margin-top: 2px;
|
29
|
+
&:before {
|
30
|
+
content: " ";
|
31
|
+
display: block;
|
32
|
+
}
|
30
33
|
}
|
31
34
|
|
32
35
|
input[type="text"],
|
@@ -59,12 +62,35 @@ $_input-list: 'input' 'textarea' 'select';
|
|
59
62
|
}
|
60
63
|
}
|
61
64
|
|
65
|
+
select {
|
66
|
+
& + .#{$object__caret} {
|
67
|
+
display: none;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
72
|
+
select {
|
73
|
+
@include border-radius( 0 );
|
74
|
+
-webkit-appearance: textfield;
|
75
|
+
& + .#{$object__caret} {
|
76
|
+
display: inline-block;
|
77
|
+
position: absolute;
|
78
|
+
top: 50%;
|
79
|
+
right: 10px;
|
80
|
+
margin-top: -2px;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
62
85
|
label {
|
63
86
|
display: inline-block;
|
64
87
|
position: relative;
|
65
88
|
top:2px;
|
66
89
|
}
|
67
90
|
|
91
|
+
.#{$object__form__group} {
|
92
|
+
display: inline-block;
|
93
|
+
}
|
68
94
|
// .#{$object__form__group} {
|
69
95
|
// & > label {
|
70
96
|
// display: block;
|
@@ -135,7 +161,7 @@ $_input-list: 'input' 'textarea' 'select';
|
|
135
161
|
$__inheritance: object;
|
136
162
|
$__before-object: '';
|
137
163
|
$__object: '.#{$object__form__field}';
|
138
|
-
$__after-object: $
|
164
|
+
$__after-object: $object__form__input-list;
|
139
165
|
@include set_modificator($mod__size, font-size, input-padding);
|
140
166
|
}
|
141
167
|
|
@@ -143,7 +169,7 @@ $_input-list: 'input' 'textarea' 'select';
|
|
143
169
|
.#{$object__form} {
|
144
170
|
$__inheritance: object;
|
145
171
|
$__before-object: '';
|
146
|
-
$__object: append-list( $
|
172
|
+
$__object: append-list( $object__form__input-list, '', ':hover' );
|
147
173
|
$__after-object: '';
|
148
174
|
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), border-color-darken);
|
149
175
|
}
|
@@ -152,7 +178,7 @@ $_input-list: 'input' 'textarea' 'select';
|
|
152
178
|
.#{$object__form} {
|
153
179
|
$__inheritance: object;
|
154
180
|
$__before-object: '';
|
155
|
-
$__object: append-list( $
|
181
|
+
$__object: append-list( $object__form__input-list, '', ':focus' );
|
156
182
|
$__after-object: '';
|
157
183
|
@include set_modificator($mod__status, outline);
|
158
184
|
}
|
@@ -162,7 +188,7 @@ $_input-list: 'input' 'textarea' 'select';
|
|
162
188
|
$__inheritance: object;
|
163
189
|
$__before-object: '';
|
164
190
|
$__object: '.#{$object__form__field}';
|
165
|
-
$__after-object: append-list( $
|
191
|
+
$__after-object: append-list( $object__form__input-list, ' > ', '' );
|
166
192
|
@include set_modificator($mod__status, border-color);
|
167
193
|
}
|
168
194
|
|
@@ -171,7 +197,7 @@ $_input-list: 'input' 'textarea' 'select';
|
|
171
197
|
$__inheritance: object;
|
172
198
|
$__before-object: '';
|
173
199
|
$__object: '.#{$object__form__field}:hover';
|
174
|
-
$__after-object: append-list( $
|
200
|
+
$__after-object: append-list( $object__form__input-list, ' > ', '' );
|
175
201
|
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), border-color-darken);
|
176
202
|
}
|
177
203
|
|
@@ -180,7 +206,7 @@ $_input-list: 'input' 'textarea' 'select';
|
|
180
206
|
$__inheritance: object;
|
181
207
|
$__before-object: '';
|
182
208
|
$__object: '.#{$object__form__field}';
|
183
|
-
$__after-object: append-list( $
|
209
|
+
$__after-object: append-list( $object__form__input-list, ' > ', ':focus' );
|
184
210
|
@include set_modificator($mod__status, outline);
|
185
211
|
}
|
186
212
|
|
@@ -190,7 +216,7 @@ $_input-list: 'input' 'textarea' 'select';
|
|
190
216
|
$__inheritance: object;
|
191
217
|
$__before-object: '';
|
192
218
|
$__object: '.#{$object__form__field}';
|
193
|
-
$__after-object: append-list( $
|
219
|
+
$__after-object: append-list( $object__form__input-list, ' > ', '' );
|
194
220
|
@include set_modificator($mod__status__disabled, background-color, color);
|
195
221
|
}
|
196
222
|
|
@@ -199,107 +225,7 @@ $_input-list: 'input' 'textarea' 'select';
|
|
199
225
|
|
200
226
|
|
201
227
|
|
202
|
-
|
203
|
-
[class*='#{$object__column}'] {
|
204
|
-
float: none;
|
205
|
-
margin-left: 0;
|
206
|
-
}
|
207
|
-
|
208
|
-
@for $i from 1 through $object__column-quantity {
|
209
|
-
$_inputs: append-list( $_input-list, '', '.#{$object__column}#{$i}', comma );
|
210
|
-
// $_inputs: exclude-items($_inputs, selec);
|
211
|
-
#{$_inputs},
|
212
|
-
textarea.#{$object__column}#{$i} {
|
213
|
-
@each $size in $mod__size {
|
214
|
-
$num: index( $mod__size, $size );
|
215
|
-
$_horizontal: 4px;
|
216
|
-
|
217
|
-
@if (4px + nth($mod__size-delta, $num)) > 0 {
|
218
|
-
$_horizontal: 4px + nth($mod__size-delta, $num);
|
219
|
-
}
|
220
|
-
|
221
|
-
@if $size != default
|
222
|
-
{
|
223
|
-
&._#{$size} {
|
224
|
-
width: __get-column-width($i) - $object__form__input-border-width * 2 - $_horizontal * 2;
|
225
|
-
}
|
226
|
-
}
|
227
|
-
@else {
|
228
|
-
width: __get-column-width($i) - $object__form__input-border-width * 2 - $_horizontal * 2;
|
229
|
-
}
|
230
|
-
|
231
|
-
}
|
232
|
-
}
|
233
|
-
|
234
|
-
.#{$object__form__field}.#{$object__column}#{$i} {
|
235
|
-
width: __get-column-width($i) - $object__form__field-border-width * 2;
|
236
|
-
|
237
|
-
@each $size in $mod__size {
|
238
|
-
$num: index( $mod__size, $size );
|
239
|
-
$_horizontal: 4px;
|
240
|
-
|
241
|
-
@if (4px + nth($mod__size-delta, $num)) > 0 {
|
242
|
-
$_horizontal: 4px + nth($mod__size-delta, $num);
|
243
|
-
}
|
244
|
-
|
245
|
-
@if $size != default
|
246
|
-
{
|
247
|
-
&._#{$size} {
|
248
|
-
input, textarea, select {
|
249
|
-
width: __get-column-width($i) - $object__form__input-border-width * 2 - $_horizontal * 2 - $object__form__field-border-width * 2
|
250
|
-
}
|
251
|
-
|
252
|
-
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
253
|
-
select {
|
254
|
-
width: __get-column-width($i) - $object__form__input-border-width * 2 - $object__form__field-border-width * 2
|
255
|
-
}
|
256
|
-
}
|
257
|
-
}
|
258
|
-
}
|
259
|
-
@else {
|
260
|
-
input, textarea, select {
|
261
|
-
width: __get-column-width($i) - $object__form__input-border-width * 2 - $_horizontal * 2 - $object__form__field-border-width * 2
|
262
|
-
}
|
263
|
-
|
264
|
-
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
265
|
-
select {
|
266
|
-
width: __get-column-width($i) - $object__form__input-border-width * 2 - $object__form__field-border-width * 2
|
267
|
-
}
|
268
|
-
}
|
269
|
-
}
|
270
|
-
|
271
|
-
}
|
272
|
-
|
273
|
-
}
|
274
|
-
|
275
|
-
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
276
|
-
select.#{$object__column}#{$i} {
|
277
|
-
width: __get-column-width($i) - $object__form__input-border-width * 2 ;
|
278
|
-
|
279
|
-
@each $size in $mod__size {
|
280
|
-
$num: index( $mod__size, $size );
|
281
|
-
$_horizontal: 4px;
|
282
|
-
|
283
|
-
@if (4px + nth($mod__size-delta, $num)) > 0 {
|
284
|
-
$_horizontal: 4px + nth($mod__size-delta, $num);
|
285
|
-
}
|
286
|
-
|
287
|
-
@if $size != default
|
288
|
-
{
|
289
|
-
&._#{$size} {
|
290
|
-
width: __get-column-width($i) - $object__form__input-border-width * 2;
|
291
|
-
}
|
292
|
-
}
|
293
|
-
|
294
|
-
}
|
295
|
-
}
|
296
|
-
}
|
297
|
-
|
298
|
-
// & > .#{$object__column-offset}#{$i} {
|
299
|
-
// margin-left: __get-column-offset-width($i);
|
300
|
-
// }
|
301
|
-
}
|
302
|
-
}
|
228
|
+
@include __set-object-form-row();
|
303
229
|
|
304
230
|
|
305
231
|
.#{$object__form} .#{$object__form__field__row}{
|
@@ -1,10 +1,8 @@
|
|
1
1
|
[class*="#{$object__icon}"],
|
2
2
|
[class^="#{$object__icon}"],
|
3
3
|
.#{$object__icon} {
|
4
|
-
display: inline-block;
|
5
|
-
vertical-align: middle;
|
6
4
|
line-height: 0;
|
7
|
-
|
5
|
+
-webkit-font-smoothing: antialiased;
|
8
6
|
}
|
9
7
|
|
10
8
|
.#{$object__icon} {
|
@@ -21,24 +19,15 @@
|
|
21
19
|
}
|
22
20
|
}
|
23
21
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
22
|
@font-face {
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
23
|
+
font-family: 'FontAwesome';
|
24
|
+
src: url('fontawesome/fontawesome-webfont.eot');
|
25
|
+
src: url('fontawesome/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
|
26
|
+
url('fontawesome/fontawesome-webfont.woff') format('woff'),
|
27
|
+
url('fontawesome/fontawesome-webfont.ttf') format('truetype'),
|
28
|
+
url('fontawesome/fontawesome-webfont.svg#zocialregular') format('svg');
|
29
|
+
font-weight: normal;
|
30
|
+
font-style: normal;
|
42
31
|
}
|
43
32
|
|
44
33
|
[class*="#{$object__icon}"],
|
@@ -74,10 +63,8 @@
|
|
74
63
|
[class*="#{$object__icon__social}"],
|
75
64
|
[class^="#{$object__icon__social}"],
|
76
65
|
.#{$object__icon__social} {
|
77
|
-
width: auto;
|
78
|
-
height: auto;
|
79
66
|
background-image: none;
|
80
|
-
|
67
|
+
|
81
68
|
&:before {
|
82
69
|
font-family: 'Zocial'!important;
|
83
70
|
font-style: normal;
|
@@ -89,4 +76,42 @@
|
|
89
76
|
.#{$object__icon__social}-#{$icon}:before {
|
90
77
|
content: nth($object__icon__social-content, index($object__icon__social-names, $icon));
|
91
78
|
}
|
92
|
-
}
|
79
|
+
}
|
80
|
+
|
81
|
+
|
82
|
+
// ******************************************************************************************************************* //
|
83
|
+
// *************************************************** FOR SPRITES *************************************************** //
|
84
|
+
// ******************************************************************************************************************* //
|
85
|
+
|
86
|
+
// [class*="#{$object__icon}"],
|
87
|
+
// [class^="#{$object__icon}"],
|
88
|
+
// .#{$object__icon} {
|
89
|
+
// display: inline-block;
|
90
|
+
// width: $object__icon-width;
|
91
|
+
// height: $object__icon-height;
|
92
|
+
// vertical-align: middle;
|
93
|
+
// margin-top: -2px;
|
94
|
+
// background-repeat: no-repeat;
|
95
|
+
// background-position: $object__icon-width $object__icon-height;
|
96
|
+
|
97
|
+
// @each $color in $object__icon-colors {
|
98
|
+
// $i: index($object__icon-colors, $color);
|
99
|
+
|
100
|
+
// @if $color == default {
|
101
|
+
// background-image: url(nth($object__icon-colors-paths, $i));
|
102
|
+
// }
|
103
|
+
// @else {
|
104
|
+
// &.#{$object__icon}-#{$color}- {
|
105
|
+
// background-image: url(nth($object__icon-colors-paths, $i));
|
106
|
+
// }
|
107
|
+
// }
|
108
|
+
// }
|
109
|
+
// }
|
110
|
+
|
111
|
+
// @for $i from 1 through $object__icon-rows {
|
112
|
+
// @for $j from 1 through $object__icon-cols {
|
113
|
+
// .#{$object__icon}-#{nth($object__icon-list, ( ($i - 1) * $object__icon-cols + $j ) )} {
|
114
|
+
// background-position: ($j - 1) * -$object__icon-cols-delta ($i - 1) * -$object__icon-rows-delta;
|
115
|
+
// }
|
116
|
+
// }
|
117
|
+
// }
|