@snyk-mktg/brand-ui 2.5.9-canary.1 → 2.5.9-canary.4
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/dist/scss/base/_color.scss +1 -16
- package/dist/scss/base/_layout.scss +7 -11
- package/dist/scss/base/decorations/_markers.scss +28 -26
- package/dist/scss/base/mixins/_accessibility.scss +6 -0
- package/dist/scss/base/mixins/_color-mode.scss +7 -0
- package/dist/scss/base/variables/_colors.scss +34 -29
- package/dist/scss/base/variables/_themes.scss +17 -17
- package/dist/scss/base/variables/_typography.scss +41 -49
- package/dist/scss/base.scss +4 -2
- package/dist/scss/components/atoms/_badge.scss +1 -1
- package/dist/scss/components/atoms/_button.scss +11 -116
- package/dist/scss/components/atoms/_checkbox.scss +12 -2
- package/dist/scss/components/atoms/_dropdown.scss +3 -3
- package/dist/scss/components/atoms/_feature-checkmark.scss +0 -1
- package/dist/scss/components/atoms/_icons.scss +5 -2
- package/dist/scss/components/atoms/_tabs.scss +4 -4
- package/dist/scss/components/atoms/triggers/_filter.scss +1 -1
- package/dist/scss/components/molecules/_announcements.scss +4 -4
- package/dist/scss/components/molecules/_pagination.scss +3 -3
- package/dist/scss/components/molecules/_share-this.scss +2 -1
- package/dist/scss/components/molecules/_tables.scss +59 -2
- package/dist/scss/components/molecules/cards/_card.scss +7 -8
- package/dist/scss/components/organisms/_glossary.scss +7 -0
- package/dist/scss/components/organisms/_split-content.scss +0 -4
- package/dist/scss/components/organisms/_sub-navigation.scss +1 -1
- package/dist/scss/components/organisms/ctas/_basic-cta.scss +6 -4
- package/dist/scss/components/organisms/heroes/_hero-case-study.scss +4 -7
- package/dist/scss/evo/_components.scss +1 -1
- package/dist/scss/evo/base/variables/_typography.scss +1 -0
- package/dist/scss/evo/components/atoms/_button.scss +88 -0
- package/dist/scss/evo/components/molecules/_share-this.scss +44 -0
- package/dist/scss/evo/components/molecules/cards/_card.scss +3 -0
- package/dist/scss/evo/components/organisms/_footer.scss +14 -0
- package/dist/scss/evo/components/organisms/ctas/_basic-cta.scss +1 -0
- package/dist/scss/labs/base/variables/_colors.scss +8 -0
- package/dist/scss/labs/base/variables/_typography.scss +44 -0
- package/dist/scss/labs/components/atoms/_button.scss +12 -0
- package/dist/scss/labs/components/atoms/triggers/_play.scss +1 -1
- package/dist/scss/labs/components/molecules/_pagination.scss +5 -0
- package/dist/scss/labs/components/molecules/cards/_card.scss +10 -0
- package/dist/scss/labs/components/organisms/ctas/_basic-cta.scss +2 -0
- package/dist/scss/labs/utilities/_rich-text.scss +13 -0
- package/dist/scss/utilities/_rich-text.scss +1 -1
- package/package.json +1 -1
|
@@ -24,23 +24,11 @@ $secondary-conic-light-values: RGBA(brandui-rgb-labels(action), 1), RGBA(brandui
|
|
|
24
24
|
$secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(brandui-rgb-labels(action-dark), 0.3),
|
|
25
25
|
RGBA(brandui-rgb-labels(action-dark), 0.3), RGBA(brandui-rgb-labels(action-dark), 1);
|
|
26
26
|
|
|
27
|
-
@property --glimmer-angle {
|
|
28
|
-
syntax: '<angle>';
|
|
29
|
-
inherits: false;
|
|
30
|
-
initial-value: 0deg;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@property --glimmer-duration {
|
|
34
|
-
syntax: '<time>';
|
|
35
|
-
inherits: false;
|
|
36
|
-
initial-value: 6s;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
27
|
.button {
|
|
40
28
|
border: 0.0625rem solid transparent;
|
|
41
29
|
align-content: center;
|
|
42
30
|
align-items: center;
|
|
43
|
-
border-radius: map.get($brandui-radius,
|
|
31
|
+
border-radius: map.get($brandui-radius, small);
|
|
44
32
|
display: inline-flex;
|
|
45
33
|
font-family: map.get($brandui-font-family, space-grotesk), sans-serif;
|
|
46
34
|
font-size: map.get($brandui-font-size, body);
|
|
@@ -95,114 +83,21 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
|
|
|
95
83
|
|
|
96
84
|
&.primary {
|
|
97
85
|
position: relative;
|
|
98
|
-
border:
|
|
99
|
-
|
|
86
|
+
border: 1px;
|
|
87
|
+
border-style: solid;
|
|
88
|
+
border-color: white;
|
|
100
89
|
@include color.color-mode(color, brandui-color-labels(action-contrast), brandui-color-labels(action-contrast-dark));
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
@include color.gradient-mode-pseudo(
|
|
104
|
-
'&:before',
|
|
105
|
-
background,
|
|
106
|
-
'linear',
|
|
107
|
-
90deg,
|
|
108
|
-
brandui-color-labels(action),
|
|
109
|
-
brandui-color-labels(action-secondary),
|
|
110
|
-
brandui-color-labels(action-secondary-dark),
|
|
111
|
-
brandui-color-labels(action-dark)
|
|
112
|
-
);
|
|
113
|
-
&:before {
|
|
114
|
-
content: '';
|
|
115
|
-
position: absolute;
|
|
116
|
-
inset: 0;
|
|
117
|
-
border-radius: inherit;
|
|
118
|
-
z-index: -1;
|
|
119
|
-
}
|
|
120
|
-
// This is the rotating conic-gradient glimmer effect
|
|
121
|
-
@include color.conic-gradient-mode-pseudo(
|
|
122
|
-
'&:after',
|
|
123
|
-
background,
|
|
124
|
-
var(--glimmer-angle),
|
|
125
|
-
$primary-conic-light-values,
|
|
126
|
-
$primary-conic-dark-values
|
|
127
|
-
);
|
|
128
|
-
&:after {
|
|
129
|
-
content: '';
|
|
130
|
-
display: block;
|
|
131
|
-
position: absolute;
|
|
132
|
-
inset: -1px;
|
|
133
|
-
animation: glimmer var(--glimmer-duration) linear infinite;
|
|
134
|
-
border-radius: inherit;
|
|
135
|
-
z-index: -2;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&:hover,
|
|
139
|
-
&:focus {
|
|
140
|
-
@include color.gradient-mode-pseudo(
|
|
141
|
-
'&:before',
|
|
142
|
-
background,
|
|
143
|
-
'linear',
|
|
144
|
-
90deg,
|
|
145
|
-
brandui-color-labels(action-secondary),
|
|
146
|
-
brandui-color-labels(neutral-2),
|
|
147
|
-
brandui-color-labels(action-secondary-dark),
|
|
148
|
-
brandui-color-labels(neutral-5)
|
|
149
|
-
);
|
|
150
|
-
|
|
151
|
-
&:after {
|
|
152
|
-
--glimmer-duration: 2s;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
90
|
+
@include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
91
|
+
@include color.color-mode(background-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
155
92
|
}
|
|
156
93
|
|
|
157
94
|
&.secondary {
|
|
158
95
|
position: relative;
|
|
159
|
-
border:
|
|
96
|
+
border: 1px;
|
|
97
|
+
border-style: solid;
|
|
160
98
|
transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, fast);
|
|
161
|
-
isolation: isolate;
|
|
162
99
|
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
163
|
-
|
|
164
|
-
// This is the transparent fake border
|
|
165
|
-
@include color.color-mode-pseudo('&:before', background-color, brandui-color-labels(neutral-5), brandui-color-labels(neutral-2));
|
|
166
|
-
&:before {
|
|
167
|
-
content: '';
|
|
168
|
-
position: absolute;
|
|
169
|
-
inset: 0;
|
|
170
|
-
border-radius: inherit;
|
|
171
|
-
backdrop-filter: blur(4px);
|
|
172
|
-
z-index: -1;
|
|
173
|
-
}
|
|
174
|
-
// This is the rotating conic-gradient glimmer effect
|
|
175
|
-
@include color.conic-gradient-mode-pseudo(
|
|
176
|
-
'&:after',
|
|
177
|
-
background,
|
|
178
|
-
var(--glimmer-angle),
|
|
179
|
-
$secondary-conic-light-values,
|
|
180
|
-
$secondary-conic-dark-values
|
|
181
|
-
);
|
|
182
|
-
&:after {
|
|
183
|
-
content: '';
|
|
184
|
-
display: block;
|
|
185
|
-
position: absolute;
|
|
186
|
-
inset: -1px;
|
|
187
|
-
animation: glimmer var(--glimmer-duration) linear infinite;
|
|
188
|
-
border-radius: inherit;
|
|
189
|
-
z-index: -2;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
&:hover,
|
|
193
|
-
&:focus {
|
|
194
|
-
transition: color map.get($brandui-transition, fast);
|
|
195
|
-
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
196
|
-
|
|
197
|
-
@include color.color-mode-pseudo('&:before', background-color, brandui-color-labels(neutral-6), brandui-color-labels(neutral-1));
|
|
198
|
-
&:before {
|
|
199
|
-
transition: background-color map.get($brandui-transition, fast);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&:after {
|
|
203
|
-
--glimmer-duration: 2s;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
100
|
+
@include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
206
101
|
}
|
|
207
102
|
|
|
208
103
|
&.destroy {
|
|
@@ -232,7 +127,7 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
|
|
|
232
127
|
vertical-align: middle;
|
|
233
128
|
line-height: 1.2;
|
|
234
129
|
gap: map.get($brandui-padding, extra-small);
|
|
235
|
-
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
130
|
+
@include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
236
131
|
|
|
237
132
|
&:after {
|
|
238
133
|
content: '';
|
|
@@ -247,7 +142,7 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
|
|
|
247
142
|
&:hover,
|
|
248
143
|
&:focus {
|
|
249
144
|
background: transparent;
|
|
250
|
-
@include color.color-mode(color, brandui-color-labels(action
|
|
145
|
+
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
251
146
|
|
|
252
147
|
&:after {
|
|
253
148
|
transform: translateX(0.25rem);
|
|
@@ -67,8 +67,7 @@ $tinting: RGBA(brandui-rgb-labels(action), 0.05);
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
&:hover
|
|
71
|
-
&:focus {
|
|
70
|
+
&:hover {
|
|
72
71
|
input[type='checkbox'] + .checkmark {
|
|
73
72
|
border-width: 0.0625rem;
|
|
74
73
|
border-style: solid;
|
|
@@ -77,6 +76,17 @@ $tinting: RGBA(brandui-rgb-labels(action), 0.05);
|
|
|
77
76
|
}
|
|
78
77
|
}
|
|
79
78
|
|
|
79
|
+
&:focus,
|
|
80
|
+
&:focus-visible,
|
|
81
|
+
&:focus-within {
|
|
82
|
+
input[type='checkbox'] + .checkmark {
|
|
83
|
+
outline-width: 3px;
|
|
84
|
+
outline-style: solid;
|
|
85
|
+
box-shadow: 0 0 0.625rem $shading;
|
|
86
|
+
@include color.color-mode(outline-color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
80
90
|
i {
|
|
81
91
|
display: inline-block;
|
|
82
92
|
margin-bottom: -0.1875rem;
|
|
@@ -124,7 +124,7 @@ $tinting-dark: RGBA(brandui-rgb-labels(action-dark), 0.1);
|
|
|
124
124
|
border-color map.get($brandui-transition, fast);
|
|
125
125
|
@include color.color-mode(color, brandui-color-labels(ui-text), brandui-color-labels(ui-text-dark));
|
|
126
126
|
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
127
|
-
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.
|
|
127
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.3), RGBA(brandui-rgb-labels(ui-stroke), 0.3));
|
|
128
128
|
|
|
129
129
|
&:after {
|
|
130
130
|
content: '';
|
|
@@ -168,8 +168,8 @@ $tinting-dark: RGBA(brandui-rgb-labels(action-dark), 0.1);
|
|
|
168
168
|
display: block;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.
|
|
172
|
-
@include color.color-mode(background-color,
|
|
171
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.3), RGBA(brandui-rgb-labels(ui-stroke), 0.3));
|
|
172
|
+
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
&-option {
|
|
@@ -46,7 +46,8 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&.icon-theme-solid {
|
|
49
|
-
|
|
49
|
+
// TODO: Evaluate if this is needed once the designs are more locked in.
|
|
50
|
+
// @include theme.theme-color(color, 'solid-primary');
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
&.icon-solid {
|
|
@@ -70,10 +71,12 @@
|
|
|
70
71
|
mask-position: center;
|
|
71
72
|
mask-repeat: no-repeat;
|
|
72
73
|
mask-size: contain;
|
|
73
|
-
background-color: currentColor;
|
|
74
74
|
mask-image: url($icon-val);
|
|
75
75
|
mask-position: center;
|
|
76
76
|
mask-repeat: no-repeat;
|
|
77
|
+
|
|
78
|
+
background-color: currentColor;
|
|
79
|
+
// @include color.color-mode(background-color, brandui-color-labels(default), brandui-color-labels(default-dark));
|
|
77
80
|
}
|
|
78
81
|
}
|
|
79
82
|
}
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
padding: map.get($brandui-padding, extra-small);
|
|
15
15
|
display: flex;
|
|
16
16
|
gap: map.get($brandui-padding, medium);
|
|
17
|
-
border-radius: map.get($brandui-radius,
|
|
18
|
-
border-width:
|
|
17
|
+
border-radius: map.get($brandui-radius, small);
|
|
18
|
+
border-width: 1px;
|
|
19
19
|
border-style: solid;
|
|
20
20
|
cursor: default;
|
|
21
21
|
overflow-x: auto;
|
|
22
22
|
scroll-snap-type: x mandatory;
|
|
23
|
-
@include color.color-mode(border-color, brandui-
|
|
23
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-3), 0.3), RGBA(brandui-rgb-labels(neutral-5), 0.3));
|
|
24
24
|
|
|
25
25
|
&-body {
|
|
26
26
|
display: flex;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
.tab {
|
|
31
31
|
border: 0.0625rem solid transparent;
|
|
32
|
-
border-radius: map.get($brandui-radius,
|
|
32
|
+
border-radius: map.get($brandui-radius, extra-small);
|
|
33
33
|
cursor: pointer;
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-direction: column;
|
|
@@ -36,6 +36,6 @@
|
|
|
36
36
|
&:hover,
|
|
37
37
|
&:focus-within,
|
|
38
38
|
&.open {
|
|
39
|
-
@include color.color-mode(color, brandui-color-labels(action-
|
|
39
|
+
@include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
.announcement {
|
|
12
12
|
&-bar {
|
|
13
|
-
border:
|
|
13
|
+
border: 1px solid;
|
|
14
14
|
border-radius: map.get($brandui-radius, pill);
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
display: inline-block;
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
max-width: max-content;
|
|
20
20
|
padding: 0.5rem 1.5rem;
|
|
21
21
|
position: relative;
|
|
22
|
-
box-shadow: map.get($brandui-shadow, outline);
|
|
23
22
|
transition: map.get($brandui-transition, fast);
|
|
24
|
-
@include
|
|
25
|
-
|
|
23
|
+
@include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
24
|
+
|
|
25
|
+
// @include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-3), 0.3), RGBA(brandui-rgb-labels(neutral-5), 0.3));
|
|
26
26
|
|
|
27
27
|
.badge {
|
|
28
28
|
margin-right: map.get($brandui-padding, 'extra-small');
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
padding: map.get($brandui-padding, extra-small) map.get($brandui-padding, small);
|
|
31
31
|
border-width: 0.0625rem;
|
|
32
32
|
border-style: solid;
|
|
33
|
-
border-radius: map.get($brandui-radius,
|
|
33
|
+
border-radius: map.get($brandui-radius, small);
|
|
34
34
|
text-decoration: none;
|
|
35
35
|
transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, 'fast'),
|
|
36
36
|
border-color map.get($brandui-transition, fast);
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
|
|
42
42
|
&:hover {
|
|
43
43
|
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
44
|
-
@include color.color-mode(background-color, brandui-color-labels(
|
|
45
|
-
@include color.color-mode(border-color, brandui-color-labels(action
|
|
44
|
+
@include color.color-mode(background-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
45
|
+
@include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
RGBA(brandui-rgb-labels(action-secondary), 0.1),
|
|
39
39
|
RGBA(brandui-rgb-labels(action-secondary-dark), 0.1)
|
|
40
40
|
);
|
|
41
|
-
@include color.color-mode(color, brandui-color-labels(
|
|
41
|
+
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
42
|
+
@include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
}
|
|
@@ -10,6 +10,64 @@
|
|
|
10
10
|
@use '../../base/functions' as *;
|
|
11
11
|
|
|
12
12
|
.table {
|
|
13
|
+
&-basic {
|
|
14
|
+
border-collapse: collapse;
|
|
15
|
+
min-width: brandui-col-spacing(6);
|
|
16
|
+
|
|
17
|
+
&-wrapper {
|
|
18
|
+
border-radius: map.get($brandui-padding, extra-small);
|
|
19
|
+
border-width: 1px;
|
|
20
|
+
border-style: solid;
|
|
21
|
+
overflow-y: hidden;
|
|
22
|
+
@include color.color-mode(border-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
tr:nth-child(even) {
|
|
26
|
+
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-caption {
|
|
30
|
+
width: brandui-col-spacing(6);
|
|
31
|
+
|
|
32
|
+
&-content {
|
|
33
|
+
max-width: brandui-col-spacing(3);
|
|
34
|
+
|
|
35
|
+
@include break.max-mobile {
|
|
36
|
+
max-width: 100%;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@include break.max-mobile {
|
|
41
|
+
width: brandui-col-spacing(12);
|
|
42
|
+
text-align: center;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&-col-header {
|
|
47
|
+
min-width: 200px;
|
|
48
|
+
padding: map.get($brandui-padding, small);
|
|
49
|
+
|
|
50
|
+
@include font.get-typography(subhead-small);
|
|
51
|
+
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
52
|
+
&-wrapper {
|
|
53
|
+
vertical-align: top;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&-row-header {
|
|
58
|
+
vertical-align: middle;
|
|
59
|
+
@include color.color-mode(background-color, brandui-color-labels(ui-body-dark), brandui-color-labels(ui-body));
|
|
60
|
+
&-content {
|
|
61
|
+
padding: map.get($brandui-padding, small);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-row-data {
|
|
66
|
+
&-content {
|
|
67
|
+
padding: map.get($brandui-padding, small);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
13
71
|
&-comparison {
|
|
14
72
|
&-caption {
|
|
15
73
|
width: brandui-col-spacing(6);
|
|
@@ -48,8 +106,7 @@
|
|
|
48
106
|
padding: map.get($brandui-padding, small);
|
|
49
107
|
text-align: left;
|
|
50
108
|
@include font.get-typography(body-bold);
|
|
51
|
-
@include
|
|
52
|
-
@include theme.theme-color(color, ui-body);
|
|
109
|
+
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
53
110
|
}
|
|
54
111
|
}
|
|
55
112
|
}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use '../../../base/mixins/glass' as glass;
|
|
3
|
+
@use '../../../base/mixins/color-mode' as color;
|
|
2
4
|
@use '../../../base/variables/effects' as *;
|
|
3
5
|
@use '../../../base/variables/sizing' as *;
|
|
4
|
-
@use '../../../base/
|
|
6
|
+
@use '../../../base/functions' as *;
|
|
5
7
|
|
|
6
8
|
.card {
|
|
7
9
|
display: flex;
|
|
8
10
|
flex-direction: column;
|
|
9
|
-
border-
|
|
10
|
-
border-style: solid;
|
|
11
|
-
border-radius: map.get($brandui-radius, 'large');
|
|
12
|
-
box-shadow: map.get($brandui-shadow, 'outline');
|
|
11
|
+
border-radius: map.get($brandui-radius, 'extra-small');
|
|
13
12
|
transition: map.get($brandui-transition, 'fast');
|
|
14
13
|
overflow: hidden;
|
|
15
|
-
|
|
16
|
-
@include
|
|
14
|
+
|
|
15
|
+
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
17
16
|
|
|
18
17
|
&-wrapper {
|
|
19
18
|
position: relative;
|
|
@@ -21,7 +20,7 @@
|
|
|
21
20
|
|
|
22
21
|
&-banner {
|
|
23
22
|
overflow: hidden;
|
|
24
|
-
border-radius: map.get($brandui-radius, '
|
|
23
|
+
border-radius: map.get($brandui-radius, 'extra-small') map.get($brandui-radius, 'extra-small') 0 0;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
26
|
&-headshot {
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
@use '../../base/functions' as *;
|
|
9
9
|
|
|
10
10
|
.glossary {
|
|
11
|
+
&-highlight {
|
|
12
|
+
@include color.color-mode(
|
|
13
|
+
background-color,
|
|
14
|
+
RGBA(brandui-rgb-labels(action-tertiary), 0.3),
|
|
15
|
+
RGBA(brandui-rgb-labels(action-tertiary-dark), 0.3)
|
|
16
|
+
);
|
|
17
|
+
}
|
|
11
18
|
&-nav {
|
|
12
19
|
padding: map.get($brandui-padding, small);
|
|
13
20
|
border-width: 0.1875rem;
|
|
@@ -9,10 +9,6 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
gap: brandui-padding(huge);
|
|
11
11
|
padding: brandui-padding(large);
|
|
12
|
-
border-radius: brandui-radius(large);
|
|
13
|
-
box-shadow: brandui-shadow(outline);
|
|
14
|
-
@include glass.bg-glass;
|
|
15
|
-
@include glass.border-glass;
|
|
16
12
|
|
|
17
13
|
@include break.max-tablet {
|
|
18
14
|
flex-direction: column;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
70
70
|
|
|
71
71
|
&:hover {
|
|
72
|
-
@include color.color-mode(color, brandui-color-labels(action-
|
|
72
|
+
@include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
73
73
|
@include color.color-mode(
|
|
74
74
|
background-color,
|
|
75
75
|
RGBA(brandui-rgb-labels(action-secondary), 0.1),
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@use '../../../base/mixins/page-theme' as theme;
|
|
5
5
|
@use '../../../base/mixins/glass' as glass;
|
|
6
6
|
@use '../../../base/mixins/breakpoints' as break;
|
|
7
|
+
@use '../../../base/mixins/color-mode' as color;
|
|
7
8
|
@use '../../../base/functions' as *;
|
|
8
9
|
|
|
9
10
|
.basic-cta {
|
|
@@ -15,12 +16,13 @@
|
|
|
15
16
|
align-items: center;
|
|
16
17
|
justify-content: space-between;
|
|
17
18
|
gap: map.get($brandui-padding, huge);
|
|
18
|
-
border-width:
|
|
19
|
+
border-width: 1px;
|
|
19
20
|
border-style: solid;
|
|
20
21
|
border-radius: map.get($brandui-radius, large);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
@include
|
|
22
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-1), 0.3), RGBA(brandui-rgb-labels(neutral-6), 0.3));
|
|
23
|
+
|
|
24
|
+
// @include theme.theme-color(background-color, base);
|
|
25
|
+
// @include glass.border-glass;
|
|
24
26
|
|
|
25
27
|
&-content {
|
|
26
28
|
max-width: brandui-col-spacing(7);
|
|
@@ -52,15 +52,11 @@
|
|
|
52
52
|
max-width: brandui-col-spacing(4);
|
|
53
53
|
width: 100%;
|
|
54
54
|
padding: map.get($brandui-padding, medium);
|
|
55
|
-
border-width: 0.1875rem;
|
|
56
|
-
border-style: solid;
|
|
57
|
-
border-radius: map.get($brandui-radius, large);
|
|
58
|
-
box-shadow: map.get($brandui-shadow, outline);
|
|
59
55
|
display: flex;
|
|
60
56
|
flex-direction: column;
|
|
61
57
|
gap: map.get($brandui-padding, medium);
|
|
62
|
-
|
|
63
|
-
@include
|
|
58
|
+
|
|
59
|
+
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
64
60
|
|
|
65
61
|
.company-info {
|
|
66
62
|
display: flex;
|
|
@@ -74,7 +70,8 @@
|
|
|
74
70
|
gap: map.get($brandui-padding, small);
|
|
75
71
|
border-bottom-width: 0.0625rem;
|
|
76
72
|
border-bottom-style: solid;
|
|
77
|
-
|
|
73
|
+
|
|
74
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(neutral-1), 0.3), RGBA(brandui-rgb-labels(neutral-6), 0.3));
|
|
78
75
|
}
|
|
79
76
|
}
|
|
80
77
|
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
@use '../components/molecules/modal' as *;
|
|
41
41
|
@use '../components/molecules/notification' as *;
|
|
42
42
|
@use '../components/molecules/pagination' as *;
|
|
43
|
-
@use '../components/molecules/share-this' as *;
|
|
44
43
|
@use '../components/molecules/tables' as *;
|
|
45
44
|
@use '../components/molecules/table-of-contents' as *;
|
|
46
45
|
@use '../components/molecules/title-text' as *;
|
|
@@ -74,6 +73,7 @@
|
|
|
74
73
|
@use './components/molecules/cards/card' as *;
|
|
75
74
|
@use './components/molecules/text-grid-item' as *;
|
|
76
75
|
@use './components/molecules/text-media' as *;
|
|
76
|
+
@use './components/molecules/share-this' as *;
|
|
77
77
|
@use './components/organisms/ctas/basic-cta' as *;
|
|
78
78
|
@use './components/organisms/heroes/hero-title-text' as *;
|
|
79
79
|
@use './components/organisms/footer' as *;
|