@clayui/css 3.50.0 → 3.51.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 +945 -458
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +965 -471
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +542 -254
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/book.svg +10 -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/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/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/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/components/_custom-forms.scss +9 -7
- package/src/scss/components/_tables.scss +0 -6
- package/src/scss/functions/_lx-icons-generated.scss +37 -1
- package/src/scss/mixins/_globals.scss +0 -36
- package/src/scss/mixins/_nav-nested.scss +2 -2
- package/src/scss/mixins/_navbar.scss +121 -107
- package/src/scss/variables/_dropdowns.scss +1 -2
- package/src/scss/variables/_globals.scss +28 -10
- package/src/scss/variables/_navbar.scss +9 -4
- package/src/scss/variables/_navs.scss +6 -4
- package/src/scss/variables/_progress-bars.scss +2 -2
- package/src/scss/variables/_utilities.scss +24 -19
|
@@ -10,6 +10,16 @@
|
|
|
10
10
|
$cadmin-grid-breakpoints
|
|
11
11
|
);
|
|
12
12
|
|
|
13
|
+
$_line-height-base: if(
|
|
14
|
+
variable-exists(line-height-base),
|
|
15
|
+
$line-height-base,
|
|
16
|
+
if(
|
|
17
|
+
variable-exists(cadmin-line-height-base),
|
|
18
|
+
$cadmin-line-height-base,
|
|
19
|
+
1.5
|
|
20
|
+
)
|
|
21
|
+
);
|
|
22
|
+
|
|
13
23
|
$scaling-navbar: setter(map-get($map, scaling-navbar), false);
|
|
14
24
|
$container-padding-x: map-get($map, container-padding-x);
|
|
15
25
|
$container-padding-x-mobile: setter(
|
|
@@ -18,17 +28,21 @@
|
|
|
18
28
|
);
|
|
19
29
|
|
|
20
30
|
$height: setter(map-get($map, height), 3.5rem);
|
|
21
|
-
$border-bottom-width: setter(map-get($map, border-bottom-width),
|
|
22
|
-
$border-left-width: setter(map-get($map, border-left-width),
|
|
23
|
-
$border-right-width: setter(map-get($map, border-right-width),
|
|
24
|
-
$border-top-width: setter(map-get($map, border-top-width),
|
|
31
|
+
$border-bottom-width: setter(map-get($map, border-bottom-width), 0px);
|
|
32
|
+
$border-left-width: setter(map-get($map, border-left-width), 0px);
|
|
33
|
+
$border-right-width: setter(map-get($map, border-right-width), 0px);
|
|
34
|
+
$border-top-width: setter(map-get($map, border-top-width), 0px);
|
|
25
35
|
$box-shadow: map-get($map, box-shadow);
|
|
26
36
|
$font-size: setter(
|
|
27
37
|
map-get($map, font-size),
|
|
28
38
|
if(
|
|
29
39
|
variable-exists(font-size-base),
|
|
30
40
|
$font-size-base,
|
|
31
|
-
|
|
41
|
+
if(
|
|
42
|
+
variable-exists(cadmin-font-size-base),
|
|
43
|
+
$cadmin-font-size-base,
|
|
44
|
+
1rem
|
|
45
|
+
)
|
|
32
46
|
)
|
|
33
47
|
);
|
|
34
48
|
$min-height: map-get($map, min-height);
|
|
@@ -37,7 +51,11 @@
|
|
|
37
51
|
if(
|
|
38
52
|
variable-exists(navbar-padding-x),
|
|
39
53
|
$navbar-padding-x,
|
|
40
|
-
|
|
54
|
+
if(
|
|
55
|
+
variable-exists(cadmin-navbar-padding-x),
|
|
56
|
+
$cadmin-navbar-padding-x,
|
|
57
|
+
null
|
|
58
|
+
)
|
|
41
59
|
)
|
|
42
60
|
);
|
|
43
61
|
$padding-y: setter(
|
|
@@ -45,18 +63,29 @@
|
|
|
45
63
|
if(
|
|
46
64
|
variable-exists(navbar-padding-y),
|
|
47
65
|
$navbar-padding-y,
|
|
48
|
-
|
|
66
|
+
if(
|
|
67
|
+
variable-exists(cadmin-navbar-padding-y),
|
|
68
|
+
$cadmin-navbar-padding-y,
|
|
69
|
+
null
|
|
70
|
+
)
|
|
49
71
|
)
|
|
50
72
|
);
|
|
73
|
+
$padding-y: if($padding-y == 0 or $padding-y == null, 0px, $padding-y);
|
|
51
74
|
$link-height: setter(
|
|
52
75
|
map-get($map, link-height),
|
|
53
|
-
$height - $border-bottom-width - $border-top-width -
|
|
76
|
+
'#{$height} - #{$border-bottom-width} - #{$border-top-width} - #{$padding-y} * 2'
|
|
54
77
|
);
|
|
78
|
+
|
|
55
79
|
$link-margin-x: map-get($map, link-margin-x);
|
|
56
80
|
$link-margin-y: setter(
|
|
57
81
|
map-get($map, link-margin-y),
|
|
58
|
-
(
|
|
59
|
-
|
|
82
|
+
calc(
|
|
83
|
+
(
|
|
84
|
+
(
|
|
85
|
+
#{$height} - #{$border-bottom-width} - #{$border-top-width}
|
|
86
|
+
) - #{$link-height}
|
|
87
|
+
) * 0.5
|
|
88
|
+
)
|
|
60
89
|
);
|
|
61
90
|
$link-padding-x: setter(
|
|
62
91
|
map-get($map, link-padding-x),
|
|
@@ -69,17 +98,10 @@
|
|
|
69
98
|
$link-padding-y: setter(
|
|
70
99
|
map-get($map, link-padding-y),
|
|
71
100
|
(
|
|
72
|
-
(
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
if(
|
|
77
|
-
variable-exists(line-height-base),
|
|
78
|
-
$line-height-base,
|
|
79
|
-
$cadmin-line-height-base
|
|
80
|
-
)
|
|
81
|
-
)
|
|
82
|
-
) * 0.5
|
|
101
|
+
calc(
|
|
102
|
+
(#{$link-height} - (#{$font-size} * #{$_line-height-base})) *
|
|
103
|
+
0.5
|
|
104
|
+
)
|
|
83
105
|
)
|
|
84
106
|
);
|
|
85
107
|
$btn-font-size: setter(map-get($map, btn-font-size), $font-size);
|
|
@@ -88,19 +110,20 @@
|
|
|
88
110
|
$btn-margin-x: setter(map-get($map, btn-margin-x), $link-padding-x);
|
|
89
111
|
$btn-margin-y: setter(
|
|
90
112
|
map-get($map, btn-margin-y),
|
|
91
|
-
(
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
113
|
+
calc(
|
|
114
|
+
(
|
|
115
|
+
#{$height} - #{$border-bottom-width} - #{$border-top-width} -
|
|
116
|
+
#{$padding-y} * 2 - #{if(
|
|
117
|
+
$btn-monospaced-size,
|
|
118
|
+
$btn-monospaced-size,
|
|
119
|
+
if(
|
|
120
|
+
variable-exists(nav-item-monospaced-size),
|
|
121
|
+
$nav-item-monospaced-size,
|
|
122
|
+
$cadmin-nav-item-monospaced-size
|
|
123
|
+
)
|
|
124
|
+
)}
|
|
125
|
+
) * 0.5
|
|
126
|
+
)
|
|
104
127
|
);
|
|
105
128
|
$btn-padding-x: setter(map-get($map, btn-padding-x), $link-padding-x);
|
|
106
129
|
$btn-padding-y: setter(map-get($map, btn-padding-y), $link-padding-y);
|
|
@@ -122,18 +145,13 @@
|
|
|
122
145
|
$brand-padding-y: setter(
|
|
123
146
|
map-get($map, brand-padding-y),
|
|
124
147
|
(
|
|
125
|
-
(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
$brand-font-size *
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
$line-height-base,
|
|
133
|
-
$cadmin-line-height-base
|
|
134
|
-
)
|
|
135
|
-
)
|
|
136
|
-
) * 0.5
|
|
148
|
+
calc(
|
|
149
|
+
(
|
|
150
|
+
#{$height} - #{$border-bottom-width} - #{$border-top-width} -
|
|
151
|
+
#{$padding-y} * 2 -
|
|
152
|
+
(#{$brand-font-size} * #{$_line-height-base})
|
|
153
|
+
) * 0.5
|
|
154
|
+
)
|
|
137
155
|
)
|
|
138
156
|
);
|
|
139
157
|
$title-font-size: map-get($map, title-font-size);
|
|
@@ -147,8 +165,7 @@
|
|
|
147
165
|
$min-height-mobile: map-get($map, min-height-mobile);
|
|
148
166
|
$link-height-mobile: setter(
|
|
149
167
|
map-get($map, link-height-mobile),
|
|
150
|
-
$height-mobile - $border-bottom-width - $border-top-width -
|
|
151
|
-
($padding-y * 2)
|
|
168
|
+
'#{$height-mobile} - #{$border-bottom-width} - #{$border-top-width} - #{$padding-y} * 2'
|
|
152
169
|
);
|
|
153
170
|
$link-margin-x-mobile: setter(
|
|
154
171
|
map-get($map, link-margin-x-mobile),
|
|
@@ -156,10 +173,13 @@
|
|
|
156
173
|
);
|
|
157
174
|
$link-margin-y-mobile: setter(
|
|
158
175
|
map-get($map, link-margin-y-mobile),
|
|
159
|
-
(
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
176
|
+
calc(
|
|
177
|
+
(
|
|
178
|
+
(
|
|
179
|
+
#{$height-mobile} - #{$border-bottom-width} - #{$border-top-width}
|
|
180
|
+
) - #{$link-height-mobile}
|
|
181
|
+
) * 0.5
|
|
182
|
+
)
|
|
163
183
|
);
|
|
164
184
|
$link-padding-x-mobile: setter(
|
|
165
185
|
map-get($map, link-padding-x-mobile),
|
|
@@ -167,17 +187,11 @@
|
|
|
167
187
|
);
|
|
168
188
|
$link-padding-y-mobile: setter(
|
|
169
189
|
map-get($map, link-padding-y-mobile),
|
|
170
|
-
(
|
|
171
|
-
|
|
172
|
-
(
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
variable-exists(line-height-base),
|
|
176
|
-
$line-height-base,
|
|
177
|
-
$cadmin-line-height-base
|
|
178
|
-
)
|
|
179
|
-
)
|
|
180
|
-
) * 0.5
|
|
190
|
+
calc(
|
|
191
|
+
(
|
|
192
|
+
#{$link-height-mobile} - (#{$font-size-mobile} * #{$_line-height-base})
|
|
193
|
+
) * 0.5
|
|
194
|
+
)
|
|
181
195
|
);
|
|
182
196
|
$btn-font-size-mobile: setter(
|
|
183
197
|
map-get($map, btn-font-size-mobile),
|
|
@@ -197,19 +211,20 @@
|
|
|
197
211
|
);
|
|
198
212
|
$btn-margin-y-mobile: setter(
|
|
199
213
|
map-get($map, btn-margin-y-mobile),
|
|
200
|
-
(
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
214
|
+
calc(
|
|
215
|
+
(
|
|
216
|
+
#{$height-mobile} - #{$border-bottom-width} - #{$border-top-width} -
|
|
217
|
+
#{$padding-y} * 2 - #{if(
|
|
218
|
+
$btn-monospaced-size-mobile,
|
|
219
|
+
$btn-monospaced-size-mobile,
|
|
220
|
+
if(
|
|
221
|
+
variable-exists(nav-item-monospaced-size),
|
|
222
|
+
$nav-item-monospaced-size,
|
|
223
|
+
$cadmin-nav-item-monospaced-size
|
|
224
|
+
)
|
|
225
|
+
)}
|
|
226
|
+
) * 0.5
|
|
227
|
+
)
|
|
213
228
|
);
|
|
214
229
|
$btn-padding-x-mobile: setter(
|
|
215
230
|
map-get($map, btn-padding-x-mobile),
|
|
@@ -239,18 +254,12 @@
|
|
|
239
254
|
$brand-padding-y-mobile: setter(
|
|
240
255
|
map-get($map, brand-padding-y-mobile),
|
|
241
256
|
(
|
|
242
|
-
(
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
variable-exists(line-height-base),
|
|
249
|
-
$line-height-base,
|
|
250
|
-
$cadmin-line-height-base
|
|
251
|
-
)
|
|
252
|
-
)
|
|
253
|
-
) * 0.5
|
|
257
|
+
calc(
|
|
258
|
+
(
|
|
259
|
+
#{$height-mobile} - #{$border-bottom-width} - #{$border-top-width} -
|
|
260
|
+
#{$padding-y} * 2 - #{$brand-font-size-mobile} * #{$_line-height-base}
|
|
261
|
+
) * 0.5
|
|
262
|
+
)
|
|
254
263
|
)
|
|
255
264
|
);
|
|
256
265
|
$collapse-dropdown-item-padding-x-mobile: map-get(
|
|
@@ -272,7 +281,7 @@
|
|
|
272
281
|
);
|
|
273
282
|
$toggler-height: setter(
|
|
274
283
|
map-get($map, toggler-height),
|
|
275
|
-
$height-mobile * 0.66667
|
|
284
|
+
calc(#{$height-mobile} * 0.66667)
|
|
276
285
|
);
|
|
277
286
|
$toggler-margin-x: setter(
|
|
278
287
|
map-get($map, toggler-margin-x),
|
|
@@ -303,11 +312,7 @@
|
|
|
303
312
|
$toggler-link-height: setter(map-get($map, toggler-link-height), auto);
|
|
304
313
|
$toggler-link-line-height: setter(
|
|
305
314
|
map-get($map, toggler-link-line-height),
|
|
306
|
-
|
|
307
|
-
variable-exists(line-height-base),
|
|
308
|
-
$line-height-base,
|
|
309
|
-
$cadmin-line-height-base
|
|
310
|
-
)
|
|
315
|
+
$_line-height-base
|
|
311
316
|
);
|
|
312
317
|
$toggler-link-margin-x: setter(map-get($map, toggler-link-margin-x), 0);
|
|
313
318
|
$toggler-link-margin-y: map-get($map, toggler-link-margin-y);
|
|
@@ -317,11 +322,12 @@
|
|
|
317
322
|
);
|
|
318
323
|
$toggler-link-padding-y: setter(
|
|
319
324
|
map-get($map, toggler-link-padding-y),
|
|
320
|
-
(
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
+
calc(
|
|
326
|
+
(
|
|
327
|
+
#{$height-mobile} - #{$border-bottom-width} - #{$border-top-width} -
|
|
328
|
+
#{$padding-y} * 2 - #{$toggler-link-font-size} * #{$toggler-link-line-height}
|
|
329
|
+
) * 0.5
|
|
330
|
+
)
|
|
325
331
|
);
|
|
326
332
|
|
|
327
333
|
$active-border-bottom-width: setter(
|
|
@@ -331,13 +337,16 @@
|
|
|
331
337
|
$active-border-offset-x: map-get($map, active-border-offset-x);
|
|
332
338
|
$active-border-offset-bottom: setter(
|
|
333
339
|
map-get($map, active-border-offset-bottom),
|
|
334
|
-
|
|
340
|
+
calc((#{$border-bottom-width} + #{$padding-y} + #{$link-margin-y}) * -1)
|
|
335
341
|
);
|
|
336
342
|
$active-border-offset-top: map-get($map, active-border-offset-top);
|
|
337
343
|
|
|
338
344
|
$active-border-offset-bottom-mobile: setter(
|
|
339
345
|
map-get($map, active-border-offset-bottom-mobile),
|
|
340
|
-
|
|
346
|
+
calc(
|
|
347
|
+
(#{$border-bottom-width} + #{$padding-y} + #{$link-margin-y-mobile}) *
|
|
348
|
+
-1
|
|
349
|
+
)
|
|
341
350
|
);
|
|
342
351
|
|
|
343
352
|
@if ($enabled) {
|
|
@@ -634,8 +643,10 @@
|
|
|
634
643
|
}
|
|
635
644
|
|
|
636
645
|
.navbar-form {
|
|
637
|
-
height:
|
|
638
|
-
$border-
|
|
646
|
+
height: calc(
|
|
647
|
+
#{$height-mobile} - #{$border-bottom-width} -
|
|
648
|
+
#{$border-top-width}
|
|
649
|
+
);
|
|
639
650
|
padding-bottom: $link-padding-y-mobile;
|
|
640
651
|
padding-left: $link-padding-x-mobile;
|
|
641
652
|
padding-right: $link-padding-x-mobile;
|
|
@@ -696,9 +707,11 @@
|
|
|
696
707
|
|
|
697
708
|
.navbar-form {
|
|
698
709
|
@if ($scaling-navbar) {
|
|
699
|
-
height:
|
|
700
|
-
$
|
|
701
|
-
|
|
710
|
+
height: calc(
|
|
711
|
+
#{$height} -
|
|
712
|
+
#{$border-bottom-width} -
|
|
713
|
+
#{$border-top-width}
|
|
714
|
+
);
|
|
702
715
|
padding-left: $link-padding-x;
|
|
703
716
|
padding-right: $link-padding-x;
|
|
704
717
|
|
|
@@ -1250,7 +1263,8 @@
|
|
|
1250
1263
|
$map,
|
|
1251
1264
|
navbar-nav,
|
|
1252
1265
|
nav-link,
|
|
1253
|
-
focus
|
|
1266
|
+
focus,
|
|
1267
|
+
color
|
|
1254
1268
|
)
|
|
1255
1269
|
),
|
|
1256
1270
|
),
|
|
@@ -199,7 +199,6 @@ $dropdown-item-base: map-deep-merge(
|
|
|
199
199
|
),
|
|
200
200
|
active-class: (
|
|
201
201
|
font-weight: $dropdown-link-active-font-weight,
|
|
202
|
-
pointer-events: none,
|
|
203
202
|
),
|
|
204
203
|
disabled: (
|
|
205
204
|
background-color: transparent,
|
|
@@ -215,7 +214,7 @@ $dropdown-item-base: map-deep-merge(
|
|
|
215
214
|
),
|
|
216
215
|
),
|
|
217
216
|
c-kbd-inline: (
|
|
218
|
-
line-height: $dropdown-font-size * $line-height-base,
|
|
217
|
+
line-height: calc(#{$dropdown-font-size} * #{$line-height-base}),
|
|
219
218
|
),
|
|
220
219
|
'&.autofit-row': (
|
|
221
220
|
padding-left: 1rem,
|
|
@@ -350,9 +350,27 @@ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
|
|
|
350
350
|
|
|
351
351
|
$font-family-base: $font-family-sans-serif !default;
|
|
352
352
|
|
|
353
|
-
$font-
|
|
354
|
-
$font-
|
|
355
|
-
|
|
353
|
+
$font-scale: () !default;
|
|
354
|
+
$font-scale: map-merge(
|
|
355
|
+
(
|
|
356
|
+
1: 0.625rem,
|
|
357
|
+
2: 0.75rem,
|
|
358
|
+
3: 0.875rem,
|
|
359
|
+
4: 1rem,
|
|
360
|
+
5: 1.125rem,
|
|
361
|
+
6: 1.25rem,
|
|
362
|
+
7: 1.5rem,
|
|
363
|
+
8: 1.75rem,
|
|
364
|
+
9: 2rem,
|
|
365
|
+
10: 2.25rem,
|
|
366
|
+
11: 2.5rem,
|
|
367
|
+
),
|
|
368
|
+
$font-scale
|
|
369
|
+
);
|
|
370
|
+
|
|
371
|
+
$font-size-base: map-get($font-scale, 4) !default;
|
|
372
|
+
$font-size-lg: map-get($font-scale, 6) !default;
|
|
373
|
+
$font-size-sm: map-get($font-scale, 3) !default;
|
|
356
374
|
|
|
357
375
|
$font-size-base-mobile: $font-size-base !default;
|
|
358
376
|
$font-size-lg-mobile: $font-size-lg !default;
|
|
@@ -370,7 +388,7 @@ $line-height-base: 1.5 !default;
|
|
|
370
388
|
|
|
371
389
|
// h1, .h1
|
|
372
390
|
|
|
373
|
-
$h1-font-size: $font-size-base * 2.5 !default;
|
|
391
|
+
$h1-font-size: calc(#{$font-size-base} * 2.5) !default;
|
|
374
392
|
$h1-font-size-mobile: null !default;
|
|
375
393
|
|
|
376
394
|
$h1: () !default;
|
|
@@ -388,7 +406,7 @@ $h1: map-deep-merge(
|
|
|
388
406
|
|
|
389
407
|
// h2, .h2
|
|
390
408
|
|
|
391
|
-
$h2-font-size: $font-size-base * 2 !default;
|
|
409
|
+
$h2-font-size: calc(#{$font-size-base} * 2) !default;
|
|
392
410
|
$h2-font-size-mobile: null !default;
|
|
393
411
|
|
|
394
412
|
$h2: () !default;
|
|
@@ -406,7 +424,7 @@ $h2: map-deep-merge(
|
|
|
406
424
|
|
|
407
425
|
// h3, .h3
|
|
408
426
|
|
|
409
|
-
$h3-font-size: $font-size-base * 1.75 !default;
|
|
427
|
+
$h3-font-size: calc(#{$font-size-base} * 1.75) !default;
|
|
410
428
|
$h3-font-size-mobile: null !default;
|
|
411
429
|
|
|
412
430
|
$h3: () !default;
|
|
@@ -424,7 +442,7 @@ $h3: map-deep-merge(
|
|
|
424
442
|
|
|
425
443
|
// h4, .h4
|
|
426
444
|
|
|
427
|
-
$h4-font-size: $font-size-base * 1.5 !default;
|
|
445
|
+
$h4-font-size: calc(#{$font-size-base} * 1.5) !default;
|
|
428
446
|
$h4-font-size-mobile: null !default;
|
|
429
447
|
|
|
430
448
|
$h4: () !default;
|
|
@@ -442,7 +460,7 @@ $h4: map-deep-merge(
|
|
|
442
460
|
|
|
443
461
|
// h5, .h5
|
|
444
462
|
|
|
445
|
-
$h5-font-size: $font-size-base * 1.25 !default;
|
|
463
|
+
$h5-font-size: calc(#{$font-size-base} * 1.25) !default;
|
|
446
464
|
$h5-font-size-mobile: null !default;
|
|
447
465
|
|
|
448
466
|
$h5: () !default;
|
|
@@ -626,7 +644,7 @@ $display-4: map-deep-merge(
|
|
|
626
644
|
$display-4
|
|
627
645
|
);
|
|
628
646
|
|
|
629
|
-
$lead-font-size: $font-size-base * 1.25 !default;
|
|
647
|
+
$lead-font-size: calc(#{$font-size-base} * 1.25) !default;
|
|
630
648
|
$lead-font-weight: 300 !default;
|
|
631
649
|
|
|
632
650
|
$small-font-size: 80% !default;
|
|
@@ -635,7 +653,7 @@ $text-muted: $gray-600 !default;
|
|
|
635
653
|
|
|
636
654
|
$blockquote-small-color: $gray-600 !default;
|
|
637
655
|
$blockquote-small-font-size: $small-font-size !default;
|
|
638
|
-
$blockquote-font-size: $font-size-base * 1.25 !default;
|
|
656
|
+
$blockquote-font-size: calc(#{$font-size-base} * 1.25) !default;
|
|
639
657
|
|
|
640
658
|
$hr-border-color: rgba($black, 0.1) !default;
|
|
641
659
|
$hr-border-width: $border-width !default;
|
|
@@ -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
|
|
|
@@ -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
|