@clayui/css 3.50.0 → 3.53.0
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 +967 -491
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +993 -507
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +558 -255
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/book.svg +10 -0
- package/lib/images/icons/border-style.svg +14 -0
- package/lib/images/icons/border-width.svg +11 -0
- package/lib/images/icons/coin.svg +10 -0
- package/lib/images/icons/cookie.svg +9 -0
- package/lib/images/icons/dollar-symbol.svg +9 -0
- package/lib/images/icons/globe-lines.svg +9 -0
- package/lib/images/icons/globe-pin.svg +10 -0
- package/lib/images/icons/icons.svg +1 -1
- package/lib/images/icons/nodes.svg +9 -0
- package/lib/images/icons/opacity.svg +16 -0
- package/lib/images/icons/order-form-cog.svg +9 -0
- package/lib/images/icons/order-form-pencil.svg +13 -0
- package/lib/images/icons/order-form-tag.svg +9 -0
- package/lib/images/icons/order-form.svg +12 -0
- package/lib/images/icons/percentage-banner.svg +12 -0
- package/lib/images/icons/percentage-symbol.svg +11 -0
- package/lib/images/icons/price-tag.svg +10 -0
- package/lib/images/icons/ruler.svg +9 -0
- package/lib/images/icons/shopping-cart.svg +3 -3
- package/lib/images/icons/squares-clock.svg +13 -0
- package/lib/images/icons/squares.svg +11 -0
- package/lib/images/icons/warehouse.svg +12 -0
- package/package.json +2 -2
- package/src/images/icons/book.svg +10 -0
- package/src/images/icons/border-style.svg +14 -0
- package/src/images/icons/border-width.svg +11 -0
- package/src/images/icons/coin.svg +10 -0
- package/src/images/icons/cookie.svg +9 -0
- package/src/images/icons/dollar-symbol.svg +9 -0
- package/src/images/icons/globe-lines.svg +9 -0
- package/src/images/icons/globe-pin.svg +10 -0
- package/src/images/icons/nodes.svg +9 -0
- package/src/images/icons/opacity.svg +16 -0
- package/src/images/icons/order-form-cog.svg +9 -0
- package/src/images/icons/order-form-pencil.svg +13 -0
- package/src/images/icons/order-form-tag.svg +9 -0
- package/src/images/icons/order-form.svg +12 -0
- package/src/images/icons/percentage-banner.svg +12 -0
- package/src/images/icons/percentage-symbol.svg +11 -0
- package/src/images/icons/price-tag.svg +10 -0
- package/src/images/icons/ruler.svg +9 -0
- package/src/images/icons/shopping-cart.svg +3 -3
- package/src/images/icons/squares-clock.svg +13 -0
- package/src/images/icons/squares.svg +11 -0
- package/src/images/icons/warehouse.svg +12 -0
- package/src/scss/atlas/variables/_globals.scss +23 -5
- package/src/scss/atlas/variables/_utilities.scss +12 -8
- package/src/scss/cadmin/components/_navbar.scss +1 -0
- package/src/scss/cadmin/components/_popovers.scss +45 -13
- package/src/scss/cadmin/variables/_popovers.scss +53 -0
- package/src/scss/components/_custom-forms.scss +9 -7
- package/src/scss/components/_forms.scss +18 -58
- package/src/scss/components/_navbar.scss +1 -0
- package/src/scss/components/_popovers.scss +45 -13
- package/src/scss/components/_tables.scss +0 -6
- package/src/scss/functions/_lx-icons-generated.scss +43 -1
- package/src/scss/mixins/_close.scss +303 -277
- package/src/scss/mixins/_forms.scss +2 -0
- package/src/scss/mixins/_globals.scss +0 -36
- package/src/scss/mixins/_grid.scss +3 -3
- package/src/scss/mixins/_nav-nested.scss +2 -2
- package/src/scss/mixins/_navbar.scss +121 -107
- package/src/scss/mixins/_popovers.scss +56 -19
- package/src/scss/variables/_dropdowns.scss +1 -2
- package/src/scss/variables/_forms.scss +74 -0
- package/src/scss/variables/_globals.scss +28 -10
- package/src/scss/variables/_management-bar.scss +2 -2
- package/src/scss/variables/_navbar.scss +9 -4
- package/src/scss/variables/_navs.scss +6 -4
- package/src/scss/variables/_popovers.scss +53 -0
- package/src/scss/variables/_progress-bars.scss +2 -2
- package/src/scss/variables/_utilities.scss +24 -19
|
@@ -20,10 +20,15 @@ $navbar-text-truncate-max-width: 12.5rem !default; // 200px
|
|
|
20
20
|
$navbar-brand-font-size: $font-size-lg !default;
|
|
21
21
|
|
|
22
22
|
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
$
|
|
26
|
-
$navbar-brand-
|
|
23
|
+
// This is a string so we don't get nested calcs in `$navbar-brand-height` and `$navbar-brand-padding-y`
|
|
24
|
+
|
|
25
|
+
$nav-link-height: '#{$font-size-base} * #{$line-height-base} + #{$nav-link-padding-y} * 2' !default;
|
|
26
|
+
$navbar-brand-height: calc(
|
|
27
|
+
#{$navbar-brand-font-size} * #{$line-height-base}
|
|
28
|
+
) !default;
|
|
29
|
+
$navbar-brand-padding-y: calc(
|
|
30
|
+
(#{$nav-link-height} - #{$navbar-brand-height}) * 0.5
|
|
31
|
+
) !default;
|
|
27
32
|
|
|
28
33
|
// Navbar Toggler
|
|
29
34
|
|
|
@@ -59,10 +59,12 @@ $nav-btn-margin-x: 0.25rem !default; // 4px
|
|
|
59
59
|
|
|
60
60
|
/// @deprecated after v3.4.0 use the Sass map `$nav-btn` instead
|
|
61
61
|
|
|
62
|
-
$nav-btn-margin-y: (
|
|
63
|
-
|
|
64
|
-
$
|
|
65
|
-
|
|
62
|
+
$nav-btn-margin-y: calc(
|
|
63
|
+
(
|
|
64
|
+
(#{$line-height-base} * #{$font-size-base}) +
|
|
65
|
+
(#{$nav-link-padding-y} * 2) - #{$nav-item-monospaced-size}
|
|
66
|
+
) * 0.5
|
|
67
|
+
) !default;
|
|
66
68
|
|
|
67
69
|
/// @deprecated after v3.4.0 use the Sass map `$nav-btn` instead
|
|
68
70
|
|
|
@@ -106,6 +106,27 @@ $popover: map-deep-merge(
|
|
|
106
106
|
$popover
|
|
107
107
|
);
|
|
108
108
|
|
|
109
|
+
// Popovers
|
|
110
|
+
|
|
111
|
+
$popovers: () !default;
|
|
112
|
+
$popovers: map-deep-merge(
|
|
113
|
+
(
|
|
114
|
+
popover: $popover,
|
|
115
|
+
popover-secondary: (
|
|
116
|
+
box-shadow: 0 8px 16px 0 rgba($primary, 0.16),
|
|
117
|
+
popover-header: (
|
|
118
|
+
background-color: transparent,
|
|
119
|
+
border-color: transparent,
|
|
120
|
+
padding-bottom: 0,
|
|
121
|
+
),
|
|
122
|
+
close: (
|
|
123
|
+
color: $gray-600,
|
|
124
|
+
),
|
|
125
|
+
),
|
|
126
|
+
),
|
|
127
|
+
$popovers
|
|
128
|
+
);
|
|
129
|
+
|
|
109
130
|
// .popover-header
|
|
110
131
|
|
|
111
132
|
$popover-header: () !default;
|
|
@@ -134,6 +155,16 @@ $popover-header: map-deep-merge(
|
|
|
134
155
|
$popover-header
|
|
135
156
|
);
|
|
136
157
|
|
|
158
|
+
// Popover Headers
|
|
159
|
+
|
|
160
|
+
$popover-headers: () !default;
|
|
161
|
+
$popover-headers: map-deep-merge(
|
|
162
|
+
(
|
|
163
|
+
popover-header: $popover-header,
|
|
164
|
+
),
|
|
165
|
+
$popover-headers
|
|
166
|
+
);
|
|
167
|
+
|
|
137
168
|
// .popover-body
|
|
138
169
|
|
|
139
170
|
$popover-body: () !default;
|
|
@@ -149,6 +180,28 @@ $popover-body: map-merge(
|
|
|
149
180
|
$popover-body
|
|
150
181
|
);
|
|
151
182
|
|
|
183
|
+
// Popover Bodies
|
|
184
|
+
|
|
185
|
+
$popover-bodies: () !default;
|
|
186
|
+
$popover-bodies: map-deep-merge(
|
|
187
|
+
(
|
|
188
|
+
popover-body: $popover-body,
|
|
189
|
+
),
|
|
190
|
+
$popover-bodies
|
|
191
|
+
);
|
|
192
|
+
|
|
193
|
+
// Popover Widths
|
|
194
|
+
|
|
195
|
+
$popover-widths: () !default;
|
|
196
|
+
$popover-widths: map-deep-merge(
|
|
197
|
+
(
|
|
198
|
+
popover-width-lg: (
|
|
199
|
+
max-width: 421px,
|
|
200
|
+
),
|
|
201
|
+
),
|
|
202
|
+
$popover-widths
|
|
203
|
+
);
|
|
204
|
+
|
|
152
205
|
// .clay-popover-top, .clay-popover-top-left, .clay-popover-top-right
|
|
153
206
|
|
|
154
207
|
$clay-popover-top: () !default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$progress-bg: $gray-200 !default;
|
|
2
2
|
$progress-border-radius: $border-radius !default;
|
|
3
3
|
$progress-box-shadow: inset 0 0.1rem 0.1rem rgba($black, 0.1) !default;
|
|
4
|
-
$progress-font-size: $font-size-base * 0.75 !default;
|
|
4
|
+
$progress-font-size: calc(#{$font-size-base} * 0.75) !default;
|
|
5
5
|
$progress-height: 1rem !default;
|
|
6
6
|
$progress-min-width: 6.25rem !default;
|
|
7
7
|
|
|
@@ -15,7 +15,7 @@ $progress-bar-transition: width 0.6s ease !default;
|
|
|
15
15
|
|
|
16
16
|
$progress-border-radius-lg: $border-radius !default;
|
|
17
17
|
$progress-font-size-lg: $font-size-lg !default;
|
|
18
|
-
$progress-height-lg: $progress-height * 2 !default;
|
|
18
|
+
$progress-height-lg: calc(#{$progress-height} * 2) !default;
|
|
19
19
|
|
|
20
20
|
// Progress Group
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@ $autofit-padded-no-gutters-sm: map-merge(
|
|
|
23
23
|
// Close
|
|
24
24
|
|
|
25
25
|
$close-color: $black !default;
|
|
26
|
-
$close-font-size: $font-size-base * 1.5 !default;
|
|
26
|
+
$close-font-size: calc(#{$font-size-base} * 1.5) !default;
|
|
27
27
|
$close-font-weight: $font-weight-bold !default;
|
|
28
28
|
$close-text-shadow: 0 1px 0 $white !default;
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ $close: map-deep-merge(
|
|
|
33
33
|
align-items: center,
|
|
34
34
|
appearance: none,
|
|
35
35
|
background-color: transparent,
|
|
36
|
-
border-radius: $
|
|
36
|
+
border-radius: $border-radius-sm,
|
|
37
37
|
border-width: 0,
|
|
38
38
|
color: $close-color,
|
|
39
39
|
cursor: $link-cursor,
|
|
@@ -47,7 +47,10 @@ $close: map-deep-merge(
|
|
|
47
47
|
padding: 0,
|
|
48
48
|
text-align: center,
|
|
49
49
|
text-shadow: $close-text-shadow,
|
|
50
|
-
transition:
|
|
50
|
+
transition: #{color 0.15s ease-in-out,
|
|
51
|
+
background-color 0.15s ease-in-out,
|
|
52
|
+
border-color 0.15s ease-in-out,
|
|
53
|
+
box-shadow 0.15s ease-in-out},
|
|
51
54
|
width: 2rem,
|
|
52
55
|
hover: (
|
|
53
56
|
color: $close-color,
|
|
@@ -55,6 +58,8 @@ $close: map-deep-merge(
|
|
|
55
58
|
text-decoration: none,
|
|
56
59
|
),
|
|
57
60
|
focus: (
|
|
61
|
+
box-shadow: $input-btn-focus-box-shadow,
|
|
62
|
+
outline: 0,
|
|
58
63
|
opacity: 0.75,
|
|
59
64
|
),
|
|
60
65
|
disabled: (
|
|
@@ -62,13 +67,13 @@ $close: map-deep-merge(
|
|
|
62
67
|
cursor: $disabled-cursor,
|
|
63
68
|
opacity: 0.25,
|
|
64
69
|
outline: 0,
|
|
70
|
+
active: (
|
|
71
|
+
pointer-events: none,
|
|
72
|
+
),
|
|
65
73
|
),
|
|
66
|
-
|
|
67
|
-
|
|
74
|
+
lexicon-icon: (
|
|
75
|
+
margin-top: 0,
|
|
68
76
|
),
|
|
69
|
-
btn-focus-box-shadow: $input-btn-focus-box-shadow,
|
|
70
|
-
btn-focus-outline: 0,
|
|
71
|
-
lexicon-icon-margin-top: 0,
|
|
72
77
|
),
|
|
73
78
|
$close
|
|
74
79
|
);
|
|
@@ -311,37 +316,37 @@ $font-sizes: () !default;
|
|
|
311
316
|
$font-sizes: map-deep-merge(
|
|
312
317
|
(
|
|
313
318
|
text-1: (
|
|
314
|
-
font-size:
|
|
319
|
+
font-size: map-get($font-scale, 1),
|
|
315
320
|
),
|
|
316
321
|
text-2: (
|
|
317
|
-
font-size:
|
|
322
|
+
font-size: map-get($font-scale, 2),
|
|
318
323
|
),
|
|
319
324
|
text-3: (
|
|
320
|
-
font-size:
|
|
325
|
+
font-size: map-get($font-scale, 3),
|
|
321
326
|
),
|
|
322
327
|
text-4: (
|
|
323
|
-
font-size:
|
|
328
|
+
font-size: map-get($font-scale, 4),
|
|
324
329
|
),
|
|
325
330
|
text-5: (
|
|
326
|
-
font-size:
|
|
331
|
+
font-size: map-get($font-scale, 5),
|
|
327
332
|
),
|
|
328
333
|
text-6: (
|
|
329
|
-
font-size:
|
|
334
|
+
font-size: map-get($font-scale, 6),
|
|
330
335
|
),
|
|
331
336
|
text-7: (
|
|
332
|
-
font-size:
|
|
337
|
+
font-size: map-get($font-scale, 7),
|
|
333
338
|
),
|
|
334
339
|
text-8: (
|
|
335
|
-
font-size:
|
|
340
|
+
font-size: map-get($font-scale, 8),
|
|
336
341
|
),
|
|
337
342
|
text-9: (
|
|
338
|
-
font-size:
|
|
343
|
+
font-size: map-get($font-scale, 9),
|
|
339
344
|
),
|
|
340
345
|
text-10: (
|
|
341
|
-
font-size:
|
|
346
|
+
font-size: map-get($font-scale, 10),
|
|
342
347
|
),
|
|
343
348
|
text-11: (
|
|
344
|
-
font-size:
|
|
349
|
+
font-size: map-get($font-scale, 11),
|
|
345
350
|
),
|
|
346
351
|
),
|
|
347
352
|
$font-sizes
|