@clayui/css 3.62.1 → 3.65.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.
- package/lib/css/atlas.css +34 -45
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +35 -45
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +76 -25
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/hierarchy.svg +10 -0
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/no-bot.svg +10 -0
- package/package.json +3 -2
- package/src/images/icons/hierarchy.svg +10 -0
- package/src/images/icons/no-bot.svg +10 -0
- package/src/scss/_license-text.scss +1 -1
- package/src/scss/atlas/variables/_alerts.scss +1 -0
- package/src/scss/atlas/variables/_forms.scss +22 -0
- package/src/scss/atlas/variables/_globals.scss +1 -1
- package/src/scss/cadmin/components/_alerts.scss +26 -6
- package/src/scss/cadmin/components/_aspect-ratio.scss +29 -14
- package/src/scss/cadmin/components/_badges.scss +26 -6
- package/src/scss/cadmin/components/_buttons.scss +129 -63
- package/src/scss/cadmin/components/_grid.scss +13 -16
- package/src/scss/cadmin/components/_labels.scss +52 -12
- package/src/scss/cadmin/components/_loaders.scss +7 -13
- package/src/scss/cadmin/components/_popovers.scss +12 -4
- package/src/scss/cadmin/components/_print.scss +3 -3
- package/src/scss/cadmin/components/_reboot.scss +3 -3
- package/src/scss/cadmin/components/_stickers.scss +52 -12
- package/src/scss/cadmin/components/_treeview.scss +20 -0
- package/src/scss/cadmin/components/_utilities-functional-important.scss +49 -62
- package/src/scss/cadmin/components/_utilities.scss +7 -6
- package/src/scss/cadmin/variables/_alerts.scss +2 -0
- package/src/scss/cadmin/variables/_buttons.scss +23 -0
- package/src/scss/cadmin/variables/_forms.scss +13 -10
- package/src/scss/cadmin/variables/_globals.scss +25 -1
- package/src/scss/cadmin/variables/_treeview.scss +12 -0
- package/src/scss/cadmin/variables/_utilities.scss +309 -0
- package/src/scss/components/_alerts.scss +25 -5
- package/src/scss/components/_aspect-ratio.scss +29 -14
- package/src/scss/components/_badges.scss +25 -5
- package/src/scss/components/_buttons.scss +98 -70
- package/src/scss/components/_grid.scss +9 -11
- package/src/scss/components/_labels.scss +50 -10
- package/src/scss/components/_loaders.scss +7 -13
- package/src/scss/components/_popovers.scss +12 -4
- package/src/scss/components/_print.scss +3 -3
- package/src/scss/components/_reboot.scss +3 -3
- package/src/scss/components/_sidebar.scss +3 -1
- package/src/scss/components/_stickers.scss +50 -10
- package/src/scss/components/_treeview.scss +12 -0
- package/src/scss/components/_utilities-functional-important.scss +40 -18
- package/src/scss/components/_utilities.scss +7 -6
- package/src/scss/functions/_global-functions.scss +9 -9
- package/src/scss/functions/_lx-icons-generated.scss +4 -0
- package/src/scss/functions/_type-conversion-functions.scss +6 -6
- package/src/scss/mixins/_globals.scss +2 -0
- package/src/scss/mixins/_utilities.scss +6 -6
- package/src/scss/variables/_alerts.scss +3 -0
- package/src/scss/variables/_forms.scss +3 -0
- package/src/scss/variables/_globals.scss +25 -1
- package/src/scss/variables/_treeview.scss +12 -0
- package/src/scss/variables/_utilities.scss +22 -0
- package/CHANGELOG.md +0 -2004
- package/LICENSES/BSD-3-Clause.txt +0 -30
- package/LICENSES/LicenseRef-MIT-Bootstrap.txt +0 -22
- package/LICENSES/MIT.txt +0 -19
|
@@ -420,11 +420,31 @@
|
|
|
420
420
|
// Alert Variants
|
|
421
421
|
|
|
422
422
|
@each $color, $value in $alert-palette {
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
423
|
+
$selector: if(
|
|
424
|
+
starts-with($color, '.') or
|
|
425
|
+
starts-with($color, '#') or
|
|
426
|
+
starts-with($color, '%'),
|
|
427
|
+
$color,
|
|
428
|
+
str-insert($color, '.alert-', 1)
|
|
429
|
+
);
|
|
430
|
+
|
|
431
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
432
|
+
#{$selector} {
|
|
433
|
+
@include clay-alert-variant($value);
|
|
434
|
+
}
|
|
435
|
+
} @else {
|
|
436
|
+
$placeholder: if(
|
|
437
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
438
|
+
'%#{str-slice($color, 2)}',
|
|
439
|
+
'%alert-#{$color}'
|
|
440
|
+
);
|
|
426
441
|
|
|
427
|
-
|
|
428
|
-
|
|
442
|
+
#{$placeholder} {
|
|
443
|
+
@include clay-alert-variant($value);
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
#{$selector} {
|
|
447
|
+
@extend %alert-#{$color} !optional;
|
|
448
|
+
}
|
|
429
449
|
}
|
|
430
450
|
}
|
|
@@ -162,26 +162,41 @@
|
|
|
162
162
|
|
|
163
163
|
@each $selector, $value in $aspect-ratio-sizes {
|
|
164
164
|
$selector: if(
|
|
165
|
-
starts-with($selector, '.') or
|
|
165
|
+
starts-with($selector, '.') or
|
|
166
|
+
starts-with($selector, '#') or
|
|
167
|
+
starts-with($selector, '%'),
|
|
166
168
|
$selector,
|
|
167
169
|
str-insert($selector, '.', 1)
|
|
168
170
|
);
|
|
169
171
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
172
|
+
@if (starts-with($selector, '%')) {
|
|
173
|
+
#{$selector} {
|
|
174
|
+
@include clay-aspect-ratio(
|
|
175
|
+
map-get($value, width),
|
|
176
|
+
map-get($value, height)
|
|
177
|
+
);
|
|
178
|
+
}
|
|
179
|
+
} @else if (map-get($value, extend)) {
|
|
180
|
+
#{$selector} {
|
|
181
|
+
@include clay-css($value);
|
|
182
|
+
}
|
|
183
|
+
} @else {
|
|
184
|
+
$placeholder: str-insert(
|
|
185
|
+
str-slice($selector, 2, str-length($selector)),
|
|
186
|
+
'%',
|
|
187
|
+
1
|
|
180
188
|
);
|
|
181
|
-
}
|
|
182
189
|
|
|
183
|
-
|
|
184
|
-
|
|
190
|
+
#{$placeholder} {
|
|
191
|
+
@include clay-aspect-ratio(
|
|
192
|
+
map-get($value, width),
|
|
193
|
+
map-get($value, height)
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
#{$selector} {
|
|
198
|
+
@extend #{$placeholder} !optional;
|
|
199
|
+
}
|
|
185
200
|
}
|
|
186
201
|
}
|
|
187
202
|
|
|
@@ -108,11 +108,31 @@
|
|
|
108
108
|
// Badge Variants
|
|
109
109
|
|
|
110
110
|
@each $color, $value in $badge-palette {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
$selector: if(
|
|
112
|
+
starts-with($color, '.') or
|
|
113
|
+
starts-with($color, '#') or
|
|
114
|
+
starts-with($color, '%'),
|
|
115
|
+
$color,
|
|
116
|
+
str-insert($color, '.badge-', 1)
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
120
|
+
#{$selector} {
|
|
121
|
+
@include clay-badge-variant($value);
|
|
122
|
+
}
|
|
123
|
+
} @else {
|
|
124
|
+
$placeholder: if(
|
|
125
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
126
|
+
'%#{str-slice($color, 2)}',
|
|
127
|
+
'%badge-#{$color}'
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
#{$placeholder} {
|
|
131
|
+
@include clay-badge-variant($value);
|
|
132
|
+
}
|
|
114
133
|
|
|
115
|
-
|
|
116
|
-
|
|
134
|
+
#{$selector} {
|
|
135
|
+
@extend #{$placeholder} !optional;
|
|
136
|
+
}
|
|
117
137
|
}
|
|
118
138
|
}
|
|
@@ -19,24 +19,30 @@ fieldset:disabled a.btn {
|
|
|
19
19
|
// Button Sizes
|
|
20
20
|
|
|
21
21
|
@each $size, $value in $btn-sizes {
|
|
22
|
-
$placeholder: if(
|
|
23
|
-
starts-with($size, 'btn-'),
|
|
24
|
-
'%clay-#{$size}',
|
|
25
|
-
'%#{str-slice($size, 2)}'
|
|
26
|
-
);
|
|
27
|
-
|
|
28
22
|
$selector: if(
|
|
29
23
|
starts-with($size, 'btn-'),
|
|
30
24
|
clay-str-replace($size, 'btn-', '.btn-'),
|
|
31
25
|
$size
|
|
32
26
|
);
|
|
33
27
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
28
|
+
@if (starts-with($size, '%') or map-get($value, extend)) {
|
|
29
|
+
#{$selector} {
|
|
30
|
+
@include clay-button-variant($value);
|
|
31
|
+
}
|
|
32
|
+
} @else {
|
|
33
|
+
$placeholder: if(
|
|
34
|
+
starts-with($size, 'btn-'),
|
|
35
|
+
'%clay-#{$size}',
|
|
36
|
+
'%#{str-slice($size, 2)}'
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
#{$placeholder} {
|
|
40
|
+
@include clay-button-variant($value);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#{$selector} {
|
|
44
|
+
@extend #{$placeholder} !optional;
|
|
45
|
+
}
|
|
40
46
|
}
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -74,12 +80,6 @@ input[type='button'] {
|
|
|
74
80
|
// Button Monospaced
|
|
75
81
|
|
|
76
82
|
@each $size, $value in $btn-monospaced-sizes {
|
|
77
|
-
$placeholder: if(
|
|
78
|
-
starts-with($size, 'btn-monospaced'),
|
|
79
|
-
'%clay-#{$size}',
|
|
80
|
-
'%#{str-slice($size, 2)}'
|
|
81
|
-
);
|
|
82
|
-
|
|
83
83
|
$selector: if(
|
|
84
84
|
starts-with($size, 'btn-monospaced-'),
|
|
85
85
|
clay-str-replace($size, 'btn-monospaced', '.btn-monospaced.btn'),
|
|
@@ -90,80 +90,108 @@ input[type='button'] {
|
|
|
90
90
|
)
|
|
91
91
|
);
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
93
|
+
@if (starts-with($size, '%') or map-get($value, extend)) {
|
|
94
|
+
#{$selector} {
|
|
95
|
+
@include clay-button-variant($value);
|
|
96
|
+
}
|
|
97
|
+
} @else {
|
|
98
|
+
$placeholder: if(
|
|
99
|
+
starts-with($size, 'btn-monospaced'),
|
|
100
|
+
'%clay-#{$size}',
|
|
101
|
+
'%#{str-slice($size, 2)}'
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
#{$placeholder} {
|
|
105
|
+
@include clay-button-variant($value);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
#{$selector} {
|
|
109
|
+
@extend #{$placeholder} !optional;
|
|
110
|
+
}
|
|
99
111
|
}
|
|
100
112
|
}
|
|
101
113
|
|
|
102
114
|
// Button Variants
|
|
103
115
|
|
|
104
116
|
@each $color, $value in $btn-palette {
|
|
105
|
-
$placeholder: if(
|
|
106
|
-
starts-with($color, '.') or starts-with($color, '#'),
|
|
107
|
-
'%#{str-slice($color, 2)}',
|
|
108
|
-
'%btn-#{$color}'
|
|
109
|
-
);
|
|
110
|
-
|
|
111
|
-
$placeholder-focus: if(
|
|
112
|
-
starts-with($color, '.') or starts-with($color, '#'),
|
|
113
|
-
'%#{str-slice($color, 2)}-focus',
|
|
114
|
-
'%btn-#{$color}-focus'
|
|
115
|
-
);
|
|
116
|
-
|
|
117
117
|
$selector: if(
|
|
118
|
-
starts-with($color, '.') or
|
|
118
|
+
starts-with($color, '.') or
|
|
119
|
+
starts-with($color, '#') or
|
|
120
|
+
starts-with($color, '%'),
|
|
119
121
|
$color,
|
|
120
122
|
str-insert($color, '.btn-', 1)
|
|
121
123
|
);
|
|
122
124
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
125
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
126
|
+
#{$selector} {
|
|
127
|
+
@include clay-button-variant($value);
|
|
128
|
+
}
|
|
129
|
+
} @else {
|
|
130
|
+
$placeholder: if(
|
|
131
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
132
|
+
'%#{str-slice($color, 2)}',
|
|
133
|
+
'%btn-#{$color}'
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
$placeholder-focus: if(
|
|
137
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
138
|
+
'%#{str-slice($color, 2)}-focus',
|
|
139
|
+
'%btn-#{$color}-focus'
|
|
140
|
+
);
|
|
141
|
+
|
|
142
|
+
#{$placeholder} {
|
|
143
|
+
@include clay-button-variant($value);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
#{$selector} {
|
|
147
|
+
@extend #{$placeholder} !optional;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
#{$placeholder-focus} {
|
|
151
|
+
@include clay-button-variant(map-get($value, focus));
|
|
152
|
+
}
|
|
133
153
|
}
|
|
134
154
|
}
|
|
135
155
|
|
|
136
156
|
// Button Outline Variants
|
|
137
157
|
|
|
138
158
|
@each $color, $value in $btn-outline-palette {
|
|
139
|
-
$placeholder: if(
|
|
140
|
-
starts-with($color, '.') or starts-with($color, '#'),
|
|
141
|
-
'%#{str-slice($color, 2)}',
|
|
142
|
-
'%btn-outline-#{$color}'
|
|
143
|
-
);
|
|
144
|
-
|
|
145
|
-
$placeholder-focus: if(
|
|
146
|
-
starts-with($color, '.') or starts-with($color, '#'),
|
|
147
|
-
'%#{str-slice($color, 2)}-focus',
|
|
148
|
-
'%btn-outline-#{$color}-focus'
|
|
149
|
-
);
|
|
150
|
-
|
|
151
159
|
$selector: if(
|
|
152
|
-
starts-with($color, '.') or
|
|
160
|
+
starts-with($color, '.') or
|
|
161
|
+
starts-with($color, '#') or
|
|
162
|
+
starts-with($color, '%'),
|
|
153
163
|
$color,
|
|
154
164
|
str-insert($color, '.btn-outline-', 1)
|
|
155
165
|
);
|
|
156
166
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
168
|
+
#{$selector} {
|
|
169
|
+
@include clay-button-variant($value);
|
|
170
|
+
}
|
|
171
|
+
} @else {
|
|
172
|
+
$placeholder: if(
|
|
173
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
174
|
+
'%#{str-slice($color, 2)}',
|
|
175
|
+
'%btn-outline-#{$color}'
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
$placeholder-focus: if(
|
|
179
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
180
|
+
'%#{str-slice($color, 2)}-focus',
|
|
181
|
+
'%btn-outline-#{$color}-focus'
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
#{$placeholder} {
|
|
185
|
+
@include clay-button-variant($value);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
#{$selector} {
|
|
189
|
+
@extend #{$placeholder} !optional;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
#{$placeholder-focus} {
|
|
193
|
+
@include clay-button-variant(map-get($value, focus));
|
|
194
|
+
}
|
|
167
195
|
}
|
|
168
196
|
}
|
|
169
197
|
|
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
// Single container class with breakpoint max-widths
|
|
3
3
|
|
|
4
4
|
.container {
|
|
5
|
-
|
|
6
|
-
margin-right: auto;
|
|
7
|
-
padding-left: $grid-gutter-width * 0.5;
|
|
8
|
-
padding-right: $grid-gutter-width * 0.5;
|
|
9
|
-
width: 100%;
|
|
5
|
+
@include clay-css($clay-container);
|
|
10
6
|
|
|
11
7
|
@each $breakpoint, $container-max-width in $container-max-widths {
|
|
12
8
|
@include media-breakpoint-up($breakpoint, $grid-breakpoints) {
|
|
@@ -18,11 +14,7 @@
|
|
|
18
14
|
// 100% wide container at all breakpoints
|
|
19
15
|
|
|
20
16
|
%container-fluid {
|
|
21
|
-
|
|
22
|
-
margin-right: auto;
|
|
23
|
-
padding-left: $grid-gutter-width * 0.5;
|
|
24
|
-
padding-right: $grid-gutter-width * 0.5;
|
|
25
|
-
width: 100%;
|
|
17
|
+
@include clay-css($clay-container-fluid);
|
|
26
18
|
}
|
|
27
19
|
|
|
28
20
|
.container-fluid {
|
|
@@ -45,7 +37,13 @@
|
|
|
45
37
|
$_container-max-width: clay-get-fallback($container-max-width);
|
|
46
38
|
$_width: clay-get-fallback($width);
|
|
47
39
|
|
|
48
|
-
|
|
40
|
+
$container-max-width-pos: index(
|
|
41
|
+
$grid-breakpoints,
|
|
42
|
+
$breakpoint map-get($grid-breakpoints, $breakpoint)
|
|
43
|
+
);
|
|
44
|
+
$grid-breakpoint-pos: index($grid-breakpoints, $name $width);
|
|
45
|
+
|
|
46
|
+
@if ($container-max-width-pos >= $grid-breakpoint-pos) {
|
|
49
47
|
.container#{breakpoint-infix($name, $grid-breakpoints)} {
|
|
50
48
|
@extend %responsive-container-#{$breakpoint} !optional;
|
|
51
49
|
}
|
|
@@ -93,23 +93,63 @@
|
|
|
93
93
|
// Label Sizes
|
|
94
94
|
|
|
95
95
|
@each $selector, $value in $label-sizes {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
$selector: if(
|
|
97
|
+
starts-with($selector, '.') or
|
|
98
|
+
starts-with($selector, '#') or
|
|
99
|
+
starts-with($selector, '%'),
|
|
100
|
+
$selector,
|
|
101
|
+
str-insert($selector, '.', 1)
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
@if (starts-with($selector, '%') or map-get($value, extend)) {
|
|
105
|
+
#{$selector} {
|
|
106
|
+
@include clay-label-variant($value);
|
|
107
|
+
}
|
|
108
|
+
} @else {
|
|
109
|
+
$placeholder: if(
|
|
110
|
+
starts-with($selector, '.') or starts-with($selector, '#'),
|
|
111
|
+
'%#{str-slice($selector, 2)}',
|
|
112
|
+
'%#{$selector}'
|
|
113
|
+
);
|
|
99
114
|
|
|
100
|
-
|
|
101
|
-
|
|
115
|
+
#{$placeholder} {
|
|
116
|
+
@include clay-label-variant($value);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
#{$selector} {
|
|
120
|
+
@extend #{$placeholder} !optional;
|
|
121
|
+
}
|
|
102
122
|
}
|
|
103
123
|
}
|
|
104
124
|
|
|
105
125
|
// Label Variants
|
|
106
126
|
|
|
107
127
|
@each $color, $value in $label-palette {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
128
|
+
$selector: if(
|
|
129
|
+
starts-with($color, '.') or
|
|
130
|
+
starts-with($color, '#') or
|
|
131
|
+
starts-with($color, '%'),
|
|
132
|
+
$color,
|
|
133
|
+
str-insert($color, '.label-', 1)
|
|
134
|
+
);
|
|
135
|
+
|
|
136
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
137
|
+
#{$selector} {
|
|
138
|
+
@include clay-label-variant($value);
|
|
139
|
+
}
|
|
140
|
+
} @else {
|
|
141
|
+
$placeholder: if(
|
|
142
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
143
|
+
'%#{str-slice($color, 2)}',
|
|
144
|
+
'%label-#{$color}'
|
|
145
|
+
);
|
|
111
146
|
|
|
112
|
-
|
|
113
|
-
|
|
147
|
+
#{$placeholder} {
|
|
148
|
+
@include clay-label-variant($value);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
#{$selector} {
|
|
152
|
+
@extend #{$placeholder} !optional;
|
|
153
|
+
}
|
|
114
154
|
}
|
|
115
155
|
}
|
|
@@ -80,7 +80,9 @@
|
|
|
80
80
|
|
|
81
81
|
@each $selector, $value in $loading-animation-sizes {
|
|
82
82
|
$_selector: if(
|
|
83
|
-
starts-with($selector, '.') or
|
|
83
|
+
starts-with($selector, '.') or
|
|
84
|
+
starts-with($selector, '#') or
|
|
85
|
+
starts-with($selector, '%'),
|
|
84
86
|
$selector,
|
|
85
87
|
str-insert($selector, '.', 1)
|
|
86
88
|
);
|
|
@@ -93,23 +95,15 @@
|
|
|
93
95
|
// Loading Animation Variants
|
|
94
96
|
|
|
95
97
|
@each $selector, $value in $loading-animation-palette {
|
|
96
|
-
$placeholder: if(
|
|
97
|
-
starts-with($selector, '.') or starts-with($selector, '#'),
|
|
98
|
-
'%#{str-slice($selector, 2)}',
|
|
99
|
-
'%#{$selector}'
|
|
100
|
-
);
|
|
101
|
-
|
|
102
98
|
$_selector: if(
|
|
103
|
-
starts-with($selector, '.') or
|
|
99
|
+
starts-with($selector, '.') or
|
|
100
|
+
starts-with($selector, '#') or
|
|
101
|
+
starts-with($selector, '%'),
|
|
104
102
|
$selector,
|
|
105
103
|
str-insert($selector, '.', 1)
|
|
106
104
|
);
|
|
107
105
|
|
|
108
|
-
#{$placeholder} {
|
|
109
|
-
@include clay-spinner-variant($value);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
106
|
#{$_selector} {
|
|
113
|
-
@
|
|
107
|
+
@include clay-spinner-variant($value);
|
|
114
108
|
}
|
|
115
109
|
}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
@each $selector, $value in $popovers {
|
|
4
4
|
$selector: if(
|
|
5
|
-
starts-with($selector, '.') or
|
|
5
|
+
starts-with($selector, '.') or
|
|
6
|
+
starts-with($selector, '#') or
|
|
7
|
+
starts-with($selector, '%'),
|
|
6
8
|
$selector,
|
|
7
9
|
str-insert($selector, '.', 1)
|
|
8
10
|
);
|
|
@@ -149,7 +151,9 @@
|
|
|
149
151
|
|
|
150
152
|
@each $selector, $value in $popover-headers {
|
|
151
153
|
$selector: if(
|
|
152
|
-
starts-with($selector, '.') or
|
|
154
|
+
starts-with($selector, '.') or
|
|
155
|
+
starts-with($selector, '#') or
|
|
156
|
+
starts-with($selector, '%'),
|
|
153
157
|
$selector,
|
|
154
158
|
str-insert($selector, '.', 1)
|
|
155
159
|
);
|
|
@@ -163,7 +167,9 @@
|
|
|
163
167
|
|
|
164
168
|
@each $selector, $value in $popover-bodies {
|
|
165
169
|
$selector: if(
|
|
166
|
-
starts-with($selector, '.') or
|
|
170
|
+
starts-with($selector, '.') or
|
|
171
|
+
starts-with($selector, '#') or
|
|
172
|
+
starts-with($selector, '%'),
|
|
167
173
|
$selector,
|
|
168
174
|
str-insert($selector, '.', 1)
|
|
169
175
|
);
|
|
@@ -177,7 +183,9 @@
|
|
|
177
183
|
|
|
178
184
|
@each $selector, $value in $popover-widths {
|
|
179
185
|
$selector: if(
|
|
180
|
-
starts-with($selector, '.') or
|
|
186
|
+
starts-with($selector, '.') or
|
|
187
|
+
starts-with($selector, '#') or
|
|
188
|
+
starts-with($selector, '%'),
|
|
181
189
|
$selector,
|
|
182
190
|
str-insert($selector, '.', 1)
|
|
183
191
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* SPDX-SnippetBegin
|
|
2
2
|
* SPDX-License-Identifier: MIT
|
|
3
|
-
* SPDX-
|
|
3
|
+
* SPDX-SnippetCopyrightText: © 2018 HTML5 Boilerplate <https://github.com/h5bp/main.css>
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
@if $enable-print-styles {
|
|
@@ -120,4 +120,4 @@
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
/*
|
|
123
|
+
/* SPDX-SnippetEnd */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* SPDX-SnippetBegin
|
|
2
2
|
* SPDX-License-Identifier: MIT
|
|
3
|
-
* SPDX-
|
|
3
|
+
* SPDX-SnippetCopyrightText: © 2016 Nicolas Gallagher and Jonathan Neal <https://github.com/necolas/normalize.css>
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
*,
|
|
@@ -323,4 +323,4 @@ template {
|
|
|
323
323
|
display: none !important;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
/*
|
|
326
|
+
/* SPDX-SnippetEnd */
|
|
@@ -112,7 +112,9 @@
|
|
|
112
112
|
|
|
113
113
|
@each $color, $value in $sidebar-palette {
|
|
114
114
|
$selector: if(
|
|
115
|
-
starts-with($color, '.') or
|
|
115
|
+
starts-with($color, '.') or
|
|
116
|
+
starts-with($color, '#') or
|
|
117
|
+
starts-with($color, '%'),
|
|
116
118
|
$color,
|
|
117
119
|
str-insert($color, '.', 1)
|
|
118
120
|
);
|
|
@@ -66,24 +66,64 @@
|
|
|
66
66
|
// Sticker Sizes
|
|
67
67
|
|
|
68
68
|
@each $selector, $value in $sticker-sizes {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
$selector: if(
|
|
70
|
+
starts-with($selector, '.') or
|
|
71
|
+
starts-with($selector, '#') or
|
|
72
|
+
starts-with($selector, '%'),
|
|
73
|
+
$selector,
|
|
74
|
+
str-insert($selector, '.', 1)
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
@if (starts-with($selector, '%') or map-get($value, extend)) {
|
|
78
|
+
#{$selector} {
|
|
79
|
+
@include clay-sticker-variant($value);
|
|
80
|
+
}
|
|
81
|
+
} @else {
|
|
82
|
+
$placeholder: if(
|
|
83
|
+
starts-with($selector, '.') or starts-with($selector, '#'),
|
|
84
|
+
'%#{str-slice($selector, 2)}',
|
|
85
|
+
'%#{$selector}'
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
#{$placeholder} {
|
|
89
|
+
@include clay-sticker-variant($value);
|
|
90
|
+
}
|
|
72
91
|
|
|
73
|
-
|
|
74
|
-
|
|
92
|
+
#{$selector} {
|
|
93
|
+
@extend #{$placeholder} !optional;
|
|
94
|
+
}
|
|
75
95
|
}
|
|
76
96
|
}
|
|
77
97
|
|
|
78
98
|
// Sticker Variants
|
|
79
99
|
|
|
80
100
|
@each $color, $value in $sticker-palette {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
101
|
+
$selector: if(
|
|
102
|
+
starts-with($color, '.') or
|
|
103
|
+
starts-with($color, '#') or
|
|
104
|
+
starts-with($color, '%'),
|
|
105
|
+
$color,
|
|
106
|
+
str-insert($color, '.sticker-', 1)
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
@if (starts-with($color, '%') or map-get($value, extend)) {
|
|
110
|
+
#{$selector} {
|
|
111
|
+
@include clay-sticker-variant($value);
|
|
112
|
+
}
|
|
113
|
+
} @else {
|
|
114
|
+
$placeholder: if(
|
|
115
|
+
starts-with($color, '.') or starts-with($color, '#'),
|
|
116
|
+
'%#{str-slice($color, 2)}',
|
|
117
|
+
'%sticker-#{$color}'
|
|
118
|
+
);
|
|
119
|
+
|
|
120
|
+
#{$placeholder} {
|
|
121
|
+
@include clay-sticker-variant($value);
|
|
122
|
+
}
|
|
84
123
|
|
|
85
|
-
|
|
86
|
-
|
|
124
|
+
#{$selector} {
|
|
125
|
+
@extend #{$placeholder} !optional;
|
|
126
|
+
}
|
|
87
127
|
}
|
|
88
128
|
}
|
|
89
129
|
|
|
@@ -310,6 +310,12 @@
|
|
|
310
310
|
);
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
+
|
|
314
|
+
&.treeview-no-hover {
|
|
315
|
+
@include clay-link(
|
|
316
|
+
map-deep-get($treeview-light, treeview-link, treeview-no-hover)
|
|
317
|
+
);
|
|
318
|
+
}
|
|
313
319
|
}
|
|
314
320
|
|
|
315
321
|
.component-action {
|
|
@@ -395,6 +401,12 @@
|
|
|
395
401
|
);
|
|
396
402
|
}
|
|
397
403
|
}
|
|
404
|
+
|
|
405
|
+
&.treeview-no-hover {
|
|
406
|
+
@include clay-link(
|
|
407
|
+
map-deep-get($treeview-dark, treeview-link, treeview-no-hover)
|
|
408
|
+
);
|
|
409
|
+
}
|
|
398
410
|
}
|
|
399
411
|
|
|
400
412
|
.component-action {
|