maxmertkit-rails 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +17 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +65 -0
- data/Rakefile +1 -0
- data/lib/maxmertkit-rails/engine.rb +9 -0
- data/lib/maxmertkit-rails/version.rb +5 -0
- data/lib/maxmertkit-rails.rb +8 -0
- data/maxmertkit-rails.gemspec +19 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +255 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/zocial/zocial-regular-webfont.eot +0 -0
- data/vendor/assets/fonts/zocial/zocial-regular-webfont.svg +151 -0
- data/vendor/assets/fonts/zocial/zocial-regular-webfont.ttf +0 -0
- data/vendor/assets/fonts/zocial/zocial-regular-webfont.woff +0 -0
- data/vendor/assets/javascript/libs/easing.js +205 -0
- data/vendor/assets/javascript/libs/html5shiv.js +298 -0
- data/vendor/assets/javascript/libs/imagesLoaded.js +3 -0
- data/vendor/assets/javascript/libs/modernizr.js +4 -0
- data/vendor/assets/javascript/maxmertkit.affix.js +85 -0
- data/vendor/assets/javascript/maxmertkit.button.js +182 -0
- data/vendor/assets/javascript/maxmertkit.carousel.js +688 -0
- data/vendor/assets/javascript/maxmertkit.js +112 -0
- data/vendor/assets/javascript/maxmertkit.modal.js +301 -0
- data/vendor/assets/javascript/maxmertkit.notify.js +186 -0
- data/vendor/assets/javascript/maxmertkit.popup.js +396 -0
- data/vendor/assets/javascript/maxmertkit.scrollspy.js +107 -0
- data/vendor/assets/javascript/maxmertkit.tabs.js +228 -0
- data/vendor/assets/stylesheet/_init.scss +240 -0
- data/vendor/assets/stylesheet/_mixins.scss +218 -0
- data/vendor/assets/stylesheet/animations/_keyframes.scss +2914 -0
- data/vendor/assets/stylesheet/classes/_object.scss +14 -0
- data/vendor/assets/stylesheet/maxmertkit-animation.scss +146 -0
- data/vendor/assets/stylesheet/maxmertkit-components.scss +25 -0
- data/vendor/assets/stylesheet/maxmertkit.scss +14 -0
- data/vendor/assets/stylesheet/modificators/__methods.scss +116 -0
- data/vendor/assets/stylesheet/modificators/_size.scss +208 -0
- data/vendor/assets/stylesheet/modificators/_status.scss +195 -0
- data/vendor/assets/stylesheet/themes/_basic.scss +330 -0
- data/vendor/assets/stylesheet/widgets/_arrow.scss +74 -0
- data/vendor/assets/stylesheet/widgets/_badge.scss +15 -0
- data/vendor/assets/stylesheet/widgets/_button.scss +131 -0
- data/vendor/assets/stylesheet/widgets/_caret.scss +34 -0
- data/vendor/assets/stylesheet/widgets/_carousel.scss +146 -0
- data/vendor/assets/stylesheet/widgets/_dropdown.scss +116 -0
- data/vendor/assets/stylesheet/widgets/_form.scss +327 -0
- data/vendor/assets/stylesheet/widgets/_group.scss +245 -0
- data/vendor/assets/stylesheet/widgets/_icon.scss +92 -0
- data/vendor/assets/stylesheet/widgets/_label.scss +4 -0
- data/vendor/assets/stylesheet/widgets/_menu.scss +283 -0
- data/vendor/assets/stylesheet/widgets/_modal.scss +172 -0
- data/vendor/assets/stylesheet/widgets/_notify.scss +190 -0
- data/vendor/assets/stylesheet/widgets/_progressbar.scss +70 -0
- data/vendor/assets/stylesheet/widgets/_table.scss +270 -0
- data/vendor/assets/stylesheet/widgets/_tabs.scss +211 -0
- data/vendor/assets/stylesheet/widgets/_toolbar.scss +118 -0
- data/vendor/assets/stylesheet/widgets/_tooltip.scss +19 -0
- metadata +104 -0
@@ -0,0 +1,327 @@
|
|
1
|
+
// $_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';
|
2
|
+
$_input-list: 'input' 'textarea' 'select';
|
3
|
+
|
4
|
+
.#{$object__form} {
|
5
|
+
.#{$object__form__field} {
|
6
|
+
@extend %__object;
|
7
|
+
|
8
|
+
position: relative;
|
9
|
+
border-width: $object__form__field-border-width;
|
10
|
+
border-style: solid;
|
11
|
+
line-height: 0;
|
12
|
+
@include border-radius( 3px );
|
13
|
+
|
14
|
+
@include set_modificator($mod__status, border-color-lighten);
|
15
|
+
|
16
|
+
.#{$object__form__field__placeholder} {
|
17
|
+
@extend %__object;
|
18
|
+
position: absolute;
|
19
|
+
top: $object__form__input-border-width;
|
20
|
+
left: $object__form__input-border-width;
|
21
|
+
opacity: .4;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.#{$object__form__field__help} {
|
26
|
+
display: block;
|
27
|
+
font-size: 85%;
|
28
|
+
color: $object__form__field__help-color;
|
29
|
+
margin-top: 2px;
|
30
|
+
}
|
31
|
+
|
32
|
+
input[type="text"],
|
33
|
+
input[type="password"],
|
34
|
+
input[type="datetime"],
|
35
|
+
input[type="datetime-local"],
|
36
|
+
input[type="date"],
|
37
|
+
input[type="month"],
|
38
|
+
input[type="time"],
|
39
|
+
input[type="week"],
|
40
|
+
input[type="number"],
|
41
|
+
input[type="email"],
|
42
|
+
input[type="url"],
|
43
|
+
input[type="search"],
|
44
|
+
input[type="tel"],
|
45
|
+
input[type="color"],
|
46
|
+
textarea,
|
47
|
+
select {
|
48
|
+
@extend %__object;
|
49
|
+
|
50
|
+
border-width: $object__form__input-border-width;
|
51
|
+
border-style: solid;
|
52
|
+
margin: 0;
|
53
|
+
|
54
|
+
@include set_modificator($mod__status, border-color);
|
55
|
+
@include set_modificator($mod__size, input-line-height, font-size, input-padding);
|
56
|
+
|
57
|
+
&[disabled="disabled"], &.-#{$mod__status__disabled}- {
|
58
|
+
@include set_modificator($mod__status__disabled, background-color, color);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
label {
|
63
|
+
display: inline-block;
|
64
|
+
position: relative;
|
65
|
+
top:2px;
|
66
|
+
}
|
67
|
+
|
68
|
+
// .#{$object__form__group} {
|
69
|
+
// & > label {
|
70
|
+
// display: block;
|
71
|
+
// }
|
72
|
+
// }
|
73
|
+
|
74
|
+
&.#{$mod__vertical} {
|
75
|
+
& > label {
|
76
|
+
display: block;
|
77
|
+
top: 0;
|
78
|
+
margin-bottom: 4px;
|
79
|
+
}
|
80
|
+
|
81
|
+
& > input + label,
|
82
|
+
& > .#{$object__form__field} + label,
|
83
|
+
& > .#{$object__form__field__help} + label,
|
84
|
+
& > .#{$object__form__group} + label {
|
85
|
+
margin-top: 10px;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
&.#{$mod__horizontal} {
|
90
|
+
.#{$object__form__row} {
|
91
|
+
position: relative;
|
92
|
+
|
93
|
+
& > label {
|
94
|
+
width: 160px;
|
95
|
+
text-align: right;
|
96
|
+
position: absolute;
|
97
|
+
top: 8px;
|
98
|
+
}
|
99
|
+
|
100
|
+
& > .#{$object__form__field},
|
101
|
+
& > .#{$object__form__group},
|
102
|
+
& > .#{$object__form__field__help} {
|
103
|
+
position: relative;
|
104
|
+
left: 180px;
|
105
|
+
}
|
106
|
+
|
107
|
+
& + .#{$object__form__row} {
|
108
|
+
margin-top: 10px;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
}
|
114
|
+
|
115
|
+
// Create .-form-field.-modificatorSize-
|
116
|
+
// .#{$object__form} {
|
117
|
+
// $__inheritance: object;
|
118
|
+
// $__before-object: '';
|
119
|
+
// $__object: '.#{$object__form__field}';
|
120
|
+
// $__after-object: '';
|
121
|
+
// @include set_modificator($mod__size, line-height);
|
122
|
+
// }
|
123
|
+
|
124
|
+
// Create .-form-field.-modificatorSize- .placeholder
|
125
|
+
.#{$object__form} {
|
126
|
+
$__inheritance: object;
|
127
|
+
$__before-object: '';
|
128
|
+
$__object: '.#{$object__form__field}';
|
129
|
+
$__after-object: ' > .#{$object__form__field__placeholder}';
|
130
|
+
@include set_modificator($mod__size, line-height, input-padding, font-size);
|
131
|
+
}
|
132
|
+
|
133
|
+
// Create .-form-field.-modificatorSize- input
|
134
|
+
.#{$object__form} {
|
135
|
+
$__inheritance: object;
|
136
|
+
$__before-object: '';
|
137
|
+
$__object: '.#{$object__form__field}';
|
138
|
+
$__after-object: $_input-list;
|
139
|
+
@include set_modificator($mod__size, font-size, input-padding);
|
140
|
+
}
|
141
|
+
|
142
|
+
// Create .-form-field input.-modificator-:hover
|
143
|
+
.#{$object__form} {
|
144
|
+
$__inheritance: object;
|
145
|
+
$__before-object: '';
|
146
|
+
$__object: append-list( $_input-list, '', ':hover' );
|
147
|
+
$__after-object: '';
|
148
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), border-color-darken);
|
149
|
+
}
|
150
|
+
|
151
|
+
// Create .-form-field input.-modificator-:focus
|
152
|
+
.#{$object__form} {
|
153
|
+
$__inheritance: object;
|
154
|
+
$__before-object: '';
|
155
|
+
$__object: append-list( $_input-list, '', ':focus' );
|
156
|
+
$__after-object: '';
|
157
|
+
@include set_modificator($mod__status, outline);
|
158
|
+
}
|
159
|
+
|
160
|
+
// Create .-form-field.-modificator- input
|
161
|
+
.#{$object__form} {
|
162
|
+
$__inheritance: object;
|
163
|
+
$__before-object: '';
|
164
|
+
$__object: '.#{$object__form__field}';
|
165
|
+
$__after-object: append-list( $_input-list, ' > ', '' );
|
166
|
+
@include set_modificator($mod__status, border-color);
|
167
|
+
}
|
168
|
+
|
169
|
+
// Create .-form-field:hover.-modificator- input
|
170
|
+
.#{$object__form} {
|
171
|
+
$__inheritance: object;
|
172
|
+
$__before-object: '';
|
173
|
+
$__object: '.#{$object__form__field}:hover';
|
174
|
+
$__after-object: append-list( $_input-list, ' > ', '' );
|
175
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), border-color-darken);
|
176
|
+
}
|
177
|
+
|
178
|
+
// Create .-form-field.-modificator- input:focus;
|
179
|
+
.#{$object__form} {
|
180
|
+
$__inheritance: object;
|
181
|
+
$__before-object: '';
|
182
|
+
$__object: '.#{$object__form__field}';
|
183
|
+
$__after-object: append-list( $_input-list, ' > ', ':focus' );
|
184
|
+
@include set_modificator($mod__status, outline);
|
185
|
+
}
|
186
|
+
|
187
|
+
|
188
|
+
// Create .-form-field.-DISABLED-;
|
189
|
+
.#{$object__form} {
|
190
|
+
$__inheritance: object;
|
191
|
+
$__before-object: '';
|
192
|
+
$__object: '.#{$object__form__field}';
|
193
|
+
$__after-object: append-list( $_input-list, ' > ', '' );
|
194
|
+
@include set_modificator($mod__status__disabled, background-color, color);
|
195
|
+
}
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
.#{$object__form} {
|
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
|
+
}
|
303
|
+
|
304
|
+
|
305
|
+
.#{$object__form} .#{$object__form__field__row}{
|
306
|
+
|
307
|
+
margin-left: -$object__column__gutter-width;
|
308
|
+
// width: $object__row-width;
|
309
|
+
@include clearfix;
|
310
|
+
|
311
|
+
[class*='#{$object__column}'] {
|
312
|
+
float: left;
|
313
|
+
margin-left: $object__column__gutter-width;
|
314
|
+
}
|
315
|
+
|
316
|
+
|
317
|
+
}
|
318
|
+
|
319
|
+
.#{$object__form} {
|
320
|
+
input[type='checkbox'],
|
321
|
+
input[type='checkbox']:active,
|
322
|
+
input[type='checkbox']:hover,
|
323
|
+
input[type='checkbox']:focus {
|
324
|
+
border:inherit;
|
325
|
+
background: inherit;
|
326
|
+
}
|
327
|
+
}
|
@@ -0,0 +1,245 @@
|
|
1
|
+
$object__group-important: '-group-important';
|
2
|
+
|
3
|
+
@include init_modificator-size($object__group);
|
4
|
+
@include init_modificator-status($object__group);
|
5
|
+
@include init_modificator-status($object__group-important);
|
6
|
+
|
7
|
+
$__inheritance: object;
|
8
|
+
$__before-object: '';
|
9
|
+
$__object: this;
|
10
|
+
$__after-object: '';
|
11
|
+
|
12
|
+
.#{$object__group} {
|
13
|
+
display: inline-block;
|
14
|
+
font-size: 0;
|
15
|
+
|
16
|
+
.#{$object__group__appendix} {
|
17
|
+
@extend %__object;
|
18
|
+
|
19
|
+
border-width: $object__group__appendix-border-width;
|
20
|
+
border-style: solid;
|
21
|
+
|
22
|
+
@include set_modificator($mod__size, padding-object, font-size, line-height);
|
23
|
+
@include set_modificator($mod__status, color-invert, border-color, background-color-lightener, text-shadow);
|
24
|
+
}
|
25
|
+
|
26
|
+
& > * {
|
27
|
+
@include border-radius( 0px );
|
28
|
+
}
|
29
|
+
|
30
|
+
& > button,
|
31
|
+
& > .#{$object__button},
|
32
|
+
& > input[type="button"],
|
33
|
+
& > .#{$object__group__appendix},
|
34
|
+
& > input {
|
35
|
+
|
36
|
+
& + button,
|
37
|
+
& + .#{$object__button},
|
38
|
+
& + input[type="button"],
|
39
|
+
& + .#{$object__group__appendix},
|
40
|
+
& + input {
|
41
|
+
margin-left: -$object__button-border-width;
|
42
|
+
}
|
43
|
+
|
44
|
+
& + input {
|
45
|
+
margin-left: -$object__form__input-border-width;
|
46
|
+
}
|
47
|
+
|
48
|
+
&:first-child {
|
49
|
+
@include border-radius( $object__button-border-radius 0 0 $object__button-border-radius );
|
50
|
+
}
|
51
|
+
|
52
|
+
&:last-child {
|
53
|
+
@include border-radius( 0 $object__button-border-radius $object__button-border-radius 0 );
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
&.-#{$mod__status__disabled}- > * {
|
58
|
+
@include box-shadow( none!important );
|
59
|
+
cursor: default;
|
60
|
+
}
|
61
|
+
|
62
|
+
&.#{$mod__vertical} {
|
63
|
+
button,
|
64
|
+
.#{$object__button},
|
65
|
+
input[type="button"],
|
66
|
+
.#{$object__group__appendix},
|
67
|
+
input {
|
68
|
+
display: block;
|
69
|
+
margin-left:0;
|
70
|
+
|
71
|
+
&:first-child {
|
72
|
+
@include border-radius( $object__button-border-radius $object__button-border-radius 0 0 );
|
73
|
+
}
|
74
|
+
|
75
|
+
&:last-child {
|
76
|
+
@include border-radius( 0 0 $object__button-border-radius $object__button-border-radius );
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
.#{$mod__active},
|
82
|
+
:active {
|
83
|
+
position: relative;
|
84
|
+
z-index: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
:not(:active),
|
88
|
+
:not(.#{$mod__active}),
|
89
|
+
:not(.-#{$mod__status__disabled}-) {
|
90
|
+
position: relative;
|
91
|
+
z-index: 1;
|
92
|
+
}
|
93
|
+
|
94
|
+
.-#{$mod__status__disabled}- {
|
95
|
+
z-index: -1;
|
96
|
+
}
|
97
|
+
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
$__inheritance: object;
|
102
|
+
$__before-object: '';
|
103
|
+
$__object: '.#{$object__group}';
|
104
|
+
$__after-object: 'button' 'input[type="button"]' '.#{$object__button}';
|
105
|
+
@include set_modificator($mod__status, color-invert, border-color, gradient-vertical, text-shadow);
|
106
|
+
|
107
|
+
$__inheritance: object;
|
108
|
+
$__before-object: '';
|
109
|
+
$__object: '.#{$object__group}';
|
110
|
+
$__after-object: 'button:hover' 'input[type="button"]:hover' '.#{$object__button}:hover';
|
111
|
+
@include set_modificator($mod__status, gradient-vertical-darken);
|
112
|
+
|
113
|
+
$__inheritance: object;
|
114
|
+
$__before-object: '';
|
115
|
+
$__object: '.#{$object__group}';
|
116
|
+
$__after-object: 'button:active' 'input[type="button"]:active' '.#{$object__button}:active' 'button.#{$mod__active}' 'input[type="button"].#{$mod__active}' '.#{$object__button}.#{$mod__active}';
|
117
|
+
@include set_modificator($mod__status, gradient-vertical-darkener);
|
118
|
+
|
119
|
+
$__inheritance: object;
|
120
|
+
$__before-object: '';
|
121
|
+
$__object: '.#{$object__group}.#{$mod__loading}';
|
122
|
+
$__after-object: 'button' 'input[type="button"]' '.#{$object__button}';
|
123
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled, default), loading);
|
124
|
+
@include set_modificator(only-items($mod__status,$mod__status__disabled, default), loading-dark);
|
125
|
+
|
126
|
+
$__inheritance: object;
|
127
|
+
$__before-object: '';
|
128
|
+
$__object: '.#{$object__group}';
|
129
|
+
$__after-object: append-list('button:hover' 'input[type="button"]:hover' '.#{$object__button}:hover' 'button:active' 'input[type="button"]:active' '.#{$object__button}:active' 'button.#{$mod__active}' 'input[type="button"].#{$mod__active}' '.#{$object__button}.#{$mod__active}', '', '.#{$mod__unclickable}');
|
130
|
+
@include set_modificator($mod__status, gradient-vertical);
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
$__inheritance: $object__group;
|
136
|
+
$__before-object: '.#{$object__group}';
|
137
|
+
$__object: 'button' 'input[type="button"]' '.#{$object__button}';
|
138
|
+
$__after-object: '';
|
139
|
+
@include set_modificator($mod__status, color-invert, border-color, gradient-vertical, text-shadow);
|
140
|
+
|
141
|
+
$__inheritance: $object__group-important;
|
142
|
+
$__before-object: '.#{$object__group}';
|
143
|
+
$__object: 'button:hover' 'input[type="button"]:hover' '.#{$object__button}:hover';
|
144
|
+
$__after-object: '';
|
145
|
+
@include set_modificator($mod__status, gradient-vertical-darken);
|
146
|
+
|
147
|
+
$__inheritance: $object__group-important;
|
148
|
+
$__before-object: '.#{$object__group}';
|
149
|
+
$__object: 'button:active' 'input[type="button"]:active' '.#{$object__button}:active' 'button.#{$mod__active}' 'input[type="button"].#{$mod__active}' '.#{$object__button}.#{$mod__active}';
|
150
|
+
$__after-object: '';
|
151
|
+
@include set_modificator($mod__status, gradient-vertical-darkener);
|
152
|
+
|
153
|
+
$__inheritance: $object__group-important;
|
154
|
+
$__before-object: '.#{$object__group}';
|
155
|
+
$__object: 'button.#{$mod__loading}' 'input[type="button"].#{$mod__loading}' '.#{$object__button}.#{$mod__loading}';
|
156
|
+
$__after-object: '';
|
157
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled, default), loading);
|
158
|
+
@include set_modificator(only-items($mod__status,$mod__status__disabled, default), loading-dark);
|
159
|
+
|
160
|
+
$__inheritance: $object__group-important;
|
161
|
+
$__before-object: '.#{$object__group}';
|
162
|
+
$__object: append-list('button:hover' 'input[type="button"]:hover' '.#{$object__button}:hover' 'button:active' 'input[type="button"]:active' '.#{$object__button}:active' 'button.#{$mod__active}' 'input[type="button"].#{$mod__active}' '.#{$object__button}.#{$mod__active}', '', '.#{$mod__unclickable}');
|
163
|
+
$__after-object: '';
|
164
|
+
@include set_modificator($mod__status, gradient-vertical);
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
$__inheritance: object;
|
173
|
+
$__before-object: '';
|
174
|
+
$__object: '.#{$object__group}';
|
175
|
+
$__after-object: $_input-list;
|
176
|
+
@include set_modificator($mod__status, border-color);
|
177
|
+
@include set_modificator(only-items($mod__status,$mod__status__disabled), color, background-color);
|
178
|
+
|
179
|
+
$__inheritance: object;
|
180
|
+
$__before-object: '';
|
181
|
+
$__object: '.#{$object__group}';
|
182
|
+
$__after-object: append-list( $_input-list, '', ':hover' );
|
183
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), border-color-darken);
|
184
|
+
|
185
|
+
$__inheritance: object;
|
186
|
+
$__before-object: '';
|
187
|
+
$__object: '.#{$object__group}';
|
188
|
+
$__after-object: append-list( $_input-list, '', ':focus' );
|
189
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), outline);
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
$__inheritance: $object__group-important;
|
194
|
+
$__before-object: '.#{$object__group}';
|
195
|
+
$__object: $_input-list;
|
196
|
+
$__after-object: '';
|
197
|
+
@include set_modificator($mod__status, border-color);
|
198
|
+
@include set_modificator(only-items($mod__status,$mod__status__disabled), color, background-color);
|
199
|
+
|
200
|
+
$__inheritance: $object__group-important;
|
201
|
+
$__before-object: '.#{$object__group}';
|
202
|
+
$__object: append-list( $_input-list, '', ':hover' );
|
203
|
+
$__after-object: '';
|
204
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), border-color-darken);
|
205
|
+
|
206
|
+
$__inheritance: $object__group-important;
|
207
|
+
$__before-object: '.#{$object__group}';
|
208
|
+
$__object: append-list( $_input-list, '', ':focus' );
|
209
|
+
$__after-object: '';
|
210
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), outline);
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
$__inheritance: object;
|
219
|
+
$__before-object: '';
|
220
|
+
$__object: '.#{$object__group}';
|
221
|
+
$__after-object: '.#{$object__group__appendix}';
|
222
|
+
@include set_modificator($mod__status, color-invert, border-color, background-color-lightener, text-shadow);
|
223
|
+
|
224
|
+
$__inheritance: $object__group-important;
|
225
|
+
$__before-object: '.#{$object__group}';
|
226
|
+
$__object: '.#{$object__group__appendix}';
|
227
|
+
$__after-object: '';
|
228
|
+
@include set_modificator($mod__status, color-invert, border-color, background-color-lightener, text-shadow);
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
$__inheritance: object;
|
236
|
+
$__before-object: '';
|
237
|
+
$__object: '.#{$object__group}';
|
238
|
+
$__after-object: 'button' 'input[type="button"]' '.#{$object__button}' '.#{$object__group__appendix}';
|
239
|
+
@include set_modificator($mod__size, padding-object, font-size, line-height);
|
240
|
+
|
241
|
+
$__inheritance: $object__group;
|
242
|
+
$__before-object: '';
|
243
|
+
$__object: '.#{$object__group}';
|
244
|
+
$__after-object: $_input-list;
|
245
|
+
@include set_modificator($mod__size, input-line-height, font-size, input-padding);
|
@@ -0,0 +1,92 @@
|
|
1
|
+
[class*="#{$object__icon}"],
|
2
|
+
[class^="#{$object__icon}"],
|
3
|
+
.#{$object__icon} {
|
4
|
+
display: inline-block;
|
5
|
+
vertical-align: middle;
|
6
|
+
line-height: 0;
|
7
|
+
margin-top: -2px;
|
8
|
+
}
|
9
|
+
|
10
|
+
.#{$object__icon} {
|
11
|
+
&:before {
|
12
|
+
content: "\f000";
|
13
|
+
@include opacity( 0 );
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.-#{$mod__status__disabled}- {
|
18
|
+
[class*="#{$object__icon}"],
|
19
|
+
.#{$object__icon} {
|
20
|
+
opacity: .4;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
@font-face {
|
33
|
+
font-family: 'FontAwesome';
|
34
|
+
src: url('fontawesome/fontawesome-webfont.eot');
|
35
|
+
src: url('fontawesome/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
|
36
|
+
url('fontawesome/fontawesome-webfont.woff') format('woff'),
|
37
|
+
url('fontawesome/fontawesome-webfont.ttf') format('truetype'),
|
38
|
+
url('fontawesome/fontawesome-webfont.svg#zocialregular') format('svg');
|
39
|
+
font-weight: normal;
|
40
|
+
font-style: normal;
|
41
|
+
|
42
|
+
}
|
43
|
+
|
44
|
+
[class*="#{$object__icon}"],
|
45
|
+
[class^="#{$object__icon}"],
|
46
|
+
.#{$object__icon} {
|
47
|
+
&:before {
|
48
|
+
font-family: 'FontAwesome'!important;
|
49
|
+
font-style: normal;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
@each $icon in $object__icon__names {
|
54
|
+
.#{$object__icon}-#{$icon}:before {
|
55
|
+
content: nth($object__icon__content, index($object__icon__names, $icon));
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
@font-face {
|
63
|
+
font-family: 'Zocial';
|
64
|
+
src: url('#{$font-path}/zocial/zocial-regular-webfont.eot');
|
65
|
+
src: url('#{$font-path}/zocial/zocial-regular-webfont.eot?#iefix') format('embedded-opentype'),
|
66
|
+
url('#{$font-path}/zocial/zocial-regular-webfont.woff') format('woff'),
|
67
|
+
url('#{$font-path}/zocial/zocial-regular-webfont.ttf') format('truetype'),
|
68
|
+
url('#{$font-path}/zocial/zocial-regular-webfont.svg#zocialregular') format('svg');
|
69
|
+
font-weight: normal;
|
70
|
+
font-style: normal;
|
71
|
+
|
72
|
+
}
|
73
|
+
|
74
|
+
[class*="#{$object__icon__social}"],
|
75
|
+
[class^="#{$object__icon__social}"],
|
76
|
+
.#{$object__icon__social} {
|
77
|
+
width: auto;
|
78
|
+
height: auto;
|
79
|
+
background-image: none;
|
80
|
+
|
81
|
+
&:before {
|
82
|
+
font-family: 'Zocial'!important;
|
83
|
+
font-style: normal;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
|
88
|
+
@each $icon in $object__icon__social-names {
|
89
|
+
.#{$object__icon__social}-#{$icon}:before {
|
90
|
+
content: nth($object__icon__social-content, index($object__icon__social-names, $icon));
|
91
|
+
}
|
92
|
+
}
|