@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,242 @@
|
|
|
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/core/tokens/variables.tokens' as tokens;
|
|
9
|
+
@use '../styles/variables/variables.density' as density;
|
|
10
|
+
@use '../styles/mixins';
|
|
11
|
+
// TODO: Remove this import — the icon has no <slot> elements so slot/::slotted/dialog rules
|
|
12
|
+
// from base.element.scss are unused. Removing it currently changes some inherited styles;
|
|
13
|
+
// audit and remove once safe to do so.
|
|
14
|
+
@use '../styles/core/base/base.element.scss';
|
|
15
|
+
|
|
16
|
+
:host {
|
|
17
|
+
--color: currentColor;
|
|
18
|
+
|
|
19
|
+
display: inline-block;
|
|
20
|
+
@include mixins.equilateral(#{tokens.$cds-global-space-7});
|
|
21
|
+
@include mixins.min-equilateral(#{tokens.$cds-global-space-7});
|
|
22
|
+
|
|
23
|
+
margin: 0;
|
|
24
|
+
vertical-align: middle;
|
|
25
|
+
fill: var(--color);
|
|
26
|
+
color: var(--color); // See https://github.com/vmware/clarity/issues/5332
|
|
27
|
+
contain: strict;
|
|
28
|
+
cursor: inherit;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
svg {
|
|
32
|
+
display: block;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// sizing
|
|
36
|
+
:host([size*='xs']) {
|
|
37
|
+
// 12px
|
|
38
|
+
@include mixins.equilateral(#{density.$clr-base-icon-size-xs});
|
|
39
|
+
@include mixins.min-equilateral(#{density.$clr-base-icon-size-xs});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
:host([size*='sm']) {
|
|
43
|
+
// weirdly, the default... 16px
|
|
44
|
+
@include mixins.equilateral(#{density.$clr-base-icon-size-s});
|
|
45
|
+
@include mixins.min-equilateral(#{density.$clr-base-icon-size-s});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host([size*='md']) {
|
|
49
|
+
// 20px
|
|
50
|
+
@include mixins.equilateral(#{density.$clr-base-icon-size-m});
|
|
51
|
+
@include mixins.min-equilateral(#{density.$clr-base-icon-size-m});
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host([size*='lg']) {
|
|
55
|
+
// 24px
|
|
56
|
+
@include mixins.equilateral(#{density.$clr-base-icon-size-l});
|
|
57
|
+
@include mixins.min-equilateral(#{density.$clr-base-icon-size-l});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// note: the selectors for `xl` and `xxl` work as expected due to the order in
|
|
61
|
+
// which they are listed here. this is fine and expected for CSS. just know
|
|
62
|
+
// that if their order is switched around, they will break.
|
|
63
|
+
// likewise if we add an `xxs` it will have to go AFTER `xs`!
|
|
64
|
+
:host([size*='xl']) {
|
|
65
|
+
// 28px
|
|
66
|
+
@include mixins.equilateral(#{density.$clr-base-icon-size-xl});
|
|
67
|
+
@include mixins.min-equilateral(#{density.$clr-base-icon-size-xl});
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host([size*='xxl']) {
|
|
71
|
+
// 32px
|
|
72
|
+
@include mixins.equilateral(#{density.$clr-base-icon-size-2xl});
|
|
73
|
+
@include mixins.min-equilateral(#{density.$clr-base-icon-size-2xl});
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host([size*='3xl']) {
|
|
77
|
+
// 36px
|
|
78
|
+
@include mixins.equilateral(density.$clr-base-icon-size-3xl);
|
|
79
|
+
@include mixins.min-equilateral(density.$clr-base-icon-size-3xl);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host([size*='4xl']) {
|
|
83
|
+
// 64px
|
|
84
|
+
@include mixins.equilateral(density.$clr-base-icon-size-4xl);
|
|
85
|
+
@include mixins.min-equilateral(density.$clr-base-icon-size-4xl);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:host([size*='fit']) {
|
|
89
|
+
height: auto;
|
|
90
|
+
width: auto;
|
|
91
|
+
contain: layout;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// colors
|
|
95
|
+
:host([status='success']) {
|
|
96
|
+
--color: #{tokens.$cds-alias-status-success};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:host([status='danger']) {
|
|
100
|
+
--color: #{tokens.$cds-alias-status-danger};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:host([status='warning']) {
|
|
104
|
+
--color: #{tokens.$cds-alias-status-warning-dark};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:host([status='info']) {
|
|
108
|
+
--color: #{tokens.$cds-alias-status-info};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:host([status='neutral']) {
|
|
112
|
+
--color: #{tokens.$cds-alias-status-neutral};
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host([inverse]) {
|
|
116
|
+
--color: #{tokens.$cds-global-color-construction-200};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// directional
|
|
120
|
+
:host([direction='up']) {
|
|
121
|
+
transform: rotate(0deg);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:host([direction='down']) {
|
|
125
|
+
transform: rotate(180deg);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
:host([direction='right']) {
|
|
129
|
+
transform: rotate(90deg);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
:host([direction='left']) {
|
|
133
|
+
transform: rotate(270deg);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
:host([flip='horizontal']) {
|
|
137
|
+
transform: scale(-1) rotateX(180deg);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
:host([flip='vertical']) {
|
|
141
|
+
transform: scale(-1) rotateY(180deg);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.badge,
|
|
145
|
+
.alert {
|
|
146
|
+
fill: var(--badge-color, #{tokens.$cds-alias-status-danger});
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// variant badge colors
|
|
150
|
+
|
|
151
|
+
:host([badge='success']) {
|
|
152
|
+
--badge-color: #{tokens.$cds-alias-status-success};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:host([badge='danger']) {
|
|
156
|
+
--badge-color: #{tokens.$cds-alias-status-danger};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:host([badge*='warning']) {
|
|
160
|
+
--badge-color: #{tokens.$cds-alias-status-warning-dark};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:host([badge='inherit']) {
|
|
164
|
+
--badge-color: currentColor;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:host([badge='info']) {
|
|
168
|
+
--badge-color: #{tokens.$cds-alias-status-info};
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
:host([badge='neutral']) {
|
|
172
|
+
--badge-color: #{tokens.$cds-alias-status-neutral};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// alert colors
|
|
176
|
+
:host([badge='inherit-triangle']) {
|
|
177
|
+
--badge-color: currentColor;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// inverse + variants
|
|
181
|
+
:host([badge][inverse]) {
|
|
182
|
+
--badge-color: #{tokens.$cds-alias-status-danger};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// variant badge colors
|
|
186
|
+
:host([badge='success'][inverse]) {
|
|
187
|
+
--badge-color: #{tokens.$cds-alias-status-success};
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
:host([badge*='warning'][inverse]) {
|
|
191
|
+
--badge-color: #{tokens.$cds-alias-status-warning-dark};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
:host([badge*='inherit'][inverse]) {
|
|
195
|
+
--badge-color: currentColor;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
:host([badge='info'][inverse]) {
|
|
199
|
+
--badge-color: #{tokens.$cds-alias-status-info};
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
// unknown icon animation
|
|
203
|
+
|
|
204
|
+
.cds-internal-dot-1 {
|
|
205
|
+
animation: fade-in-and-out 1.8s ease-in 0s infinite;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.cds-internal-dot-2 {
|
|
209
|
+
animation: fade-in-and-out 1.8s ease-out 0.422s infinite;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.cds-internal-dot-3 {
|
|
213
|
+
animation: fade-in-and-out 1.8s ease-out 0.675s infinite;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@keyframes fade-in-and-out {
|
|
217
|
+
0% {
|
|
218
|
+
opacity: 0;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
75% {
|
|
222
|
+
opacity: 1;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
100% {
|
|
226
|
+
opacity: 0;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@media (prefers-reduced-motion) {
|
|
231
|
+
.cds-internal-dot-1 {
|
|
232
|
+
animation: none;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.cds-internal-dot-2 {
|
|
236
|
+
animation: none;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.cds-internal-dot-3 {
|
|
240
|
+
animation: none;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 'sass:string';
|
|
9
|
+
@use '../layout/variables.login';
|
|
10
|
+
|
|
11
|
+
//Background SVG Images work only when the svg is url encoded.
|
|
12
|
+
//Use this encoder http://meyerweb.com/eric/tools/dencoder/ to encode the SVG.
|
|
13
|
+
|
|
14
|
+
$svg_data: 'data:image/svg+xml;charset=utf8';
|
|
15
|
+
|
|
16
|
+
@function encodeColorString($colorStr) {
|
|
17
|
+
@if not string.index($colorStr, '#') {
|
|
18
|
+
@return $colorStr;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@return '%23#{string.slice($colorStr, 2)}';
|
|
22
|
+
}
|
|
23
|
+
@function generateErrorIcon($fillColor: #a32100) {
|
|
24
|
+
$error-icon: '%3Csvg%20version%3D%221.1%22%20viewBox%3D%225%205%2026%2026%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cdefs%3E%3Cstyle%3E.clr-i-outline%7Bfill%3A' +
|
|
25
|
+
encodeColorString($fillColor + '') +
|
|
26
|
+
'%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctitle%3Eexclamation-circle-line%3C%2Ftitle%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22clr-i-outline%20clr-i-outline-path-1%22%20d%3D%22M18%2C6A12%2C12%2C0%2C1%2C0%2C30%2C18%2C12%2C12%2C0%2C0%2C0%2C18%2C6Zm0%2C22A10%2C10%2C0%2C1%2C1%2C28%2C18%2C10%2C10%2C0%2C0%2C1%2C18%2C28Z%22%3E%3C%2Fpath%3E%3Cpath%20class%3D%22clr-i-outline%20clr-i-outline-path-2%22%20d%3D%22M18%2C20.07a1.3%2C1.3%2C0%2C0%2C1-1.3-1.3v-6a1.3%2C1.3%2C0%2C1%2C1%2C2.6%2C0v6A1.3%2C1.3%2C0%2C0%2C1%2C18%2C20.07Z%22%3E%3C%2Fpath%3E%3Ccircle%20class%3D%22clr-i-outline%20clr-i-outline-path-3%22%20cx%3D%2217.95%22%20cy%3D%2223.02%22%20r%3D%221.5%22%3E%3C%2Fcircle%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E';
|
|
27
|
+
|
|
28
|
+
@return url('#{$svg_data},#{$error-icon}');
|
|
29
|
+
}
|
|
30
|
+
@function generateWarningIcon($fillColor: #747474) {
|
|
31
|
+
$warning-icon: '%3Csvg%20version%3D%221.1%22%20viewBox%3D%225%205%2026%2026%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%09.clr-i-outline%7Bfill-rule%3Aevenodd%3Bclip-rule%3Aevenodd%3Bfill%3A' +
|
|
32
|
+
encodeColorString($fillColor + '') +
|
|
33
|
+
'%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctitle%3Eexclamation-triangle-line%3C%2Ftitle%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22clr-i-outline%20clr-i-outline-path-1%22%20d%3D%22M18%2C21.32a1.3%2C1.3%2C0%2C0%2C0%2C1.3-1.3V14a1.3%2C1.3%2C0%2C1%2C0-2.6%2C0v6A1.3%2C1.3%2C0%2C0%2C0%2C18%2C21.32Z%22%3E%3C%2Fpath%3E%3Ccircle%20class%3D%22clr-i-outline%20clr-i-outline-path-2%22%20cx%3D%2217.95%22%20cy%3D%2224.27%22%20r%3D%221.5%22%3E%3C%2Fcircle%3E%3Cpath%20class%3D%22clr-i-outline%20clr-i-outline-path-3%22%20d%3D%22M30.33%2C25.54%2C20.59%2C7.6a3%2C3%2C0%2C0%2C0-5.27%2C0L5.57%2C25.54A3%2C3%2C0%2C0%2C0%2C8.21%2C30H27.69a3%2C3%2C0%2C0%2C0%2C2.64-4.43Zm-1.78%2C1.94a1%2C1%2C0%2C0%2C1-.86.49H8.21a1%2C1%2C0%2C0%2C1-.88-1.48L17.07%2C8.55a1%2C1%2C0%2C0%2C1%2C1.76%2C0l9.74%2C17.94A1%2C1%2C0%2C0%2C1%2C28.55%2C27.48Z%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fsvg%3E';
|
|
34
|
+
|
|
35
|
+
@return url('#{$svg_data},#{$warning-icon}');
|
|
36
|
+
}
|
|
37
|
+
@function generateCheckIcon($fillColor: #747474) {
|
|
38
|
+
$check-icon: '%3Csvg%20version%3D%221.1%22%20viewBox%3D%220%200%2036%2036%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20focusable%3D%22false%22%20aria-hidden%3D%22true%22%20role%3D%22img%22%3E%3Cpath%20fill%3D%22' +
|
|
39
|
+
encodeColorString($fillColor + '') +
|
|
40
|
+
'%22%20class%3D%22clr-i-outline%20clr-i-outline-path-1%22%20d%3D%22M13.72%2C27.69%2C3.29%2C17.27a1%2C1%2C0%2C0%2C1%2C1.41-1.41l9%2C9L31.29%2C7.29a1%2C1%2C0%2C0%2C1%2C1.41%2C1.41Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E';
|
|
41
|
+
//$check-icon: "%3Csvg%20version=%221.1%22%20viewBox=%220%200%2036%2036%22%20preserveAspectRatio=%22xMidYMid%20meet%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20focusable=%22false%22%20aria-hidden=%22true%22%20role=%22img%22%3E%3Cpath%20class=%22clr-i-outline%20clr-i-outline-path-1%22%20d=%22M13.72,27.69,3.29,17.27a1,1,0,0,1,1.41-1.41l9,9L31.29,7.29a1,1,0,0,1,1.41,1.41Z%22%3E%3C/path%3E%3C/svg%3E";
|
|
42
|
+
|
|
43
|
+
@return url('#{$svg_data},#{$check-icon}');
|
|
44
|
+
}
|
|
45
|
+
@function generateSpinnerIcon($fillBgColor: #000000, $fillSnakeColor: #0077b8, $opacityBg: 0.15) {
|
|
46
|
+
$spinner-icon: '%3Csvg%20id%3D%22Layer_2%22%20data-name%3D%22Layer%202%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2072%22%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cstyle%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20.cls-1%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20.cls-2%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20fill%3A%20none%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-width%3A%205px%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.cls-1%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke%3A%20' +
|
|
47
|
+
encodeColorString($fillBgColor + '') +
|
|
48
|
+
'%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke-opacity%3A%20' + $opacityBg +
|
|
49
|
+
'%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20.cls-2%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20stroke%3A%20' +
|
|
50
|
+
encodeColorString($fillSnakeColor + '') /* the blue, smaller part of the ring*/ +
|
|
51
|
+
'%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%3C%2Fstyle%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Ctitle%3EPreloader_72x2%3C%2Ftitle%3E%0A%20%20%20%20%3Ccircle%20class%3D%22cls-1%22%20cx%3D%2236%22%20cy%3D%2236%22%20r%3D%2233%22%2F%3E%0A%20%20%20%20%3Cpath%20class%3D%22cls-2%22%20d%3D%22M14.3%2C60.9A33%2C33%2C0%2C0%2C1%2C36%2C3%22%3E%0A%20%20%20%20%3C%2Fpath%3E%0A%3C%2Fsvg%3E%0A';
|
|
52
|
+
|
|
53
|
+
@return url('#{$svg_data},#{$spinner-icon}');
|
|
54
|
+
}
|
|
55
|
+
@function generateLoginBackground() {
|
|
56
|
+
@return url('#{$svg_data},#{variables.$clr-login-background}');
|
|
57
|
+
}
|
|
58
|
+
@function generateLoginVMWareLogo() {
|
|
59
|
+
@return url('#{$svg_data}, #{variables.$clr-login-logo}');
|
|
60
|
+
}
|
|
61
|
+
@function generateVMWLogo() {
|
|
62
|
+
$logo: '%3Csvg%20viewBox%3D%220%200%2036%2036%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3Evm%20bug%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Headers%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22CL-Headers-Specs%22%20transform%3D%22translate(-262.000000%2C%20-175.000000)%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%2201%22%20transform%3D%22translate(238.000000%2C%20163.000000)%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22vm-bug%22%20transform%3D%22translate(24.703125%2C%2012.000000)%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-42%22%20fill-opacity%3D%220.25%22%20fill%3D%22%23DDDDDD%22%20opacity%3D%220.6%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2236%22%20height%3D%2236%22%20rx%3D%223%22%3E%3C%2Frect%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M7.63948376%2C13.8762402%20C7.32265324%2C13.2097082%206.53978152%2C12.9085139%205.80923042%2C13.219934%20C5.07771043%2C13.5322837%204.80932495%2C14.3103691%205.13972007%2C14.9769011%20L8.20725954%2C21.3744923%20C8.68977207%2C22.3784735%209.19844491%2C22.9037044%2010.1528121%2C22.9037044%20C11.1720955%2C22.9037044%2011.6168209%2C22.3310633%2012.0983646%2C21.3744923%20C12.0983646%2C21.3744923%2014.7744682%2C15.7847341%2014.8015974%2C15.7261685%20C14.8287266%2C15.6666733%2014.9149588%2C15.4863286%2015.1872199%2C15.4872582%20C15.4178182%2C15.490047%2015.6106294%2C15.6657437%2015.6106294%2C15.9018652%20L15.6106294%2C21.3698443%20C15.6106294%2C22.212073%2016.0979865%2C22.9037044%2017.0349134%2C22.9037044%20C17.9718403%2C22.9037044%2018.4785754%2C22.212073%2018.4785754%2C21.3698443%20L18.4785754%2C16.8965503%20C18.4785754%2C16.0338702%2019.1219254%2C15.4742436%2020.0007183%2C15.4742436%20C20.8785423%2C15.4742436%2021.4637583%2C16.0524624%2021.4637583%2C16.8965503%20L21.4637583%2C21.3698443%20C21.4637583%2C22.212073%2021.9520842%2C22.9037044%2022.8880423%2C22.9037044%20C23.8240003%2C22.9037044%2024.3326731%2C22.212073%2024.3326731%2C21.3698443%20L24.3326731%2C16.8965503%20C24.3326731%2C16.0338702%2024.9750543%2C15.4742436%2025.8538472%2C15.4742436%20C26.7307023%2C15.4742436%2027.3168871%2C16.0524624%2027.3168871%2C16.8965503%20L27.3168871%2C21.3698443%20C27.3168871%2C22.212073%2027.8052131%2C22.9037044%2028.74214%2C22.9037044%20C29.6771291%2C22.9037044%2030.1848331%2C22.212073%2030.1848331%2C21.3698443%20L30.1848331%2C16.2783582%20C30.1848331%2C14.4070488%2028.6181207%2C13.0962956%2026.7307023%2C13.0962956%20C24.8452216%2C13.0962956%2023.6651006%2C14.3475536%2023.6651006%2C14.3475536%20C23.037253%2C13.5666793%2022.1720247%2C13.0972252%2020.7089847%2C13.0972252%20C19.164557%2C13.0972252%2017.8129406%2C14.3475536%2017.8129406%2C14.3475536%20C17.1841241%2C13.5666793%2016.1154267%2C13.0972252%2015.2308204%2C13.0972252%20C13.8617638%2C13.0972252%2012.7746572%2C13.675444%2012.1119292%2C15.1302871%20L10.1528121%2C19.5608189%20L7.63948376%2C13.8762402%22%20id%3D%22Fill-4%22%20fill%3D%22%23FFFFFF%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E';
|
|
63
|
+
|
|
64
|
+
@return url('#{$svg_data},#{$logo}');
|
|
65
|
+
}
|
|
66
|
+
@function generateSearchIcon($fillBgColor: #ffffff) {
|
|
67
|
+
$search-icon: '%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2036%2036%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A' +
|
|
68
|
+
encodeColorString($fillBgColor + '') +
|
|
69
|
+
'%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3ESearch%3C%2Ftitle%3E%3Cg%20id%3D%22icons%22%3E%3Cpath%20class%3D%22cls-1%22%20d%3D%22M15%2C4.05A10.95%2C10.95%2C0%2C1%2C1%2C4.05%2C15%2C11%2C11%2C0%2C0%2C1%2C15%2C4.05M15%2C2A13%2C13%2C0%2C1%2C0%2C28%2C15%2C13%2C13%2C0%2C0%2C0%2C15%2C2Z%22%2F%3E%3Cpath%20class%3D%22cls-1%22%20%20d%3D%22M33.71%2C32.29l-7.37-7.42-1.42%2C1.41%2C7.37%2C7.42a1%2C1%2C0%2C1%2C0%2C1.42-1.41Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E';
|
|
70
|
+
|
|
71
|
+
@return url('#{$svg_data},#{$search-icon}');
|
|
72
|
+
}
|
|
73
|
+
@function generateCaretIcon($fillColor: #9a9a9a) {
|
|
74
|
+
$caret-icon: '%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2012%2012%22%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cstyle%3E.cls-1%7Bfill%3A' +
|
|
75
|
+
encodeColorString($fillColor + '') +
|
|
76
|
+
'%3B%7D%3C%2Fstyle%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Ctitle%3ECaret%3C%2Ftitle%3E%0A%20%20%20%20%3Cpath%20class%3D%22cls-1%22%20d%3D%22M6%2C9L1.2%2C4.2a0.68%2C0.68%2C0%2C0%2C1%2C1-1L6%2C7.08%2C9.84%2C3.24a0.68%2C0.68%2C0%2C1%2C1%2C1%2C1Z%22%2F%3E%0A%3C%2Fsvg%3E%0A';
|
|
77
|
+
|
|
78
|
+
@return url('#{$svg_data},#{$caret-icon}');
|
|
79
|
+
}
|
|
80
|
+
@function generateLeftCaretIcon($fillColor: #747474) {
|
|
81
|
+
$left-caret-icon: '%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3Cstyle%3E.cls-3%7Bfill%3A' +
|
|
82
|
+
encodeColorString($fillColor + '') +
|
|
83
|
+
'%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%3E%3Cpolygon%20class%3D%22cls-3%22%20points%3D%2210.15%2014.72%203.44%208%2010.15%201.28%2011%202.13%205.14%208%2011%2013.87%2010.15%2014.72%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E';
|
|
84
|
+
|
|
85
|
+
@return url('#{$svg_data},#{$left-caret-icon}');
|
|
86
|
+
}
|
|
87
|
+
@function generateRightCaretIcon($fillColor: #747474) {
|
|
88
|
+
$right-caret-icon: '%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3A' +
|
|
89
|
+
encodeColorString($fillColor + '') +
|
|
90
|
+
'%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%3E%3Cpolygon%20class%3D%22cls-1%22%20points%3D%225.85%2014.72%2012.56%208%205.85%201.28%205%202.13%2010.86%208%205%2013.87%205.85%2014.72%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E';
|
|
91
|
+
|
|
92
|
+
@return url('#{$svg_data},#{$right-caret-icon}');
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// FIXME: This is NOT a clean SVG. We'll fix that when everyone's back next week.
|
|
96
|
+
|
|
97
|
+
@function generateEmptyDatagridPlaceholder() {
|
|
98
|
+
$placeholder-image: '%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M34.2043%2029.6417C34.4334%2029.6417%2034.6209%2029.8292%2034.6209%2030.0583V35.1167C34.6209%2035.3458%2034.4334%2035.5333%2034.2043%2035.5333C33.9751%2035.5333%2033.7876%2035.3458%2033.7876%2035.1167V30.0583C33.7876%2029.8292%2033.9751%2029.6417%2034.2043%2029.6417Z%22%20fill%3D%22%23AEB8BC%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M31.675%2032.1708H36.7333C36.9625%2032.1708%2037.15%2032.3583%2037.15%2032.5875C37.15%2032.8167%2036.9625%2033.0042%2036.7333%2033.0042H31.675C31.4458%2033.0042%2031.2583%2032.8167%2031.2583%2032.5875C31.2583%2032.3583%2031.4458%2032.1708%2031.675%2032.1708Z%22%20fill%3D%22%23AEB8BC%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M4.95426%2022.1875C5.18343%2022.1875%205.37093%2022.375%205.37093%2022.6042V24.9375C5.37093%2025.1667%205.18343%2025.3542%204.95426%2025.3542C4.7251%2025.3542%204.5376%2025.1667%204.5376%2024.9375V22.6042C4.5376%2022.375%204.7251%2022.1875%204.95426%2022.1875Z%22%20fill%3D%22%23AEB8BC%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M3.78727%2023.3542H6.12061C6.34977%2023.3542%206.53727%2023.5417%206.53727%2023.7708C6.53727%2024%206.34977%2024.1875%206.12061%2024.1875H3.78727C3.55811%2024.1875%203.37061%2024%203.37061%2023.7708C3.37061%2023.5417%203.55811%2023.3542%203.78727%2023.3542Z%22%20fill%3D%22%23AEB8BC%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20.0002%204.65835C24.4044%204.65835%2028.6252%204.90835%2031.8919%205.36251C35.2419%205.82918%2036.5169%206.35835%2036.9711%206.62085C36.5127%206.88751%2035.2419%207.41251%2031.8919%207.87918C28.6252%208.33335%2024.4002%208.58335%2020.0002%208.58335C15.6002%208.58335%2011.3752%208.33335%208.10856%207.87918C4.75856%207.41251%203.48356%206.88335%203.02939%206.62085C3.48773%206.35418%204.75856%205.82918%208.10856%205.36251C11.3752%204.90835%2015.6002%204.65835%2020.0002%204.65835ZM20.0002%203.82501C10.0627%203.82501%202.00439%205.07918%202.00439%206.62501C2.00439%208.17085%2010.0627%209.42501%2020.0002%209.42501C29.9377%209.42501%2037.9961%208.17085%2037.9961%206.62501C37.9961%205.07918%2029.9377%203.82501%2020.0002%203.82501Z%22%20fill%3D%22%23AEB8BC%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M21.996%2027.8667C21.996%2026.7833%2022.3752%2025.7333%2023.0668%2024.9L37.896%207.01666H37.821C36.5918%208.375%2029.0835%209.42083%2020.0002%209.42083C10.9168%209.42083%203.41266%208.375%202.17933%207.01666H2.146L16.9752%2024.9C17.6668%2025.7333%2018.046%2026.7833%2018.046%2027.8667V35.0125H18.071C18.071%2035.0125%2018.071%2035.025%2018.071%2035.0333C18.071%2035.6667%2018.9502%2036.1792%2020.0335%2036.1792C21.1168%2036.1792%2021.996%2035.6667%2021.996%2035.0333C21.996%2035.025%2021.996%2035.0208%2021.996%2035.0125H22.0002V27.8667H21.996Z%22%20fill%3D%22%23AEB8BC%22%2F%3E%0A%3C%2Fsvg%3E';
|
|
99
|
+
|
|
100
|
+
@return url('#{$svg_data},#{$placeholder-image}');
|
|
101
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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/core/tokens/variables.tokens' as tokens;
|
|
9
|
+
@use '../emphasis/alert/variables.alert' as alert-variables;
|
|
10
|
+
@use 'mixins.images' as images-mixins;
|
|
11
|
+
@use '../styles/mixins';
|
|
12
|
+
@use 'icons.clarity';
|
|
13
|
+
|
|
14
|
+
@include mixins.exports('images.clarity') {
|
|
15
|
+
%icon-styles {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
|
|
18
|
+
@include mixins.equilateral(alert-variables.$clr-icon-dimension-sm);
|
|
19
|
+
|
|
20
|
+
padding: 0;
|
|
21
|
+
|
|
22
|
+
@include images-mixins.icon-background-styles();
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.alert-icon,
|
|
26
|
+
.clr-icon {
|
|
27
|
+
@extend %icon-styles;
|
|
28
|
+
|
|
29
|
+
&.clr-icon-warning,
|
|
30
|
+
&.icon-warning {
|
|
31
|
+
background-image: icons.generateWarningIcon();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.clr-icon-warning-white {
|
|
35
|
+
background-image: icons.generateWarningIcon(#{tokens.$cds-global-color-white});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.clr-vmw-logo {
|
|
39
|
+
background-image: icons.generateVMWLogo();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
@mixin icon-background-styles() {
|
|
8
|
+
background-repeat: no-repeat;
|
|
9
|
+
background-size: contain;
|
|
10
|
+
vertical-align: middle;
|
|
11
|
+
}
|