@rossigee/clarity-ui 18.2.1-fixed
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 +29 -0
- package/STYLES.md +1796 -0
- package/accordion/_accordion.clarity.scss +81 -0
- package/accordion/_properties.accordion.scss +45 -0
- package/accordion/_variables.accordion.scss +91 -0
- package/button/_buttons.clarity.scss +374 -0
- package/button/_mixins.buttons.scss +232 -0
- package/button/_properties.buttons.scss +325 -0
- package/button/_properties.toggles.scss +35 -0
- package/button/_variables.buttons.scss +843 -0
- package/button/_variables.toggles.scss +41 -0
- package/button/button-group/_button-group.clarity.scss +193 -0
- package/clr-ui.css +31728 -0
- package/clr-ui.css.map +1 -0
- package/clr-ui.min.css +52 -0
- package/clr-ui.min.css.map +1 -0
- package/collapsible-panel/_mixins.collapsible-panel.scss +189 -0
- package/collapsible-panel/_properties.collapsible-panel.scss +42 -0
- package/collapsible-panel/_variables.collapsible-panel.scss +40 -0
- package/data/_mixins.tables.scss +111 -0
- package/data/_properties.tables.scss +62 -0
- package/data/_tables.clarity.scss +120 -0
- package/data/_variables.tables.scss +42 -0
- package/data/datagrid/_datagrid.clarity.scss +1753 -0
- package/data/datagrid/_mixins.datagrid.scss +102 -0
- package/data/datagrid/_properties.datagrid.scss +90 -0
- package/data/datagrid/_variables.datagrid.scss +96 -0
- package/data/stack-view/_properties.stack-view.scss +50 -0
- package/data/stack-view/_stack-view.clarity.scss +267 -0
- package/data/stack-view/_variables.stack-view.scss +32 -0
- package/data/tree-view/_properties.tree-view.scss +41 -0
- package/data/tree-view/_tree-view.clarity.scss +281 -0
- package/data/tree-view/_variables.tree-view.scss +51 -0
- package/emphasis/alert/_alert.clarity.scss +467 -0
- package/emphasis/alert/_mixins.alert.scss +96 -0
- package/emphasis/alert/_properties.alert.scss +183 -0
- package/emphasis/alert/_variables.alert.scss +502 -0
- package/emphasis/badge/_badges.clarity.scss +61 -0
- package/emphasis/badge/_mixins.bades.scss +34 -0
- package/emphasis/badge/_properties.badges.scss +82 -0
- package/emphasis/badge/_variables.badges.scss +160 -0
- package/emphasis/label/_labels.clarity.scss +175 -0
- package/emphasis/label/_mixins.label.scss +76 -0
- package/emphasis/label/_properties.label.scss +105 -0
- package/emphasis/label/_variables.label.scss +181 -0
- package/forms/combobox/_combobox.clarity.scss +322 -0
- package/forms/combobox/_properties.combobox.scss +45 -0
- package/forms/combobox/_variables.combobox.scss +32 -0
- package/forms/datepicker/_datepicker.clarity.scss +259 -0
- package/forms/datepicker/_mixins.datepicker.scss +90 -0
- package/forms/datepicker/_properties.datepicker.scss +46 -0
- package/forms/datepicker/_variables.datepicker.scss +74 -0
- package/forms/styles/_checkbox.clarity.scss +193 -0
- package/forms/styles/_containers.clarity.scss +228 -0
- package/forms/styles/_datalist.clarity.scss +47 -0
- package/forms/styles/_file-input.clarity.scss +134 -0
- package/forms/styles/_file.clarity.scss +52 -0
- package/forms/styles/_form.clarity.scss +87 -0
- package/forms/styles/_input-group.clarity.scss +118 -0
- package/forms/styles/_input.clarity.scss +78 -0
- package/forms/styles/_mixins.forms.scss +173 -0
- package/forms/styles/_number-input.clarity.scss +58 -0
- package/forms/styles/_password.clarity.scss +26 -0
- package/forms/styles/_properties.forms.scss +121 -0
- package/forms/styles/_radio.clarity.scss +120 -0
- package/forms/styles/_range.clarity.scss +124 -0
- package/forms/styles/_select.clarity.scss +178 -0
- package/forms/styles/_textarea.clarity.scss +77 -0
- package/forms/styles/_toggles.clarity.scss +209 -0
- package/forms/styles/_variables.forms.scss +128 -0
- package/icon/icon.component.scss +242 -0
- package/image/_icons.clarity.scss +101 -0
- package/image/_images.clarity.scss +42 -0
- package/image/_mixins.images.scss +11 -0
- package/layout/_card.clarity.scss +311 -0
- package/layout/_login.clarity.scss +240 -0
- package/layout/_properties.card.scss +36 -0
- package/layout/_properties.login.scss +32 -0
- package/layout/_variables.card.scss +23 -0
- package/layout/_variables.login.scss +22 -0
- package/layout/breadcrumbs/_breadcrumbs.clarity.scss +60 -0
- package/layout/breadcrumbs/_properties.breadcrumbs.scss +18 -0
- package/layout/breadcrumbs/_variables.breadcrumbs.scss +11 -0
- package/layout/grid/_grid.scss +23 -0
- package/layout/grid/grid/_grid.scss +39 -0
- package/layout/grid/mixins/_breakpoint.scss +83 -0
- package/layout/grid/mixins/_clearfix.scss +13 -0
- package/layout/grid/mixins/_grid-framework.scss +91 -0
- package/layout/grid/mixins/_grid.scss +39 -0
- package/layout/grid/utilities/_align.scss +30 -0
- package/layout/grid/utilities/_clearfix.scss +12 -0
- package/layout/grid/utilities/_display.scss +18 -0
- package/layout/grid/utilities/_flex.scss +222 -0
- package/layout/grid/utilities/_float.scss +26 -0
- package/layout/grid/utilities/_visibility.scss +60 -0
- package/layout/main-container/_layout.clarity.scss +87 -0
- package/layout/main-container/_properties.header.scss +39 -0
- package/layout/main-container/_variables.header.scss +32 -0
- package/layout/nav/_header.clarity.scss +40 -0
- package/layout/nav/_links.clarity.scss +84 -0
- package/layout/nav/_mixins.header.scss +332 -0
- package/layout/nav/_mixins.responsive-nav.scss +75 -0
- package/layout/nav/_nav.clarity.scss +100 -0
- package/layout/nav/_properties.nav.scss +27 -0
- package/layout/nav/_properties.responsive-nav.scss +23 -0
- package/layout/nav/_properties.subnav.scss +19 -0
- package/layout/nav/_responsive-nav.clarity.scss +488 -0
- package/layout/nav/_subnav.clarity.scss +48 -0
- package/layout/nav/_variables.nav.scss +13 -0
- package/layout/nav/_variables.responsive-nav.scss +28 -0
- package/layout/nav/_variables.subnav.scss +21 -0
- package/layout/tabs/_mixins.tabs.scss +41 -0
- package/layout/tabs/_properties.tabs.scss +25 -0
- package/layout/tabs/_tabs.clarity.scss +110 -0
- package/layout/tabs/_variables.tabs.scss +17 -0
- package/layout/vertical-nav/_mixins.vertical-nav.scss +52 -0
- package/layout/vertical-nav/_properties.vertical-nav.scss +73 -0
- package/layout/vertical-nav/_variables.vertical-nav.scss +52 -0
- package/layout/vertical-nav/_vertical-nav.clarity.scss +469 -0
- package/main.scss +14 -0
- package/modal/_modal.clarity.scss +362 -0
- package/modal/_properties.modal.scss +45 -0
- package/modal/_variables.modal.scss +38 -0
- package/package.json +15 -0
- package/popover/common/_popover.clarity.scss +28 -0
- package/popover/dropdown/_dropdown.clarity.scss +326 -0
- package/popover/dropdown/_menu-mixins.clarity.scss +132 -0
- package/popover/dropdown/_properties.dropdown.scss +50 -0
- package/popover/dropdown/_variables.dropdown.scss +36 -0
- package/popover/signpost/_properties.signpost.scss +34 -0
- package/popover/signpost/_signposts.clarity.scss +414 -0
- package/popover/signpost/_variables.signpost.scss +21 -0
- package/popover/tooltip/_mixins.tooltip.scss +186 -0
- package/popover/tooltip/_properties.tooltip.scss +28 -0
- package/popover/tooltip/_tooltips.clarity.scss +122 -0
- package/popover/tooltip/_variables.tooltip.scss +20 -0
- package/progress/progress-bars/_progress-bars.clarity.scss +616 -0
- package/progress/progress-bars/_properties.progress-bars.scss +24 -0
- package/progress/progress-bars/_variables.progress-bars.scss +15 -0
- package/progress/progress-bars/utils/_mixins.clarity.scss +18 -0
- package/progress/spinner/_mixins.spinner.scss +30 -0
- package/progress/spinner/_properties.spinner.scss +37 -0
- package/progress/spinner/_spinner.clarity.scss +148 -0
- package/progress/spinner/_variables.spinner.scss +25 -0
- package/stepper/_properties.stepper.scss +29 -0
- package/stepper/_stepper.clarity.scss +184 -0
- package/stepper/_variables.stepper.scss +13 -0
- package/styles/_a11y.scss +14 -0
- package/styles/_close.clarity.scss +60 -0
- package/styles/_components.clarity.scss +183 -0
- package/styles/_mixins.scss +478 -0
- package/styles/_normalize.scss +292 -0
- package/styles/_reboot.clarity.scss +374 -0
- package/styles/_variables.clarity.scss +139 -0
- package/styles/core/base/base.element.scss +97 -0
- package/styles/core/global.scss +12 -0
- package/styles/core/layout/_alignments.scss +18 -0
- package/styles/core/layout/_container.scss +29 -0
- package/styles/core/layout/_display.scss +58 -0
- package/styles/core/layout/_optimize.scss +60 -0
- package/styles/core/layout/_shadow-dom.scss +47 -0
- package/styles/core/layout/_spacing.scss +31 -0
- package/styles/core/layout/_type-grid.scss +66 -0
- package/styles/core/layout/_type-horizontal.scss +33 -0
- package/styles/core/layout/_type-vertical.scss +26 -0
- package/styles/core/layout/mixins/_mixins.alignment.scss +35 -0
- package/styles/core/layout/mixins/_mixins.display.scss +23 -0
- package/styles/core/layout/mixins/_mixins.grid.scss +105 -0
- package/styles/core/layout/mixins/_mixins.scss +106 -0
- package/styles/core/layout/mixins/_mixins.shadow-dom.scss +106 -0
- package/styles/core/layout/mixins/_mixins.type-horizontal.scss +113 -0
- package/styles/core/layout/mixins/_mixins.type-vertical.scss +108 -0
- package/styles/core/module.layout.scss +22 -0
- package/styles/core/module.reset.scss +48 -0
- package/styles/core/module.typography.scss +9 -0
- package/styles/core/theme.dark.scss +266 -0
- package/styles/core/theme.high-contrast.scss +42 -0
- package/styles/core/theme.low-motion.scss +20 -0
- package/styles/core/tokens/_alias-interaction.scss +59 -0
- package/styles/core/tokens/_alias-object-background.scss +14 -0
- package/styles/core/tokens/_alias-object-border.scss +21 -0
- package/styles/core/tokens/_alias-object-container.scss +20 -0
- package/styles/core/tokens/_alias-object-opacity.scss +15 -0
- package/styles/core/tokens/_alias-object-shadow.scss +17 -0
- package/styles/core/tokens/_alias-status.scss +34 -0
- package/styles/core/tokens/_alias-typography.scss +101 -0
- package/styles/core/tokens/_alias-utility.scss +38 -0
- package/styles/core/tokens/_alias-viz-colors.scss +170 -0
- package/styles/core/tokens/_global-animation.scss +32 -0
- package/styles/core/tokens/_global-colors.scss +249 -0
- package/styles/core/tokens/_global-space.scss +52 -0
- package/styles/core/tokens/_internal-scale.scss +14 -0
- package/styles/core/tokens/_properties.tokens.scss +21 -0
- package/styles/core/tokens/_variables.tokens.scss +770 -0
- package/styles/core/typography/_legacy-typography.scss +328 -0
- package/styles/core/typography/_mixins.typography.scss +18 -0
- package/styles/core/typography/_typography.scss +321 -0
- package/styles/variables/_properties.density.scss +223 -0
- package/styles/variables/_properties.global.scss +51 -0
- package/styles/variables/_properties.layout.scss +21 -0
- package/styles/variables/_properties.scss +11 -0
- package/styles/variables/_properties.typography.scss +164 -0
- package/styles/variables/_variables.density.scss +114 -0
- package/styles/variables/_variables.global.scss +82 -0
- package/styles/variables/_variables.layout.scss +37 -0
- package/styles/variables/_variables.scss +11 -0
- package/styles/variables/_variables.typography.scss +156 -0
- package/timeline/_properties.timeline.scss +38 -0
- package/timeline/_timeline.clarity.scss +172 -0
- package/timeline/_variables.timeline.scss +29 -0
- package/typography/_code.scss +36 -0
- package/typography/_font-metropolis.scss +45 -0
- package/typography/_lists.scss +81 -0
- package/typography/_typography.scss +322 -0
- package/utils/animations/_animations.clarity.scss +44 -0
- package/utils/animations/_mixins.animations.scss +33 -0
- package/wizard/_properties.wizard.scss +53 -0
- package/wizard/_variables.wizard.scss +58 -0
- package/wizard/_wizard.clarity.scss +688 -0
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
3
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
4
|
+
* This software is released under MIT license.
|
|
5
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@use 'lists';
|
|
9
|
+
@use 'code';
|
|
10
|
+
@use '../styles/mixins';
|
|
11
|
+
@use '../styles/variables/variables.typography';
|
|
12
|
+
@use '../styles/core/tokens/variables.tokens' as tokens;
|
|
13
|
+
|
|
14
|
+
@include mixins.exports('typography.clarity') {
|
|
15
|
+
//Headings
|
|
16
|
+
h1:not([cds-text]) {
|
|
17
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
18
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
19
|
+
|
|
20
|
+
@include mixins.generate-typography-header-token(
|
|
21
|
+
'DISPLAY-40',
|
|
22
|
+
(
|
|
23
|
+
color: variables.$clr-h1-color,
|
|
24
|
+
font-family: variables.$clr-h1-font-family,
|
|
25
|
+
font-weight: variables.$clr-h1-font-weight,
|
|
26
|
+
font-size: variables.$clr-h1-font-size,
|
|
27
|
+
line-height: variables.$clr-h1-line-height,
|
|
28
|
+
letter-spacing: variables.$clr-h1-letter-spacing,
|
|
29
|
+
)
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h2:not([cds-text]) {
|
|
34
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
35
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
36
|
+
|
|
37
|
+
@include mixins.generate-typography-header-token(
|
|
38
|
+
'HEADLINE-32',
|
|
39
|
+
(
|
|
40
|
+
color: variables.$clr-h2-color,
|
|
41
|
+
font-family: variables.$clr-h2-font-family,
|
|
42
|
+
font-weight: variables.$clr-h2-font-weight,
|
|
43
|
+
font-size: variables.$clr-h2-font-size,
|
|
44
|
+
line-height: variables.$clr-h2-line-height,
|
|
45
|
+
letter-spacing: variables.$clr-h2-letter-spacing,
|
|
46
|
+
)
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
h3:not([cds-text]) {
|
|
51
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
52
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
53
|
+
|
|
54
|
+
@include mixins.generate-typography-header-token(
|
|
55
|
+
'TITLE-24-EXP',
|
|
56
|
+
(
|
|
57
|
+
color: variables.$clr-h3-color,
|
|
58
|
+
font-family: variables.$clr-h3-font-family,
|
|
59
|
+
font-weight: variables.$clr-h3-font-weight,
|
|
60
|
+
font-size: variables.$clr-h3-font-size,
|
|
61
|
+
line-height: variables.$clr-h3-line-height,
|
|
62
|
+
letter-spacing: variables.$clr-h3-letter-spacing,
|
|
63
|
+
)
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
h4:not([cds-text]) {
|
|
68
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
69
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
70
|
+
|
|
71
|
+
@include mixins.generate-typography-header-token(
|
|
72
|
+
'SECTION-20-STD',
|
|
73
|
+
(
|
|
74
|
+
color: variables.$clr-h4-color,
|
|
75
|
+
font-family: variables.$clr-h4-font-family,
|
|
76
|
+
font-weight: variables.$clr-h4-font-weight,
|
|
77
|
+
font-size: variables.$clr-h4-font-size,
|
|
78
|
+
line-height: variables.$clr-h4-line-height,
|
|
79
|
+
letter-spacing: variables.$clr-h4-letter-spacing,
|
|
80
|
+
)
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
h5:not([cds-text]) {
|
|
85
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
86
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
87
|
+
|
|
88
|
+
@include mixins.generate-typography-header-token(
|
|
89
|
+
'SUBSECTION-16-EXP',
|
|
90
|
+
(
|
|
91
|
+
color: variables.$clr-h5-color,
|
|
92
|
+
font-family: variables.$clr-h5-font-family,
|
|
93
|
+
font-weight: variables.$clr-h5-font-weight,
|
|
94
|
+
font-size: variables.$clr-h5-font-size,
|
|
95
|
+
line-height: variables.$clr-h5-line-height,
|
|
96
|
+
letter-spacing: variables.$clr-h5-letter-spacing,
|
|
97
|
+
)
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
h6:not([cds-text]) {
|
|
102
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
103
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
104
|
+
|
|
105
|
+
@include mixins.generate-typography-header-token(
|
|
106
|
+
'MESSAGE-16-EXP',
|
|
107
|
+
(
|
|
108
|
+
color: variables.$clr-h6-color,
|
|
109
|
+
font-family: variables.$clr-h6-font-family,
|
|
110
|
+
font-weight: variables.$clr-h6-font-weight,
|
|
111
|
+
font-size: variables.$clr-h6-font-size,
|
|
112
|
+
line-height: variables.$clr-h6-line-height,
|
|
113
|
+
letter-spacing: variables.$clr-h6-letter-spacing,
|
|
114
|
+
)
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
//Body.
|
|
119
|
+
body:not([cds-text]) {
|
|
120
|
+
margin-top: 0 !important;
|
|
121
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
122
|
+
|
|
123
|
+
@include mixins.generate-typography-body-token(
|
|
124
|
+
'BODY-14-RG-STD',
|
|
125
|
+
(
|
|
126
|
+
color: variables.$clr-p1-color,
|
|
127
|
+
font-family: variables.$clr-body-font,
|
|
128
|
+
font-weight: variables.$clr-p1-font-weight,
|
|
129
|
+
font-size: variables.$clr-p1-font-size,
|
|
130
|
+
line-height: variables.$clr-p1-line-height,
|
|
131
|
+
letter-spacing: variables.$clr-p1-letter-spacing,
|
|
132
|
+
)
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
//Paragraph
|
|
137
|
+
|
|
138
|
+
// angular demos is injecting style selectors such as `p[_ngcontent-jfh-3]`
|
|
139
|
+
// that are overriding these styles. i'm using specificity below to try and force the issue.
|
|
140
|
+
|
|
141
|
+
body {
|
|
142
|
+
p:not([cds-text]) {
|
|
143
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
144
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
145
|
+
|
|
146
|
+
@include mixins.generate-typography-body-token(
|
|
147
|
+
'BODY-14-RG-STD',
|
|
148
|
+
(
|
|
149
|
+
color: variables.$clr-p1-color,
|
|
150
|
+
font-weight: variables.$clr-p1-font-weight,
|
|
151
|
+
font-size: variables.$clr-p1-font-size,
|
|
152
|
+
line-height: variables.$clr-p1-line-height,
|
|
153
|
+
letter-spacing: variables.$clr-p1-letter-spacing,
|
|
154
|
+
)
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.p0:not([cds-text]),
|
|
159
|
+
p.p0:not([cds-text]) {
|
|
160
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
161
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
162
|
+
|
|
163
|
+
@include mixins.generate-typography-body-token(
|
|
164
|
+
'BODY-14-RG-STD',
|
|
165
|
+
(
|
|
166
|
+
color: variables.$clr-p0-color,
|
|
167
|
+
font-weight: variables.$clr-p0-font-weight,
|
|
168
|
+
font-size: variables.$clr-p0-font-size,
|
|
169
|
+
line-height: variables.$clr-p0-line-height,
|
|
170
|
+
letter-spacing: variables.$clr-p0-letter-spacing,
|
|
171
|
+
)
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.p2:not([cds-text]),
|
|
176
|
+
p.p2:not([cds-text]) {
|
|
177
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
178
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
179
|
+
|
|
180
|
+
@include mixins.generate-typography-body-token(
|
|
181
|
+
'SECONDARY-13-MD-EXP',
|
|
182
|
+
(
|
|
183
|
+
color: variables.$clr-p2-color,
|
|
184
|
+
font-weight: variables.$clr-p2-font-weight,
|
|
185
|
+
font-size: variables.$clr-p2-font-size,
|
|
186
|
+
line-height: variables.$clr-p2-line-height,
|
|
187
|
+
letter-spacing: variables.$clr-p2-letter-spacing,
|
|
188
|
+
)
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.p3:not([cds-text]),
|
|
193
|
+
p.p3:not([cds-text]) {
|
|
194
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
195
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
196
|
+
|
|
197
|
+
@include mixins.generate-typography-body-token(
|
|
198
|
+
'SECONDARY-13-RG-EXP',
|
|
199
|
+
(
|
|
200
|
+
color: variables.$clr-p3-color,
|
|
201
|
+
font-weight: variables.$clr-p3-font-weight,
|
|
202
|
+
font-size: variables.$clr-p3-font-size,
|
|
203
|
+
line-height: variables.$clr-p3-line-height,
|
|
204
|
+
letter-spacing: variables.$clr-p3-letter-spacing,
|
|
205
|
+
)
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.p4:not([cds-text]),
|
|
210
|
+
p.p4:not([cds-text]) {
|
|
211
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
212
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
213
|
+
|
|
214
|
+
@include mixins.generate-typography-body-token(
|
|
215
|
+
'SECONDARY-13-SB-STD',
|
|
216
|
+
(
|
|
217
|
+
color: variables.$clr-p4-color,
|
|
218
|
+
font-weight: variables.$clr-p4-font-weight,
|
|
219
|
+
font-size: variables.$clr-p4-font-size,
|
|
220
|
+
line-height: variables.$clr-p4-line-height,
|
|
221
|
+
letter-spacing: variables.$clr-p4-letter-spacing,
|
|
222
|
+
)
|
|
223
|
+
);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.p5:not([cds-text]),
|
|
227
|
+
p.p5:not([cds-text]) {
|
|
228
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
229
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
230
|
+
|
|
231
|
+
@include mixins.generate-typography-body-token(
|
|
232
|
+
'SECONDARY-13-RG-EXP',
|
|
233
|
+
(
|
|
234
|
+
color: variables.$clr-p5-color,
|
|
235
|
+
font-weight: variables.$clr-p5-font-weight,
|
|
236
|
+
font-size: variables.$clr-p5-font-size,
|
|
237
|
+
line-height: variables.$clr-p5-line-height,
|
|
238
|
+
letter-spacing: variables.$clr-p5-letter-spacing,
|
|
239
|
+
)
|
|
240
|
+
);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.p6:not([cds-text]),
|
|
244
|
+
p.p6:not([cds-text]) {
|
|
245
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
246
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
247
|
+
|
|
248
|
+
@include mixins.generate-typography-body-token(
|
|
249
|
+
'CAPTION-LG-11-STD',
|
|
250
|
+
(
|
|
251
|
+
color: variables.$clr-p6-color,
|
|
252
|
+
font-weight: variables.$clr-p6-font-weight,
|
|
253
|
+
font-size: variables.$clr-p6-font-size,
|
|
254
|
+
line-height: variables.$clr-p6-line-height,
|
|
255
|
+
letter-spacing: variables.$clr-p6-letter-spacing,
|
|
256
|
+
)
|
|
257
|
+
);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.p7:not([cds-text]),
|
|
261
|
+
p.p7:not([cds-text]) {
|
|
262
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
263
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
264
|
+
|
|
265
|
+
@include mixins.generate-typography-body-token(
|
|
266
|
+
'CAPTION-SM-10',
|
|
267
|
+
(
|
|
268
|
+
color: variables.$clr-p7-color,
|
|
269
|
+
font-weight: variables.$clr-p7-font-weight,
|
|
270
|
+
font-size: variables.$clr-p7-font-size,
|
|
271
|
+
line-height: variables.$clr-p7-line-height,
|
|
272
|
+
letter-spacing: variables.$clr-p7-letter-spacing,
|
|
273
|
+
)
|
|
274
|
+
);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.p8:not([cds-text]),
|
|
278
|
+
p.p8:not([cds-text]) {
|
|
279
|
+
margin-top: variables.$clr-global-typography-margin-top;
|
|
280
|
+
margin-bottom: variables.$clr-global-typography-margin-bottom;
|
|
281
|
+
|
|
282
|
+
@include mixins.generate-typography-body-token(
|
|
283
|
+
'CAPTION-SM-10',
|
|
284
|
+
(
|
|
285
|
+
color: variables.$clr-p8-color,
|
|
286
|
+
font-weight: variables.$clr-p8-font-weight,
|
|
287
|
+
font-size: variables.$clr-p8-font-size,
|
|
288
|
+
line-height: variables.$clr-p8-line-height,
|
|
289
|
+
letter-spacing: variables.$clr-p8-letter-spacing,
|
|
290
|
+
)
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.text-light {
|
|
296
|
+
font-weight: variables.$clr-font-weight-light;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.text-right {
|
|
300
|
+
text-align: right !important;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.text-center {
|
|
304
|
+
text-align: center !important;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.text-left {
|
|
308
|
+
text-align: left !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.text-justify {
|
|
312
|
+
text-align: justify !important;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
//HTML
|
|
316
|
+
html:not([cds-text]) {
|
|
317
|
+
color: tokens.$cds-alias-typography-color-450;
|
|
318
|
+
font-family: variables.$clr-font;
|
|
319
|
+
// font-size should be deleted probably. Actual base comes from CDS reset file
|
|
320
|
+
font-size: calc((tokens.$cds-global-base / 16) * 100%);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
3
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
4
|
+
* This software is released under MIT license.
|
|
5
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@use '../../styles/mixins';
|
|
9
|
+
@use 'mixins.animations' as animation-mixins;
|
|
10
|
+
@use '../../styles/variables/variables.density' as density;
|
|
11
|
+
@use '../../styles/core/tokens/variables.tokens' as tokens;
|
|
12
|
+
|
|
13
|
+
$clr-animation-duration: #{tokens.$cds-global-animation-duration-quick};
|
|
14
|
+
$clr-animation-easing: #{tokens.$cds-global-animation-easing-in-out};
|
|
15
|
+
|
|
16
|
+
@include mixins.exports('animations.clarity') {
|
|
17
|
+
.fade {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
transition: opacity $clr-animation-duration $clr-animation-easing;
|
|
20
|
+
will-change: opacity;
|
|
21
|
+
|
|
22
|
+
&.in {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.fadeDown {
|
|
28
|
+
opacity: 0;
|
|
29
|
+
transform: translate(0, -25%);
|
|
30
|
+
transition:
|
|
31
|
+
opacity $clr-animation-duration $clr-animation-easing,
|
|
32
|
+
transform $clr-animation-duration $clr-animation-easing;
|
|
33
|
+
will-change: opacity, transform;
|
|
34
|
+
|
|
35
|
+
&.in {
|
|
36
|
+
opacity: 1;
|
|
37
|
+
transform: translate(0, 0);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.skeleton-loading {
|
|
42
|
+
@include animation-mixins.skeleton-loading();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
3
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
4
|
+
* This software is released under MIT license.
|
|
5
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@use '../../styles/variables/variables.density' as density;
|
|
9
|
+
@use '../../styles/core/tokens/variables.tokens' as tokens;
|
|
10
|
+
|
|
11
|
+
@keyframes clr-skeleton-loading {
|
|
12
|
+
from {
|
|
13
|
+
background-position-x: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
to {
|
|
17
|
+
background-position-x: -200%;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@mixin skeleton-loading() {
|
|
22
|
+
&::before {
|
|
23
|
+
content: '';
|
|
24
|
+
display: inline-block;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
border-radius: density.$clr-base-border-radius-s;
|
|
28
|
+
background: tokens.$cds-alias-object-skeleton-loading-gradient;
|
|
29
|
+
animation: tokens.$cds-global-animation-skeleton-duration clr-skeleton-loading
|
|
30
|
+
tokens.$cds-global-animation-easing-in-out infinite;
|
|
31
|
+
background-size: 200% 100%;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
3
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
4
|
+
* This software is released under MIT license.
|
|
5
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@use '../styles/mixins';
|
|
9
|
+
@use '../styles/core/tokens/variables.tokens' as tokens;
|
|
10
|
+
@use '../styles/variables/variables.density' as density;
|
|
11
|
+
|
|
12
|
+
@include mixins.exports('wizard.properties') {
|
|
13
|
+
@include mixins.root-or-host() {
|
|
14
|
+
--clr-wizard-footer-height: auto;
|
|
15
|
+
|
|
16
|
+
&,
|
|
17
|
+
& [clr-density] {
|
|
18
|
+
--clr-wizard-footer-vertical-space: #{density.$clr-base-vertical-offset-xl};
|
|
19
|
+
--clr-wizard-stepnav-border-size: #{density.$clr-base-layout-space-2xs};
|
|
20
|
+
--clr-wizard-border-radius: #{density.$clr-base-border-radius-s};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&,
|
|
24
|
+
& [cds-theme] {
|
|
25
|
+
--clr-wizard-main-bgcolor: #{tokens.$cds-alias-object-overlay-background};
|
|
26
|
+
--clr-wizard-main-text-color: #{tokens.$cds-alias-typography-color-400};
|
|
27
|
+
--clr-wizard-stepnav-bgcolor: #{tokens.$cds-alias-object-interaction-background};
|
|
28
|
+
--clr-wizard-stepnav-text: #{tokens.$cds-alias-typography-color-400};
|
|
29
|
+
--clr-wizard-stepnav-text-active: #{tokens.$cds-alias-object-interaction-color-active};
|
|
30
|
+
--clr-wizard-stepnav-text-hover: #{tokens.$cds-alias-object-interaction-color-hover};
|
|
31
|
+
--clr-wizard-stepnav-text-selected: #{tokens.$cds-alias-object-interaction-color-selected};
|
|
32
|
+
--clr-wizard-stepnav-text-disabled: #{tokens.$cds-alias-typography-disabled};
|
|
33
|
+
--clr-wizard-stepnav-item-border-color: #{tokens.$cds-alias-status-neutral-tint};
|
|
34
|
+
--clr-wizard-stepnav-item-complete-border-color: #{tokens.$cds-alias-status-success};
|
|
35
|
+
--clr-wizard-stepnav-selected-border-color: #{tokens.$cds-alias-object-interaction-background-highlight};
|
|
36
|
+
--clr-wizard-stepnav-selected-bgcolor: #{tokens.$cds-alias-object-interaction-background-selected};
|
|
37
|
+
--clr-wizard-stepnav-selected-error-bgcolor: #{tokens.$cds-alias-status-danger-tint};
|
|
38
|
+
--clr-wizard-stepnav-selected-hover-bgcolor: var(--cds-alias-object-interaction-background-selected-hover);
|
|
39
|
+
--clr-wizard-stepnav-selected-active-bgcolor: var(--cds-alias-object-interaction-background-selected-active);
|
|
40
|
+
--clr-wizard-stepnav-link-error-icon-color: #{tokens.$cds-alias-status-danger};
|
|
41
|
+
--clr-wizard-stepnav-link-complete-icon-color: #{tokens.$cds-alias-status-success};
|
|
42
|
+
--clr-wizard-stepnav-border-color: #{tokens.$cds-alias-object-container-border-color};
|
|
43
|
+
--clr-wizard-stepnav-hover-bgcolor: #{tokens.$cds-alias-object-interaction-background-hover};
|
|
44
|
+
--clr-wizard-stepnav-active-bgcolor: #{tokens.$cds-alias-object-interaction-background-active};
|
|
45
|
+
--clr-wizard-stepnav-item-error-border-color: #{tokens.$cds-alias-status-danger};
|
|
46
|
+
--clr-wizard-title-text: #{tokens.$cds-alias-typography-color-400};
|
|
47
|
+
--clr-wizard-header-action-color: #{tokens.$cds-alias-object-interaction-color};
|
|
48
|
+
--clr-wizard-header-action-color--hovered: #{tokens.$cds-alias-object-interaction-color-hover};
|
|
49
|
+
--clr-wizard-box-shadow: #{tokens.$cds-alias-object-shadow-300};
|
|
50
|
+
--clr-wizard-content-background-color: #{tokens.$cds-alias-object-container-background};
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016-2026 Broadcom. All Rights Reserved.
|
|
3
|
+
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
|
4
|
+
* This software is released under MIT license.
|
|
5
|
+
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@use '../styles/mixins';
|
|
9
|
+
@use '../styles/variables/variables';
|
|
10
|
+
@use '../styles/core/tokens/variables.tokens' as tokens;
|
|
11
|
+
@use '../styles/variables/variables.density' as density;
|
|
12
|
+
|
|
13
|
+
$clr-wizard-vertical-space: density.$clr-base-vertical-offset-2xl !default;
|
|
14
|
+
$clr-wizard-horizontal-space: density.$clr-base-horizontal-offset-2xl !default;
|
|
15
|
+
$clr-wizard-footer-vertical-space: var(--clr-wizard-footer-vertical-space) !default;
|
|
16
|
+
|
|
17
|
+
$clr-wizard-main-bgcolor: var(--clr-wizard-main-bgcolor) !default;
|
|
18
|
+
$clr-wizard-main-text-color: var(--clr-wizard-main-text-color) !default;
|
|
19
|
+
|
|
20
|
+
$clr-wizard-stepnav-bgcolor: var(--clr-wizard-stepnav-bgcolor) !default;
|
|
21
|
+
$clr-wizard-stepnav-text: var(--clr-wizard-stepnav-text) !default;
|
|
22
|
+
$clr-wizard-stepnav-text-active: var(--clr-wizard-stepnav-text-active) !default;
|
|
23
|
+
$clr-wizard-stepnav-text-hover: var(--clr-wizard-stepnav-text-hover) !default;
|
|
24
|
+
$clr-wizard-stepnav-text-selected: var(--clr-wizard-stepnav-text-selected) !default;
|
|
25
|
+
$clr-wizard-stepnav-text-disabled: var(--clr-wizard-stepnav-text-disabled) !default;
|
|
26
|
+
$clr-wizard-stepnav-border-color: var(--clr-wizard-stepnav-border-color) !default;
|
|
27
|
+
$clr-wizard-stepnav-border-size: var(--clr-wizard-stepnav-border-size) !default;
|
|
28
|
+
$clr-wizard-stepnav-item-border-color: var(--clr-wizard-stepnav-item-border-color) !default;
|
|
29
|
+
$clr-wizard-stepnav-item-complete-border-color: var(--clr-wizard-stepnav-item-complete-border-color) !default;
|
|
30
|
+
$clr-wizard-stepnav-selected-border-color: var(--clr-wizard-stepnav-selected-border-color) !default;
|
|
31
|
+
$clr-wizard-stepnav-selected-bgcolor: var(--clr-wizard-stepnav-selected-bgcolor) !default;
|
|
32
|
+
$clr-wizard-stepnav-selected-error-bgcolor: var(--clr-wizard-stepnav-selected-error-bgcolor) !default;
|
|
33
|
+
$clr-wizard-stepnav-selected-hover-bgcolor: var(--clr-wizard-stepnav-selected-hover-bgcolor) !default;
|
|
34
|
+
$clr-wizard-stepnav-selected-active-bgcolor: var(--clr-wizard-stepnav-selected-active-bgcolor) !default;
|
|
35
|
+
$clr-wizard-stepnav-link-error-icon-color: var(--clr-wizard-stepnav-link-error-icon-color) !default;
|
|
36
|
+
$clr-wizard-stepnav-link-complete-icon-color: var(--clr-wizard-stepnav-link-complete-icon-color) !default;
|
|
37
|
+
$clr-wizard-stepnav-item-error-border-color: var(--clr-wizard-stepnav-item-error-border-color) !default;
|
|
38
|
+
$clr-wizard-stepnav-hover-bgcolor: var(--clr-wizard-stepnav-hover-bgcolor) !default;
|
|
39
|
+
$clr-wizard-stepnav-active-bgcolor: var(--clr-wizard-stepnav-active-bgcolor) !default;
|
|
40
|
+
|
|
41
|
+
$clr-wizard-title-text: var(--clr-wizard-title-text) !default;
|
|
42
|
+
$clr-wizard-footer-height: var(--clr-wizard-footer-height) !default;
|
|
43
|
+
$clr-wizard-header-action-color: var(--clr-wizard-header-action-color) !default;
|
|
44
|
+
$clr-wizard-header-action-color--hovered: var(--clr-wizard-header-action-color--hovered) !default;
|
|
45
|
+
$clr-wizard-box-shadow: var(--clr-wizard-box-shadow) !default;
|
|
46
|
+
$clr-wizard-border-radius: var(--clr-wizard-border-radius) !default;
|
|
47
|
+
|
|
48
|
+
$clr-wizard-all-dialog-min-width: #{mixins.baselinePx(240)};
|
|
49
|
+
$clr-wizard-all-dialog-min-height: #{mixins.baselinePx(420)};
|
|
50
|
+
$clr-wizard-md-nav-min-width: #{mixins.baselinePx(216)};
|
|
51
|
+
$clr-wizard-md-nav-max-width: #{mixins.baselinePx(240)};
|
|
52
|
+
$clr-wizard-md-dialog-max-height: #{mixins.baselinePx(504)};
|
|
53
|
+
$clr-wizard-lg-nav-min-width: $clr-wizard-all-dialog-min-width;
|
|
54
|
+
$clr-wizard-lg-nav-max-width: #{mixins.baselinePx(288)};
|
|
55
|
+
$clr-wizard-lg-dialog-max-height: #{mixins.baselinePx(720)};
|
|
56
|
+
$clr-wizard-xl-nav-min-width: $clr-wizard-all-dialog-min-width;
|
|
57
|
+
$clr-wizard-xl-nav-max-width: #{mixins.baselinePx(320)};
|
|
58
|
+
$clr-wizard-xl-dialog-max-height: 75vh;
|