@clayui/css 3.45.0 → 3.48.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/README.md +23 -69
- package/lib/css/atlas.css +265 -97
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +219 -79
- package/lib/css/base.css.map +1 -1
- package/lib/css/bootstrap.css.map +1 -1
- package/lib/css/cadmin.css +182 -76
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/export.svg +11 -0
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/images/icons/export.svg +11 -0
- package/src/scss/_cadmin-variables.scss +2 -0
- package/src/scss/_variables.scss +1 -0
- package/src/scss/atlas/variables/_buttons.scss +3 -0
- package/src/scss/atlas/variables/_cards.scss +12 -0
- package/src/scss/atlas/variables/_globals.scss +42 -13
- package/src/scss/atlas/variables/_list-group.scss +28 -12
- package/src/scss/atlas-variables.scss +2 -0
- package/src/scss/atlas.scss +2 -0
- package/src/scss/base-variables.scss +2 -0
- package/src/scss/base.scss +2 -0
- package/src/scss/cadmin/_variables.scss +1 -0
- package/src/scss/cadmin/components/_aspect-ratio.scss +25 -38
- package/src/scss/cadmin/components/_cards.scss +10 -120
- package/src/scss/cadmin/components/_empty-state.scss +36 -0
- package/src/scss/cadmin/components/_links.scss +0 -8
- package/src/scss/cadmin/components/_treeview.scss +58 -1
- package/src/scss/cadmin/components/_type.scss +27 -42
- package/src/scss/cadmin/components/_utilities-functional-important.scss +35 -15
- package/src/scss/cadmin/variables/_aspect-ratio.scss +26 -0
- package/src/scss/cadmin/variables/_cards.scss +164 -1
- package/src/scss/cadmin/variables/_empty-state.scss +23 -0
- package/src/scss/cadmin/variables/_globals.scss +173 -11
- package/src/scss/cadmin/variables/_links.scss +14 -0
- package/src/scss/cadmin/variables/_list-group.scss +32 -16
- package/src/scss/cadmin/variables/_sidebar.scss +1 -1
- package/src/scss/cadmin/variables/_treeview.scss +17 -1
- package/src/scss/cadmin/variables/_utilities.scss +42 -0
- package/src/scss/cadmin.scss +2 -0
- package/src/scss/components/_aspect-ratio.scss +25 -38
- package/src/scss/components/_cards.scss +28 -122
- package/src/scss/components/_custom-forms.scss +2 -2
- package/src/scss/components/_dropdowns.scss +0 -28
- package/src/scss/components/_empty-state.scss +30 -0
- package/src/scss/components/_links.scss +1 -9
- package/src/scss/components/_multi-step-nav.scss +11 -5
- package/src/scss/components/_tables.scss +0 -8
- package/src/scss/components/_treeview.scss +58 -1
- package/src/scss/components/_type.scss +27 -41
- package/src/scss/components/_utilities-functional-important.scss +35 -15
- package/src/scss/functions/_lx-icons-generated.scss +2 -0
- package/src/scss/mixins/_alerts.scss +180 -113
- package/src/scss/mixins/_buttons.scss +4 -0
- package/src/scss/mixins/_cards.scss +59 -25
- package/src/scss/mixins/_dropdown-menu.scss +17 -0
- package/src/scss/mixins/_grid.scss +29 -0
- package/src/scss/mixins/_links.scss +22 -2
- package/src/scss/variables/_aspect-ratio.scss +26 -0
- package/src/scss/variables/_buttons.scss +6 -0
- package/src/scss/variables/_cards.scss +158 -4
- package/src/scss/variables/_custom-forms.scss +19 -4
- package/src/scss/variables/_dropdowns.scss +45 -0
- package/src/scss/variables/_empty-state.scss +23 -0
- package/src/scss/variables/_globals.scss +172 -11
- package/src/scss/variables/_links.scss +21 -3
- package/src/scss/variables/_list-group.scss +22 -12
- package/src/scss/variables/_multi-step-nav.scss +6 -0
- package/src/scss/variables/_range.scss +4 -2
- package/src/scss/variables/_sidebar.scss +3 -3
- package/src/scss/variables/_stickers.scss +3 -3
- package/src/scss/variables/_tables.scss +14 -0
- package/src/scss/variables/_toggle-switch.scss +14 -2
- package/src/scss/variables/_treeview.scss +21 -1
- package/src/scss/variables/_utilities.scss +42 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
$aspect-ratio-sizes: () !default;
|
|
2
|
+
$aspect-ratio-sizes: map-deep-merge(
|
|
3
|
+
(
|
|
4
|
+
aspect-ratio-3-to-2: (
|
|
5
|
+
height: 2,
|
|
6
|
+
width: 3,
|
|
7
|
+
),
|
|
8
|
+
aspect-ratio-4-to-3: (
|
|
9
|
+
height: 3,
|
|
10
|
+
width: 4,
|
|
11
|
+
),
|
|
12
|
+
aspect-ratio-8-to-3: (
|
|
13
|
+
height: 3,
|
|
14
|
+
width: 8,
|
|
15
|
+
),
|
|
16
|
+
aspect-ratio-8-to-5: (
|
|
17
|
+
height: 5,
|
|
18
|
+
width: 8,
|
|
19
|
+
),
|
|
20
|
+
aspect-ratio-16-to-9: (
|
|
21
|
+
height: 9,
|
|
22
|
+
width: 16,
|
|
23
|
+
),
|
|
24
|
+
),
|
|
25
|
+
$aspect-ratio-sizes
|
|
26
|
+
);
|
|
@@ -92,6 +92,9 @@ $btn: map-deep-merge(
|
|
|
92
92
|
),
|
|
93
93
|
inline-item: (
|
|
94
94
|
font-size: $btn-inline-item-font-size,
|
|
95
|
+
lexicon-icon: (
|
|
96
|
+
margin-top: 0,
|
|
97
|
+
),
|
|
95
98
|
),
|
|
96
99
|
btn-section: (
|
|
97
100
|
display: block,
|
|
@@ -226,6 +229,9 @@ $btn-monospaced: map-deep-merge(
|
|
|
226
229
|
height: $btn-monospaced-size-mobile,
|
|
227
230
|
width: $btn-monospaced-size-mobile,
|
|
228
231
|
),
|
|
232
|
+
lexicon-icon: (
|
|
233
|
+
margin-top: 0,
|
|
234
|
+
),
|
|
229
235
|
c-inner: (
|
|
230
236
|
align-items: center,
|
|
231
237
|
display: flex,
|
|
@@ -19,11 +19,35 @@ $card-spacer-y: 0.75rem !default;
|
|
|
19
19
|
$card-cap-bg: rgba($black, 0.03) !default;
|
|
20
20
|
$card-cap-color: null !default;
|
|
21
21
|
|
|
22
|
+
// .card-body
|
|
23
|
+
|
|
22
24
|
$card-body-padding-bottom: $card-spacer-x !default;
|
|
23
25
|
$card-body-padding-left: $card-spacer-x !default;
|
|
24
26
|
$card-body-padding-right: $card-spacer-x !default;
|
|
25
27
|
$card-body-padding-top: $card-spacer-x !default;
|
|
26
28
|
|
|
29
|
+
// Enable `flex-grow: 1` for decks and groups so that card blocks take up
|
|
30
|
+
// as much space as possible, ensuring footers are aligned to the bottom.
|
|
31
|
+
|
|
32
|
+
// `min-height` workaround for the image size bug in IE
|
|
33
|
+
// See: https://github.com/twbs/bootstrap/pull/28855
|
|
34
|
+
|
|
35
|
+
$card-body: () !default;
|
|
36
|
+
$card-body: map-deep-merge(
|
|
37
|
+
(
|
|
38
|
+
color: $card-color,
|
|
39
|
+
flex: 1 1 auto,
|
|
40
|
+
min-height: 1px,
|
|
41
|
+
padding-bottom: $card-body-padding-bottom,
|
|
42
|
+
padding-left: $card-body-padding-left,
|
|
43
|
+
padding-right: $card-body-padding-right,
|
|
44
|
+
padding-top: $card-body-padding-top,
|
|
45
|
+
),
|
|
46
|
+
$card-body
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
// .card-section-header
|
|
50
|
+
|
|
27
51
|
$card-section-header-color: $gray-600 !default;
|
|
28
52
|
$card-section-header-font-size: 0.75rem !default;
|
|
29
53
|
$card-section-header-font-weight: $font-weight-semi-bold !default;
|
|
@@ -32,6 +56,20 @@ $card-section-header-margin-bottom: 1.5rem !default;
|
|
|
32
56
|
$card-section-header-padding: 0 ($grid-gutter-width * 0.5) !default;
|
|
33
57
|
$card-section-header-text-transform: uppercase !default;
|
|
34
58
|
|
|
59
|
+
$card-section-header: () !default;
|
|
60
|
+
$card-section-header: map-deep-merge(
|
|
61
|
+
(
|
|
62
|
+
color: $card-section-header-color,
|
|
63
|
+
font-size: $card-section-header-font-size,
|
|
64
|
+
font-weight: $card-section-header-font-weight,
|
|
65
|
+
line-height: $card-section-header-line-height,
|
|
66
|
+
margin-bottom: $card-section-header-margin-bottom,
|
|
67
|
+
padding: $card-section-header-padding,
|
|
68
|
+
text-transform: $card-section-header-text-transform,
|
|
69
|
+
),
|
|
70
|
+
$card-section-header
|
|
71
|
+
);
|
|
72
|
+
|
|
35
73
|
/// @deprecated as of v3.x with no replacement
|
|
36
74
|
|
|
37
75
|
$card-img-overlay-padding: 1.25rem !default;
|
|
@@ -130,7 +168,42 @@ $card-aspect-ratio-item-bottom-left: map-deep-merge(
|
|
|
130
168
|
$card-aspect-ratio-item-bottom-left
|
|
131
169
|
);
|
|
132
170
|
|
|
133
|
-
//
|
|
171
|
+
// min-width, see https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
|
|
172
|
+
|
|
173
|
+
$card: () !default;
|
|
174
|
+
$card: map-deep-merge(
|
|
175
|
+
(
|
|
176
|
+
background-color: $card-bg,
|
|
177
|
+
border-color: $card-border-color,
|
|
178
|
+
border-radius: clay-enable-rounded($card-border-radius),
|
|
179
|
+
border-style: $card-border-style,
|
|
180
|
+
border-width: $card-border-width,
|
|
181
|
+
box-shadow: clay-enable-shadows($card-box-shadow),
|
|
182
|
+
display: block,
|
|
183
|
+
height: $card-height,
|
|
184
|
+
margin-bottom: $card-margin-bottom,
|
|
185
|
+
min-width: 0,
|
|
186
|
+
position: relative,
|
|
187
|
+
word-wrap: break-word,
|
|
188
|
+
aspect-ratio: (
|
|
189
|
+
label: $card-aspect-ratio-label,
|
|
190
|
+
),
|
|
191
|
+
aspect-ratio-item-top-left: $card-aspect-ratio-item-top-left,
|
|
192
|
+
aspect-ratio-item-top-center: $card-aspect-ratio-item-top-center,
|
|
193
|
+
aspect-ratio-item-top-right: $card-aspect-ratio-item-top-right,
|
|
194
|
+
aspect-ratio-item-right-middle: $card-aspect-ratio-item-right-middle,
|
|
195
|
+
aspect-ratio-item-bottom-right: $card-aspect-ratio-item-bottom-right,
|
|
196
|
+
aspect-ratio-item-bottom-center: $card-aspect-ratio-item-bottom-center,
|
|
197
|
+
aspect-ratio-item-bottom-left: $card-aspect-ratio-item-bottom-left,
|
|
198
|
+
hr: (
|
|
199
|
+
margin-left: 0,
|
|
200
|
+
margin-right: 0,
|
|
201
|
+
),
|
|
202
|
+
),
|
|
203
|
+
$card
|
|
204
|
+
);
|
|
205
|
+
|
|
206
|
+
// .card-title
|
|
134
207
|
|
|
135
208
|
$card-title: () !default;
|
|
136
209
|
$card-title: map-deep-merge(
|
|
@@ -151,7 +224,14 @@ $card-title-link: map-deep-merge(
|
|
|
151
224
|
$card-title-link
|
|
152
225
|
);
|
|
153
226
|
|
|
154
|
-
|
|
227
|
+
$card-title: map-deep-merge(
|
|
228
|
+
$card-title,
|
|
229
|
+
(
|
|
230
|
+
href: $card-title-link,
|
|
231
|
+
)
|
|
232
|
+
);
|
|
233
|
+
|
|
234
|
+
// .card-subtitle
|
|
155
235
|
|
|
156
236
|
$card-subtitle: () !default;
|
|
157
237
|
$card-subtitle: map-deep-merge(
|
|
@@ -176,7 +256,26 @@ $card-subtitle-link: map-deep-merge(
|
|
|
176
256
|
$card-subtitle-link
|
|
177
257
|
);
|
|
178
258
|
|
|
179
|
-
|
|
259
|
+
$card-subtitle: map-deep-merge(
|
|
260
|
+
$card-subtitle,
|
|
261
|
+
(
|
|
262
|
+
href: $card-subtitle-link,
|
|
263
|
+
)
|
|
264
|
+
);
|
|
265
|
+
|
|
266
|
+
// .card-text
|
|
267
|
+
|
|
268
|
+
$card-text: () !default;
|
|
269
|
+
$card-text: map-deep-merge(
|
|
270
|
+
(
|
|
271
|
+
last-child: (
|
|
272
|
+
margin-bottom: 0,
|
|
273
|
+
),
|
|
274
|
+
),
|
|
275
|
+
$card-text
|
|
276
|
+
);
|
|
277
|
+
|
|
278
|
+
// .card-link
|
|
180
279
|
|
|
181
280
|
$card-link: () !default;
|
|
182
281
|
$card-link: map-deep-merge(
|
|
@@ -190,13 +289,68 @@ $card-link: map-deep-merge(
|
|
|
190
289
|
$card-link
|
|
191
290
|
);
|
|
192
291
|
|
|
193
|
-
//
|
|
292
|
+
// .card-divider
|
|
194
293
|
|
|
195
294
|
$card-divider-bg: $card-border-color !default;
|
|
196
295
|
$card-divider-height: 1px !default;
|
|
197
296
|
$card-divider-spacer-x: null !default;
|
|
198
297
|
$card-divider-spacer-y: 10px !default;
|
|
199
298
|
|
|
299
|
+
$card-divider: () !default;
|
|
300
|
+
$card-divider: map-merge(
|
|
301
|
+
(
|
|
302
|
+
background-color: $card-divider-bg,
|
|
303
|
+
height: $card-divider-height,
|
|
304
|
+
margin-bottom: $card-divider-spacer-y,
|
|
305
|
+
margin-left: $card-divider-spacer-x,
|
|
306
|
+
margin-right: $card-divider-spacer-x,
|
|
307
|
+
margin-top: $card-divider-spacer-y,
|
|
308
|
+
),
|
|
309
|
+
$card-divider
|
|
310
|
+
);
|
|
311
|
+
|
|
312
|
+
// .card-header
|
|
313
|
+
|
|
314
|
+
// `margin-bottom`, removes the default margin-bottom of <hN> (h1 - h6)
|
|
315
|
+
|
|
316
|
+
$card-header: () !default;
|
|
317
|
+
$card-header: map-deep-merge(
|
|
318
|
+
(
|
|
319
|
+
background-color: $card-cap-bg,
|
|
320
|
+
border-bottom: $card-border-width solid $card-border-color,
|
|
321
|
+
color: $card-cap-color,
|
|
322
|
+
margin-bottom: 0,
|
|
323
|
+
padding: $card-spacer-y $card-spacer-x,
|
|
324
|
+
first-child: (
|
|
325
|
+
border-radius:
|
|
326
|
+
clay-enable-rounded(
|
|
327
|
+
$card-inner-border-radius $card-inner-border-radius 0 0
|
|
328
|
+
),
|
|
329
|
+
),
|
|
330
|
+
),
|
|
331
|
+
$card-header
|
|
332
|
+
);
|
|
333
|
+
|
|
334
|
+
// .card-footer
|
|
335
|
+
|
|
336
|
+
$card-footer: () !default;
|
|
337
|
+
$card-footer: map-deep-merge(
|
|
338
|
+
(
|
|
339
|
+
background-color: $card-cap-bg,
|
|
340
|
+
border-top: $card-border-width solid $card-border-color,
|
|
341
|
+
padding: $card-spacer-y $card-spacer-x,
|
|
342
|
+
last-child: (
|
|
343
|
+
border-radius:
|
|
344
|
+
clay-enable-rounded(
|
|
345
|
+
0 0 $card-inner-border-radius $card-inner-border-radius
|
|
346
|
+
),
|
|
347
|
+
),
|
|
348
|
+
),
|
|
349
|
+
$card-footer
|
|
350
|
+
);
|
|
351
|
+
|
|
352
|
+
// .card.rounded-*
|
|
353
|
+
|
|
200
354
|
$card-rounded-inner-border-radius: calc(
|
|
201
355
|
#{$rounded-border-radius} - #{$card-border-width}
|
|
202
356
|
) !default;
|
|
@@ -761,8 +761,23 @@ $custom-file-button-bg: $input-group-addon-bg !default;
|
|
|
761
761
|
|
|
762
762
|
$custom-file-button-color: $custom-file-color !default;
|
|
763
763
|
|
|
764
|
-
|
|
764
|
+
// .custom-file-label::after
|
|
765
765
|
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
) !default;
|
|
766
|
+
/// @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457 and https://github.com/sass/sass/issues/1395
|
|
767
|
+
|
|
768
|
+
$custom-file-label-after-content: unquote("'\\FEFF Browse'") !default;
|
|
769
|
+
|
|
770
|
+
$custom-file-text: () !default;
|
|
771
|
+
|
|
772
|
+
/// @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457 and https://github.com/sass/sass/issues/1395
|
|
773
|
+
|
|
774
|
+
$custom-file-text: map-deep-merge(
|
|
775
|
+
(
|
|
776
|
+
en: unquote("'\\FEFF Browse'"),
|
|
777
|
+
),
|
|
778
|
+
$custom-file-text
|
|
779
|
+
);
|
|
780
|
+
|
|
781
|
+
/// @deprecated as of v3.x with no replacement. See https://issues.liferay.com/browse/LPS-147457.
|
|
782
|
+
|
|
783
|
+
$custom-file-text-data-browse: unquote("'\\FEFF' attr(data-browse)") !default;
|
|
@@ -888,3 +888,48 @@ $dropdown-alert-line-height: normal !default;
|
|
|
888
888
|
$dropdown-alert-margin: $spacer * 0.5 !default;
|
|
889
889
|
$dropdown-alert-padding-x: $dropdown-header-padding-x !default;
|
|
890
890
|
$dropdown-alert-padding-y: $dropdown-header-padding-y !default;
|
|
891
|
+
|
|
892
|
+
$dropdown-menu-alert: () !default;
|
|
893
|
+
$dropdown-menu-alert: map-deep-merge(
|
|
894
|
+
(
|
|
895
|
+
font-size: $dropdown-alert-font-size,
|
|
896
|
+
line-height: $dropdown-alert-line-height,
|
|
897
|
+
margin: $dropdown-alert-margin,
|
|
898
|
+
padding: $dropdown-alert-padding-y $dropdown-alert-padding-x,
|
|
899
|
+
first-child: (
|
|
900
|
+
margin-top: 0,
|
|
901
|
+
),
|
|
902
|
+
last-child: (
|
|
903
|
+
margin-bottom: 0,
|
|
904
|
+
),
|
|
905
|
+
),
|
|
906
|
+
$dropdown-menu-alert
|
|
907
|
+
);
|
|
908
|
+
|
|
909
|
+
$dropdown-menu-alert-fluid: () !default;
|
|
910
|
+
$dropdown-menu-alert-fluid: map-deep-merge(
|
|
911
|
+
(
|
|
912
|
+
margin-left: 0,
|
|
913
|
+
margin-right: 0,
|
|
914
|
+
first-child: (
|
|
915
|
+
margin-top: math-sign($dropdown-padding-y),
|
|
916
|
+
),
|
|
917
|
+
last-child: (
|
|
918
|
+
margin-bottom: math-sign($dropdown-padding-y),
|
|
919
|
+
),
|
|
920
|
+
),
|
|
921
|
+
$dropdown-menu-alert-fluid
|
|
922
|
+
);
|
|
923
|
+
|
|
924
|
+
$dropdown-menu: map-deep-merge(
|
|
925
|
+
(
|
|
926
|
+
alert:
|
|
927
|
+
map-deep-merge($dropdown-menu-alert, map-get($dropdown-menu, alert)),
|
|
928
|
+
alert-fluid:
|
|
929
|
+
map-deep-merge(
|
|
930
|
+
$dropdown-menu-alert-fluid,
|
|
931
|
+
map-get($dropdown-menu, alert-fluid)
|
|
932
|
+
),
|
|
933
|
+
),
|
|
934
|
+
$dropdown-menu
|
|
935
|
+
);
|
|
@@ -73,3 +73,26 @@ $c-empty-state-footer: map-deep-merge(
|
|
|
73
73
|
),
|
|
74
74
|
$c-empty-state-footer
|
|
75
75
|
);
|
|
76
|
+
|
|
77
|
+
// .c-empty-state-sm
|
|
78
|
+
|
|
79
|
+
$c-empty-state-sm: () !default;
|
|
80
|
+
$c-empty-state-sm: map-deep-merge(
|
|
81
|
+
(
|
|
82
|
+
c-empty-state-animation: (
|
|
83
|
+
margin: 2.5rem auto 2rem,
|
|
84
|
+
max-width: 268px,
|
|
85
|
+
),
|
|
86
|
+
c-empty-state-image: (
|
|
87
|
+
max-width: 120px,
|
|
88
|
+
),
|
|
89
|
+
c-empty-state-title: (
|
|
90
|
+
font-size: 1rem,
|
|
91
|
+
line-height: 1.5,
|
|
92
|
+
),
|
|
93
|
+
c-empty-state-text: (
|
|
94
|
+
font-size: 0.875rem,
|
|
95
|
+
),
|
|
96
|
+
),
|
|
97
|
+
$c-empty-state-sm
|
|
98
|
+
);
|
|
@@ -368,26 +368,134 @@ $font-weight-base: $font-weight-normal !default;
|
|
|
368
368
|
|
|
369
369
|
$line-height-base: 1.5 !default;
|
|
370
370
|
|
|
371
|
-
|
|
372
|
-
$h2-font-size: $font-size-base * 2 !default;
|
|
373
|
-
$h3-font-size: $font-size-base * 1.75 !default;
|
|
374
|
-
$h4-font-size: $font-size-base * 1.5 !default;
|
|
375
|
-
$h5-font-size: $font-size-base * 1.25 !default;
|
|
376
|
-
$h6-font-size: $font-size-base !default;
|
|
371
|
+
// h1, .h1
|
|
377
372
|
|
|
373
|
+
$h1-font-size: $font-size-base * 2.5 !default;
|
|
378
374
|
$h1-font-size-mobile: null !default;
|
|
375
|
+
|
|
376
|
+
$h1: () !default;
|
|
377
|
+
$h1: map-deep-merge(
|
|
378
|
+
(
|
|
379
|
+
font-size: $h1-font-size,
|
|
380
|
+
media-breakpoint-down: (
|
|
381
|
+
sm: (
|
|
382
|
+
font-size: $h1-font-size-mobile,
|
|
383
|
+
),
|
|
384
|
+
),
|
|
385
|
+
),
|
|
386
|
+
$h1
|
|
387
|
+
);
|
|
388
|
+
|
|
389
|
+
// h2, .h2
|
|
390
|
+
|
|
391
|
+
$h2-font-size: $font-size-base * 2 !default;
|
|
379
392
|
$h2-font-size-mobile: null !default;
|
|
393
|
+
|
|
394
|
+
$h2: () !default;
|
|
395
|
+
$h2: map-deep-merge(
|
|
396
|
+
(
|
|
397
|
+
font-size: $h2-font-size,
|
|
398
|
+
media-breakpoint-down: (
|
|
399
|
+
sm: (
|
|
400
|
+
font-size: $h2-font-size-mobile,
|
|
401
|
+
),
|
|
402
|
+
),
|
|
403
|
+
),
|
|
404
|
+
$h2
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
// h3, .h3
|
|
408
|
+
|
|
409
|
+
$h3-font-size: $font-size-base * 1.75 !default;
|
|
380
410
|
$h3-font-size-mobile: null !default;
|
|
411
|
+
|
|
412
|
+
$h3: () !default;
|
|
413
|
+
$h3: map-deep-merge(
|
|
414
|
+
(
|
|
415
|
+
font-size: $h3-font-size,
|
|
416
|
+
media-breakpoint-down: (
|
|
417
|
+
sm: (
|
|
418
|
+
font-size: $h3-font-size-mobile,
|
|
419
|
+
),
|
|
420
|
+
),
|
|
421
|
+
),
|
|
422
|
+
$h3
|
|
423
|
+
);
|
|
424
|
+
|
|
425
|
+
// h4, .h4
|
|
426
|
+
|
|
427
|
+
$h4-font-size: $font-size-base * 1.5 !default;
|
|
381
428
|
$h4-font-size-mobile: null !default;
|
|
429
|
+
|
|
430
|
+
$h4: () !default;
|
|
431
|
+
$h4: map-deep-merge(
|
|
432
|
+
(
|
|
433
|
+
font-size: $h4-font-size,
|
|
434
|
+
media-breakpoint-down: (
|
|
435
|
+
sm: (
|
|
436
|
+
font-size: $h4-font-size-mobile,
|
|
437
|
+
),
|
|
438
|
+
),
|
|
439
|
+
),
|
|
440
|
+
$h4
|
|
441
|
+
);
|
|
442
|
+
|
|
443
|
+
// h5, .h5
|
|
444
|
+
|
|
445
|
+
$h5-font-size: $font-size-base * 1.25 !default;
|
|
382
446
|
$h5-font-size-mobile: null !default;
|
|
447
|
+
|
|
448
|
+
$h5: () !default;
|
|
449
|
+
$h5: map-deep-merge(
|
|
450
|
+
(
|
|
451
|
+
font-size: $h5-font-size,
|
|
452
|
+
media-breakpoint-down: (
|
|
453
|
+
sm: (
|
|
454
|
+
font-size: $h5-font-size-mobile,
|
|
455
|
+
),
|
|
456
|
+
),
|
|
457
|
+
),
|
|
458
|
+
$h5
|
|
459
|
+
);
|
|
460
|
+
|
|
461
|
+
// h6, .h6
|
|
462
|
+
|
|
463
|
+
$h6-font-size: $font-size-base !default;
|
|
383
464
|
$h6-font-size-mobile: null !default;
|
|
384
465
|
|
|
466
|
+
$h6: () !default;
|
|
467
|
+
$h6: map-deep-merge(
|
|
468
|
+
(
|
|
469
|
+
font-size: $h6-font-size,
|
|
470
|
+
media-breakpoint-down: (
|
|
471
|
+
sm: (
|
|
472
|
+
font-size: $h6-font-size-mobile,
|
|
473
|
+
),
|
|
474
|
+
),
|
|
475
|
+
),
|
|
476
|
+
$h6
|
|
477
|
+
);
|
|
478
|
+
|
|
479
|
+
// Headings h1-h6
|
|
480
|
+
|
|
385
481
|
$headings-margin-bottom: $spacer * 0.5 !default;
|
|
386
482
|
$headings-font-family: null !default;
|
|
387
483
|
$headings-font-weight: 500 !default;
|
|
388
484
|
$headings-line-height: 1.2 !default;
|
|
389
485
|
$headings-color: null !default;
|
|
390
486
|
|
|
487
|
+
$headings: () !default;
|
|
488
|
+
$headings: map-deep-merge(
|
|
489
|
+
(
|
|
490
|
+
color: $headings-color,
|
|
491
|
+
font-family: $headings-font-family,
|
|
492
|
+
font-weight: $headings-font-weight,
|
|
493
|
+
line-height: $headings-line-height,
|
|
494
|
+
margin-bottom: $headings-margin-bottom,
|
|
495
|
+
),
|
|
496
|
+
$headings
|
|
497
|
+
);
|
|
498
|
+
|
|
391
499
|
// Body
|
|
392
500
|
|
|
393
501
|
$body-bg: $white !default;
|
|
@@ -454,16 +562,69 @@ $emphasized-link-hover-darken-percentage: 15% !default;
|
|
|
454
562
|
|
|
455
563
|
$paragraph-margin-bottom: 1rem !default;
|
|
456
564
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
$
|
|
460
|
-
|
|
565
|
+
// Display
|
|
566
|
+
|
|
567
|
+
$display-line-height: $headings-line-height !default;
|
|
568
|
+
|
|
569
|
+
// .display-1
|
|
461
570
|
|
|
571
|
+
$display1-size: 6rem !default;
|
|
462
572
|
$display1-weight: 300 !default;
|
|
573
|
+
|
|
574
|
+
$display-1: () !default;
|
|
575
|
+
$display-1: map-deep-merge(
|
|
576
|
+
(
|
|
577
|
+
font-size: $display1-size,
|
|
578
|
+
font-weight: $display1-weight,
|
|
579
|
+
line-height: $display-line-height,
|
|
580
|
+
),
|
|
581
|
+
$display-1
|
|
582
|
+
);
|
|
583
|
+
|
|
584
|
+
// .display-2
|
|
585
|
+
|
|
586
|
+
$display2-size: 5.5rem !default;
|
|
463
587
|
$display2-weight: 300 !default;
|
|
588
|
+
|
|
589
|
+
$display-2: () !default;
|
|
590
|
+
$display-2: map-deep-merge(
|
|
591
|
+
(
|
|
592
|
+
font-size: $display2-size,
|
|
593
|
+
font-weight: $display2-weight,
|
|
594
|
+
line-height: $display-line-height,
|
|
595
|
+
),
|
|
596
|
+
$display-2
|
|
597
|
+
);
|
|
598
|
+
|
|
599
|
+
// .display-3
|
|
600
|
+
|
|
601
|
+
$display3-size: 4.5rem !default;
|
|
464
602
|
$display3-weight: 300 !default;
|
|
603
|
+
|
|
604
|
+
$display-3: () !default;
|
|
605
|
+
$display-3: map-deep-merge(
|
|
606
|
+
(
|
|
607
|
+
font-size: $display3-size,
|
|
608
|
+
font-weight: $display3-weight,
|
|
609
|
+
line-height: $display-line-height,
|
|
610
|
+
),
|
|
611
|
+
$display-3
|
|
612
|
+
);
|
|
613
|
+
|
|
614
|
+
// .display-4
|
|
615
|
+
|
|
616
|
+
$display4-size: 3.5rem !default;
|
|
465
617
|
$display4-weight: 300 !default;
|
|
466
|
-
|
|
618
|
+
|
|
619
|
+
$display-4: () !default;
|
|
620
|
+
$display-4: map-deep-merge(
|
|
621
|
+
(
|
|
622
|
+
font-size: $display4-size,
|
|
623
|
+
font-weight: $display4-weight,
|
|
624
|
+
line-height: $display-line-height,
|
|
625
|
+
),
|
|
626
|
+
$display-4
|
|
627
|
+
);
|
|
467
628
|
|
|
468
629
|
$lead-font-size: $font-size-base * 1.25 !default;
|
|
469
630
|
$lead-font-weight: 300 !default;
|
|
@@ -183,7 +183,7 @@ $link-monospaced: map-deep-merge(
|
|
|
183
183
|
$link-monospaced
|
|
184
184
|
);
|
|
185
185
|
|
|
186
|
-
//
|
|
186
|
+
// .component-title
|
|
187
187
|
|
|
188
188
|
$component-title: () !default;
|
|
189
189
|
$component-title: map-deep-merge(
|
|
@@ -219,7 +219,14 @@ $component-title-link: map-deep-merge(
|
|
|
219
219
|
$component-title-link
|
|
220
220
|
);
|
|
221
221
|
|
|
222
|
-
|
|
222
|
+
$component-title: map-deep-merge(
|
|
223
|
+
$component-title,
|
|
224
|
+
(
|
|
225
|
+
href: $component-title-link,
|
|
226
|
+
)
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
// .component-subtitle
|
|
223
230
|
|
|
224
231
|
$component-subtitle: () !default;
|
|
225
232
|
$component-subtitle: map-deep-merge(
|
|
@@ -241,7 +248,14 @@ $component-subtitle-link: map-deep-merge(
|
|
|
241
248
|
$component-subtitle-link
|
|
242
249
|
);
|
|
243
250
|
|
|
244
|
-
|
|
251
|
+
$component-subtitle: map-deep-merge(
|
|
252
|
+
$component-subtitle,
|
|
253
|
+
(
|
|
254
|
+
href: $component-subtitle-link,
|
|
255
|
+
)
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
// .component-action
|
|
245
259
|
|
|
246
260
|
$component-action: () !default;
|
|
247
261
|
$component-action: map-deep-merge(
|
|
@@ -286,8 +300,12 @@ $component-action: map-deep-merge(
|
|
|
286
300
|
$component-action
|
|
287
301
|
);
|
|
288
302
|
|
|
303
|
+
// .component-text
|
|
304
|
+
|
|
289
305
|
$component-text: () !default;
|
|
290
306
|
|
|
307
|
+
// .component-icon
|
|
308
|
+
|
|
291
309
|
$component-icon: () !default;
|
|
292
310
|
$component-icon: map-deep-merge(
|
|
293
311
|
(
|