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,270 @@
|
|
1
|
+
$object__table-notimportant: '-table-notimportant';
|
2
|
+
$object__table-important: '-table-important';
|
3
|
+
|
4
|
+
|
5
|
+
@include init_modificator-status($object__table-notimportant);
|
6
|
+
@include init_modificator-status($object__table);
|
7
|
+
@include init_modificator-status($object__table-important);
|
8
|
+
|
9
|
+
.#{$object__table} {
|
10
|
+
width: 100%;
|
11
|
+
border-collapse: collapse;
|
12
|
+
border-spacing: 0;
|
13
|
+
|
14
|
+
th {
|
15
|
+
text-align: left;
|
16
|
+
$__inheritance: object;
|
17
|
+
$__before-object: '';
|
18
|
+
$__object: this;
|
19
|
+
$__after-object: '';
|
20
|
+
|
21
|
+
@include set_modificator($mod__size, padding-object, font-size, line-height);
|
22
|
+
}
|
23
|
+
|
24
|
+
td {
|
25
|
+
border-top-width: $object__table-border-width;
|
26
|
+
border-top-style: solid;
|
27
|
+
|
28
|
+
}
|
29
|
+
|
30
|
+
&.#{$mod__bordered} {
|
31
|
+
td {
|
32
|
+
border-width: $object__table-border-width;
|
33
|
+
border-style: solid;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
&.#{$mod__vertical} {
|
38
|
+
td {
|
39
|
+
border-top-width: 0;
|
40
|
+
border-left-width: $object__table-border-width;
|
41
|
+
border-left-style: solid;
|
42
|
+
|
43
|
+
&:first-child {
|
44
|
+
border-left-width: 0;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
&.-#{$mod__status__unstyled}-,
|
50
|
+
&.-#{$mod__status__unstyled}- td {
|
51
|
+
border-width: 0!important;
|
52
|
+
}
|
53
|
+
|
54
|
+
}
|
55
|
+
|
56
|
+
|
57
|
+
$__inheritance: object;
|
58
|
+
$__before-object: '';
|
59
|
+
$__object: '.#{$object__table}.#{$mod__loading}';
|
60
|
+
$__after-object: 'tr td';
|
61
|
+
|
62
|
+
@include set_modificator($mod__status, loading);
|
63
|
+
|
64
|
+
|
65
|
+
$__inheritance: object;
|
66
|
+
$__before-object: '.#{$object__table} tr';
|
67
|
+
$__object: 'td.#{$mod__loading}';
|
68
|
+
$__after-object: '';
|
69
|
+
|
70
|
+
@include set_modificator($mod__status, loading);
|
71
|
+
|
72
|
+
|
73
|
+
$__inheritance: $object__table;
|
74
|
+
$__before-object: '.#{$object__table}';
|
75
|
+
$__object: 'tr.#{$mod__loading}';
|
76
|
+
$__after-object: 'td';
|
77
|
+
|
78
|
+
@include set_modificator($mod__status, loading);
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
$__inheritance: object;
|
86
|
+
$__before-object: '.#{$object__table}';
|
87
|
+
$__object: 'tr';
|
88
|
+
$__after-object: 'td';
|
89
|
+
|
90
|
+
@include set_modificator(only-items($mod__status, default, $mod__status__unstyled), border-color);
|
91
|
+
@include set_modificator($mod__size, padding-object, font-size, line-height);
|
92
|
+
|
93
|
+
|
94
|
+
$__inheritance: object;
|
95
|
+
$__before-object: '';
|
96
|
+
$__object: '.#{$object__table}';
|
97
|
+
$__after-object: 'tr td';
|
98
|
+
|
99
|
+
@include set_modificator(exclude-items($mod__status, default, $mod__status__unstyled), background-color, border-color-darken, color-invert);
|
100
|
+
@include set_modificator(only-items($mod__status, $mod__status__unstyled), background-color, border-color-darken, color-invert);
|
101
|
+
@include set_modificator($mod__size, padding-object, font-size, line-height);
|
102
|
+
|
103
|
+
|
104
|
+
$__inheritance: object;
|
105
|
+
$__before-object: '.#{$object__table} tr';
|
106
|
+
$__object: 'td';
|
107
|
+
$__after-object: '';
|
108
|
+
|
109
|
+
@include set_modificator($mod__size, padding-object, font-size, line-height);
|
110
|
+
|
111
|
+
|
112
|
+
$__inheritance: $object__table;
|
113
|
+
$__before-object: '.#{$object__table}';
|
114
|
+
$__object: 'tr';
|
115
|
+
$__after-object: 'td';
|
116
|
+
|
117
|
+
@include set_modificator(exclude-items($mod__status, default), background-color, border-color-darken, color-invert);
|
118
|
+
|
119
|
+
|
120
|
+
$__inheritance: $object__table-important;
|
121
|
+
$__before-object: '.#{$object__table} tr';
|
122
|
+
$__object: 'td';
|
123
|
+
$__after-object: '';
|
124
|
+
|
125
|
+
@include set_modificator(exclude-items($mod__status, default), background-color, border-color-darken, color-invert);
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
$__inheritance: object;
|
134
|
+
$__before-object: '.#{$object__table}.#{$mod__hovered}';
|
135
|
+
$__object: 'tr:hover';
|
136
|
+
$__after-object: 'td';
|
137
|
+
|
138
|
+
@include set_modificator(only-items($mod__status, default, $mod__status__unstyled), border-color, background-color);
|
139
|
+
|
140
|
+
|
141
|
+
$__inheritance: object;
|
142
|
+
$__before-object: '';
|
143
|
+
$__object: '.#{$object__table}.#{$mod__hovered}';
|
144
|
+
$__after-object: 'tr:hover td';
|
145
|
+
|
146
|
+
@include set_modificator(exclude-items($mod__status, default, $mod__status__unstyled), background-color-darken, border-color-darken, color-invert);
|
147
|
+
@include set_modificator(only-items($mod__status, $mod__status__unstyled), background-color-darken, border-color-darken, color-invert);
|
148
|
+
|
149
|
+
|
150
|
+
$__inheritance: $object__table;
|
151
|
+
$__before-object: '.#{$object__table}.#{$mod__hovered}';
|
152
|
+
$__object: 'tr:hover';
|
153
|
+
$__after-object: 'td';
|
154
|
+
|
155
|
+
@include set_modificator(exclude-items($mod__status, default), background-color-darken, border-color-darken, color-invert);
|
156
|
+
|
157
|
+
|
158
|
+
$__inheritance: $object__table-important;
|
159
|
+
$__before-object: '.#{$object__table}.#{$mod__hovered} tr:hover';
|
160
|
+
$__object: 'td';
|
161
|
+
$__after-object: '';
|
162
|
+
|
163
|
+
@include set_modificator(exclude-items($mod__status, default), background-color-darken, border-color-darken, color-invert);
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
$__inheritance: $object__table-notimportant;
|
172
|
+
$__before-object: '.#{$object__table}.#{$mod__striped}';
|
173
|
+
$__object: 'tr:nth-child(odd)';
|
174
|
+
$__after-object: 'td';
|
175
|
+
|
176
|
+
@include set_modificator(only-items($mod__status, default, $mod__status__unstyled), border-color);
|
177
|
+
|
178
|
+
|
179
|
+
$__inheritance: $object__table-notimportant;
|
180
|
+
$__before-object: '';
|
181
|
+
$__object: '.#{$object__table}.#{$mod__striped}';
|
182
|
+
$__after-object: 'tr:nth-child(odd) td';
|
183
|
+
|
184
|
+
@include set_modificator(exclude-items($mod__status, default, $mod__status__unstyled), background-color, border-color-darken, color-invert);
|
185
|
+
@include set_modificator(only-items($mod__status, $mod__status__unstyled), background-color-darken, border-color-darken, color-invert);
|
186
|
+
|
187
|
+
|
188
|
+
$__inheritance: $object__table;
|
189
|
+
$__before-object: '.#{$object__table}.#{$mod__striped}';
|
190
|
+
$__object: 'tr:nth-child(odd)';
|
191
|
+
$__after-object: 'td';
|
192
|
+
|
193
|
+
@include set_modificator(exclude-items($mod__status, default), background-color-darken, border-color-darken, color-invert);
|
194
|
+
|
195
|
+
|
196
|
+
$__inheritance: $object__table-important;
|
197
|
+
$__before-object: '.#{$object__table}.#{$mod__striped} tr:nth-child(odd)';
|
198
|
+
$__object: 'td';
|
199
|
+
$__after-object: '';
|
200
|
+
|
201
|
+
@include set_modificator(exclude-items($mod__status, default), background-color-darken, border-color-darken, color-invert);
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
$__inheritance: $object__table-notimportant;
|
206
|
+
$__before-object: '.#{$object__table}.#{$mod__striped}';
|
207
|
+
$__object: 'tr:nth-child(even)';
|
208
|
+
$__after-object: 'td';
|
209
|
+
|
210
|
+
@include set_modificator(only-items($mod__status, default, $mod__status__unstyled), border-color);
|
211
|
+
|
212
|
+
|
213
|
+
$__inheritance: $object__table-notimportant;
|
214
|
+
$__before-object: '';
|
215
|
+
$__object: '.#{$object__table}.#{$mod__striped}';
|
216
|
+
$__after-object: 'tr:nth-child(even) td';
|
217
|
+
|
218
|
+
@include set_modificator(only-items($mod__status, default, $mod__status__unstyled), background-color, border-color-darken, color-invert);
|
219
|
+
|
220
|
+
|
221
|
+
$__inheritance: $object__table;
|
222
|
+
$__before-object: '.#{$object__table}.#{$mod__striped}';
|
223
|
+
$__object: 'tr:nth-child(even)';
|
224
|
+
$__after-object: 'td';
|
225
|
+
|
226
|
+
@include set_modificator(exclude-items($mod__status, default), background-color-darken, border-color-darken, color-invert);
|
227
|
+
|
228
|
+
|
229
|
+
$__inheritance: $object__table-important;
|
230
|
+
$__before-object: '.#{$object__table}.#{$mod__striped} tr:nth-child(even)';
|
231
|
+
$__object: 'td';
|
232
|
+
$__after-object: '';
|
233
|
+
|
234
|
+
@include set_modificator(exclude-items($mod__status, default), background-color-darken, border-color-darken, color-invert);
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
$__inheritance: $object__table-notimportant;
|
242
|
+
$__before-object: '.#{$object__table}.#{$mod__striped}.#{$mod__hovered}';
|
243
|
+
$__object: 'tr:nth-child(even):hover';
|
244
|
+
$__after-object: 'td';
|
245
|
+
|
246
|
+
@include set_modificator(only-items($mod__status, default, $mod__status__unstyled), border-color);
|
247
|
+
|
248
|
+
|
249
|
+
$__inheritance: $object__table-notimportant;
|
250
|
+
$__before-object: '';
|
251
|
+
$__object: '.#{$object__table}.#{$mod__striped}.#{$mod__hovered}';
|
252
|
+
$__after-object: 'tr:nth-child(even):hover td';
|
253
|
+
|
254
|
+
@include set_modificator(only-items($mod__status, default, $mod__status__unstyled), background-color, border-color-darken, color-invert);
|
255
|
+
|
256
|
+
|
257
|
+
$__inheritance: $object__table;
|
258
|
+
$__before-object: '.#{$object__table}.#{$mod__striped}.#{$mod__hovered}';
|
259
|
+
$__object: 'tr:nth-child(even):hover';
|
260
|
+
$__after-object: 'td';
|
261
|
+
|
262
|
+
@include set_modificator(exclude-items($mod__status, default), background-color, border-color-darken, color-invert);
|
263
|
+
|
264
|
+
|
265
|
+
$__inheritance: $object__table-important;
|
266
|
+
$__before-object: '.#{$object__table}.#{$mod__striped}.#{$mod__hovered} tr:nth-child(even):hover';
|
267
|
+
$__object: 'td';
|
268
|
+
$__after-object: '';
|
269
|
+
|
270
|
+
@include set_modificator(exclude-items($mod__status, default), background-color, border-color-darken, color-invert);
|
@@ -0,0 +1,211 @@
|
|
1
|
+
@include init_modificator-status($object__tabs);
|
2
|
+
|
3
|
+
$__inheritance: object;
|
4
|
+
$__before-object: '';
|
5
|
+
$__object: this;
|
6
|
+
$__after-object: '';
|
7
|
+
|
8
|
+
.#{$object__tabs} {
|
9
|
+
@include clearfix;
|
10
|
+
margin: 0;
|
11
|
+
list-style: none;
|
12
|
+
|
13
|
+
border-bottom-width: 1px;
|
14
|
+
border-bottom-style: solid;
|
15
|
+
|
16
|
+
&.#{$object__section} {
|
17
|
+
margin: #{$object__section-margin};
|
18
|
+
}
|
19
|
+
|
20
|
+
li {
|
21
|
+
display: inline-block;
|
22
|
+
vertical-align: bottom;
|
23
|
+
float: #{'left!!important'};
|
24
|
+
|
25
|
+
a{
|
26
|
+
@extend %__object;
|
27
|
+
|
28
|
+
display: inline-block;
|
29
|
+
vertical-align: bottom;
|
30
|
+
|
31
|
+
@include border-radius( $object__tabs-border-radius $object__tabs-border-radius 0 0 );
|
32
|
+
border-width: $object__tabs-border-width;
|
33
|
+
border-style: solid;
|
34
|
+
border-bottom-style: none;
|
35
|
+
border-color: transparent;
|
36
|
+
|
37
|
+
cursor: pointer;
|
38
|
+
}
|
39
|
+
|
40
|
+
&.-#{$mod__status__disabled}- {
|
41
|
+
a {
|
42
|
+
border-color: transparent!important;
|
43
|
+
cursor: default!important;
|
44
|
+
background-color: transparent!important;
|
45
|
+
@include box-shadow( none!important );
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
&.-#{$mod__status__disabled}- {
|
52
|
+
li a {
|
53
|
+
border-color: transparent!important;
|
54
|
+
background-color: transparent!important;
|
55
|
+
cursor: default!important;
|
56
|
+
@include box-shadow( none!important );
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
&.#{$mod__vertical} {
|
61
|
+
display: inline-block;
|
62
|
+
border-bottom-width: 0;
|
63
|
+
border-right-width: 1px;
|
64
|
+
border-right-style: solid;
|
65
|
+
float: #{'left!!important'};
|
66
|
+
|
67
|
+
li {
|
68
|
+
display: block;
|
69
|
+
text-align: right;
|
70
|
+
float: #{'none!!important'};
|
71
|
+
clear: #{'both!!important'};
|
72
|
+
|
73
|
+
& + li {
|
74
|
+
margin-top: 2px;
|
75
|
+
}
|
76
|
+
|
77
|
+
a {
|
78
|
+
@include border-radius( $object__tabs-border-radius 0 0 $object__tabs-border-radius );
|
79
|
+
text-align: #{'right!!important'};
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
&.#{$mod__side-right} {
|
84
|
+
border-right-width: 0;
|
85
|
+
border-left-width: 1px;
|
86
|
+
border-left-style: solid;
|
87
|
+
float: #{'right!!important'};
|
88
|
+
|
89
|
+
li {
|
90
|
+
display: block;
|
91
|
+
text-align: left;
|
92
|
+
|
93
|
+
a {
|
94
|
+
@include border-radius( 0 $object__tabs-border-radius $object__tabs-border-radius 0 );
|
95
|
+
float: #{'none!!important'};
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
&.#{$mod__side-bottom} {
|
102
|
+
border-bottom-width: 0;
|
103
|
+
border-top-width: 1px;
|
104
|
+
border-top-style: solid;
|
105
|
+
|
106
|
+
li a {
|
107
|
+
@include border-radius( 0 0 $object__tabs-border-radius $object__tabs-border-radius );
|
108
|
+
vertical-align: top;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
}
|
113
|
+
|
114
|
+
$__inheritance: object;
|
115
|
+
$__before-object: '.#{$object__tabs}';
|
116
|
+
$__object: 'li';
|
117
|
+
$__after-object: 'a';
|
118
|
+
@include set_modificator($mod__size, padding-huge, font-size, line-height);
|
119
|
+
$__inheritance: $object__tabs;
|
120
|
+
@include set_modificator($mod__status, color);
|
121
|
+
|
122
|
+
$__inheritance: $object__tabs;
|
123
|
+
$__before-object: '.#{$object__tabs}';
|
124
|
+
$__object: 'li:active' 'li.#{$mod__active}';
|
125
|
+
$__after-object: 'a';
|
126
|
+
@include set_modificator($mod__status, color-invert, border-color-darken, background-color-darkener, text-shadow);
|
127
|
+
|
128
|
+
|
129
|
+
$__inheritance: $object__tabs;
|
130
|
+
$__before-object: '.#{$object__tabs}';
|
131
|
+
$__object: 'li';
|
132
|
+
$__after-object: '> a:hover';
|
133
|
+
@include set_modificator(exclude-items($mod__status, $mod__status__disabled), background-color-darken, border-color-darken, color-invert, text-shadow);
|
134
|
+
|
135
|
+
$__inheritance: object;
|
136
|
+
$__before-object: '.#{$object__tabs}';
|
137
|
+
$__object: 'li.#{$mod__loading}';
|
138
|
+
$__after-object: 'a';
|
139
|
+
@include set_modificator($mod__status, loading);
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
$__inheritance: object;
|
145
|
+
$__before-object: '';
|
146
|
+
$__object: '.#{$object__tabs}';
|
147
|
+
$__after-object: '';
|
148
|
+
@include set_modificator($mod__status, border-color);
|
149
|
+
|
150
|
+
$__inheritance: object;
|
151
|
+
$__before-object: '';
|
152
|
+
$__object: '.#{$object__tabs}';
|
153
|
+
$__after-object: 'li a';
|
154
|
+
@include set_modificator($mod__status, color);
|
155
|
+
@include set_modificator($mod__size, padding-huge, font-size, line-height);
|
156
|
+
|
157
|
+
$__inheritance: object;
|
158
|
+
$__before-object: '';
|
159
|
+
$__object: '.#{$object__tabs}';
|
160
|
+
$__after-object: 'li a:hover';
|
161
|
+
@include set_modificator(exclude-items($mod__status, $mod__status__disabled), background-color-darken, border-color-darken, color-invert, text-shadow);
|
162
|
+
|
163
|
+
$__inheritance: object;
|
164
|
+
$__before-object: '';
|
165
|
+
$__object: '.#{$object__tabs}';
|
166
|
+
$__after-object: 'li:active a' 'li.#{$mod__active} a';
|
167
|
+
@include set_modificator($mod__status, color-invert, border-color-darken, background-color-darkener, text-shadow);
|
168
|
+
|
169
|
+
$__inheritance: object;
|
170
|
+
$__before-object: '';
|
171
|
+
$__object: '.#{$object__tabs}.#{$mod__loading}';
|
172
|
+
$__after-object: 'li a';
|
173
|
+
@include set_modificator($mod__status, loading);
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
.#{$object__tabs} {
|
178
|
+
&.-#{$mod__status__unstyled}- {
|
179
|
+
$__inheritance: object;
|
180
|
+
$__before-object: '';
|
181
|
+
$__object: this;
|
182
|
+
$__after-object: '';
|
183
|
+
@include set_modificator($mod__status, border-color);
|
184
|
+
|
185
|
+
li.#{$mod__active} a {
|
186
|
+
border-width: 1px;
|
187
|
+
border-style: solid;
|
188
|
+
border-bottom-style: none;
|
189
|
+
background-color: $theme__background-color;
|
190
|
+
margin-bottom: -1px;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
$__inheritance: $object__tabs;
|
196
|
+
$__before-object: '';
|
197
|
+
$__object: '.#{$object__tabs}.-#{$mod__status__unstyled}-';
|
198
|
+
$__after-object: 'li a';
|
199
|
+
@include set_modificator(exclude-items($mod__status, $mod__status__unstyled), border-color-important, color, text-shadow);
|
200
|
+
|
201
|
+
$__inheritance: $object__tabs;
|
202
|
+
$__before-object: '';
|
203
|
+
$__object: '.#{$object__tabs}.-#{$mod__status__unstyled}-';
|
204
|
+
$__after-object: 'li a:hover';
|
205
|
+
@include set_modificator(exclude-items($mod__status, $mod__status__unstyled), color-invert);
|
206
|
+
|
207
|
+
$__inheritance: $object__tabs;
|
208
|
+
$__before-object: '';
|
209
|
+
$__object: '.#{$object__tabs}.-#{$mod__status__unstyled}-';
|
210
|
+
$__after-object: 'li:active a:hover' 'li.#{$mod__active} a:hover' 'li:active a' 'li.#{$mod__active} a';
|
211
|
+
@include set_modificator(exclude-items($mod__status, $mod__status__unstyled), color-important);
|
@@ -0,0 +1,118 @@
|
|
1
|
+
@include init_modificator-status($object__toolbar);
|
2
|
+
|
3
|
+
$__inheritance: object;
|
4
|
+
$__before-object: '';
|
5
|
+
$__object: this;
|
6
|
+
$__after-object: '';
|
7
|
+
|
8
|
+
.#{$object__toolbar} {
|
9
|
+
display: block;
|
10
|
+
border-width: $object__toolbar-border-width;
|
11
|
+
border-style: solid;
|
12
|
+
border-left: none;
|
13
|
+
border-right: none;
|
14
|
+
|
15
|
+
.#{$object__button} {
|
16
|
+
@include box-shadow( none );
|
17
|
+
position: relative;
|
18
|
+
bottom: -1px;
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
@include box-shadow( $object__button-shadow );
|
22
|
+
position: relative;
|
23
|
+
z-index: 1;
|
24
|
+
}
|
25
|
+
|
26
|
+
&.-#{$mod__status__disabled}- {
|
27
|
+
@include box-shadow(none!important);
|
28
|
+
text-decoration: none!important;
|
29
|
+
cursor: default;
|
30
|
+
background-color: transparent!important;
|
31
|
+
background-image: none!important;
|
32
|
+
filter: none!important;
|
33
|
+
border-color: transparent!important;
|
34
|
+
@include text-shadow( none );
|
35
|
+
color: #ccc;
|
36
|
+
}
|
37
|
+
|
38
|
+
&.#{$mod__unclickable},
|
39
|
+
&.#{$mod__unclickable}:hover,
|
40
|
+
&.#{$mod__unclickable}:active {
|
41
|
+
@include set_modificator(exclude-items($mod__status,$mod__status__disabled), color-invert, border-color, gradient-vertical, text-shadow);
|
42
|
+
@include set_modificator(only-items($mod__status,$mod__status__disabled), color-invert, border-color, background-color, text-shadow);
|
43
|
+
@include box-shadow( none!important );
|
44
|
+
cursor: default;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
.#{$object__group} {
|
49
|
+
position: relative;
|
50
|
+
top: -1px;
|
51
|
+
}
|
52
|
+
|
53
|
+
&.-#{$mod__status__disabled}- {
|
54
|
+
.#{$object__button},
|
55
|
+
.#{$object__button}:hover,
|
56
|
+
.#{$object__button}:active,
|
57
|
+
.#{$object__button}.#{$mod__active},
|
58
|
+
.#{$object__button}.-#{$mod__status__disabled}-,
|
59
|
+
input,
|
60
|
+
.#{$object__caret} {
|
61
|
+
@include box-shadow(none!important);
|
62
|
+
text-decoration: none!important;
|
63
|
+
cursor: default;
|
64
|
+
background-color: transparent!important;
|
65
|
+
background-image: none!important;
|
66
|
+
filter: none!important;
|
67
|
+
border-color: #eee!important;
|
68
|
+
@include text-shadow( none );
|
69
|
+
color: #ccc;
|
70
|
+
// $__inheritance: $object__toolbar;
|
71
|
+
// $__before-object: '';
|
72
|
+
// $__object: this;
|
73
|
+
// $__after-object: '';
|
74
|
+
// @include set_modificator(only-items($mod__status, $mod__status__disabled), color);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
input {
|
79
|
+
position: relative;
|
80
|
+
bottom: -1px;
|
81
|
+
}
|
82
|
+
|
83
|
+
.#{$object__button}:active,
|
84
|
+
.#{$object__button}.#{$mod__active} {
|
85
|
+
@include box-shadow($object__button-active-shadow);
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
.#{$object__toolbar} + .#{$object__toolbar} {
|
90
|
+
border-top: none;
|
91
|
+
}
|
92
|
+
|
93
|
+
$__inheritance: object;
|
94
|
+
$__before-object: '';
|
95
|
+
$__object: '.#{$object__toolbar}';
|
96
|
+
$__after-object: '';
|
97
|
+
@include set_modificator($mod__size, padding);
|
98
|
+
@include set_modificator(only-items($mod__status, $mod__status__disabled, default), color-invert, background-color-darken, border-color-lighten);
|
99
|
+
@include set_modificator(exclude-items($mod__status, $mod__status__disabled, default), color-invert, background-color-lightener, border-color-lighten);
|
100
|
+
|
101
|
+
|
102
|
+
$__inheritance: object;
|
103
|
+
$__before-object: '';
|
104
|
+
$__object: '.#{$object__toolbar}';
|
105
|
+
$__after-object: '.#{$object__button}';
|
106
|
+
@include set_modificator($mod__size, padding-object, font-size, line-height);
|
107
|
+
|
108
|
+
$__inheritance: object;
|
109
|
+
$__before-object: '';
|
110
|
+
$__object: '.#{$object__toolbar}';
|
111
|
+
$__after-object: 'input';
|
112
|
+
@include set_modificator($mod__size, input-padding, font-size, line-height);
|
113
|
+
|
114
|
+
$__inheritance: object;
|
115
|
+
$__before-object: '';
|
116
|
+
$__object: '.#{$object__toolbar}.#{$mod__loading}';
|
117
|
+
$__after-object: '';
|
118
|
+
@include set_modificator($mod__status, loading);
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$__inheritance: object;
|
2
|
+
$__before-object: '';
|
3
|
+
$__object: this;
|
4
|
+
$__after-object: '';
|
5
|
+
|
6
|
+
.#{$object__tooltip} {
|
7
|
+
@extend %__object;
|
8
|
+
|
9
|
+
position: relative;
|
10
|
+
@include border-radius( $object__tooltip-border-radius );
|
11
|
+
@include box-shadow( $object__tooltip-shadow, inset 0 2px 0 rgba(255,255,255,.3) );
|
12
|
+
|
13
|
+
@include set_modificator($mod__status, gradient-vertical-darkener, color-invert-important, text-shadow);
|
14
|
+
@include set_modificator(exclude-items($mod__size, small, tiny), padding-small, font-size-small, line-height-small);
|
15
|
+
|
16
|
+
&.-#{$mod__status__disabled}- {
|
17
|
+
opacity: .8;
|
18
|
+
}
|
19
|
+
}
|