@snyk-mktg/brand-ui 2.3.18 → 2.3.19
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/evo/_components.scss +1 -0
- package/dist/scss/evo/base/decorations/_backgrounds.scss +35 -2
- package/dist/scss/evo/base/variables/_typography.scss +7 -2
- package/dist/scss/evo/components/atoms/_button.scss +1 -0
- package/dist/scss/evo/components/misc/_embed.scss +46 -0
- package/dist/scss/evo/components/organisms/_navigation.scss +51 -0
- package/package.json +1 -1
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
@use './components/atoms/button' as *;
|
|
74
74
|
@use './components/atoms/feature-checkmark' as *;
|
|
75
75
|
@use './components/atoms/triggers/menu' as *;
|
|
76
|
+
@use './components/misc/embed' as *;
|
|
76
77
|
@use './components/molecules/cards/card' as *;
|
|
77
78
|
@use './components/molecules/text-grid-item' as *;
|
|
78
79
|
@use './components/organisms/heroes/hero-title-text' as *;
|
|
@@ -85,8 +85,41 @@
|
|
|
85
85
|
left: 0;
|
|
86
86
|
width: 100%;
|
|
87
87
|
height: 100%;
|
|
88
|
-
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0)
|
|
89
|
-
linear-gradient(to bottom, rgba(0, 0, 0, 0.
|
|
88
|
+
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%),
|
|
89
|
+
linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
|
|
90
|
+
z-index: -1;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&-footer {
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
position: absolute;
|
|
97
|
+
opacity: 1;
|
|
98
|
+
transform: translateZ(-1px);
|
|
99
|
+
width: brandui-col-spacing(16);
|
|
100
|
+
background: transparent url('#{$brandui-images}decorations/evo-decoration-footer.png');
|
|
101
|
+
background-position: center;
|
|
102
|
+
background-repeat: no-repeat;
|
|
103
|
+
background-size: cover;
|
|
104
|
+
// background-attachment: fixed;
|
|
105
|
+
z-index: -2;
|
|
106
|
+
|
|
107
|
+
&-center {
|
|
108
|
+
left: 0;
|
|
109
|
+
right: 0;
|
|
110
|
+
top: -75%;
|
|
111
|
+
bottom: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:before {
|
|
115
|
+
content: '';
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 0;
|
|
118
|
+
left: 0;
|
|
119
|
+
width: 100%;
|
|
120
|
+
height: 100%;
|
|
121
|
+
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%),
|
|
122
|
+
linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
|
|
90
123
|
z-index: -1;
|
|
91
124
|
}
|
|
92
125
|
}
|
|
@@ -11,10 +11,13 @@ $brandui-font-family: map.merge(font.$brandui-font-family, $evoui-font-family);
|
|
|
11
11
|
$evoui-font-size: (
|
|
12
12
|
hero-title-large: 4.375rem,
|
|
13
13
|
hero-title-small: 3.75rem,
|
|
14
|
+
section-title-small: 2.5rem,
|
|
14
15
|
);
|
|
15
16
|
$brandui-font-size: map.merge(font.$brandui-font-size, $evoui-font-size);
|
|
16
17
|
|
|
17
|
-
$evoui-line-height: (
|
|
18
|
+
$evoui-line-height: (
|
|
19
|
+
section-title-small: 3rem,
|
|
20
|
+
);
|
|
18
21
|
$brandui-line-height: map.merge(font.$brandui-line-height, $evoui-line-height);
|
|
19
22
|
|
|
20
23
|
$evoui-text-elements: (
|
|
@@ -207,7 +210,7 @@ $evoui-text-elements-responsive: (
|
|
|
207
210
|
'text-transform': none,
|
|
208
211
|
),
|
|
209
212
|
'section-title': (
|
|
210
|
-
'target': '
|
|
213
|
+
'target': 'section-title-small',
|
|
211
214
|
'weight': 900,
|
|
212
215
|
'family': map.get($brandui-font-family, geist),
|
|
213
216
|
'type': sans-serif,
|
|
@@ -262,5 +265,7 @@ $text-elements-responsive: font.$text-elements-responsive;
|
|
|
262
265
|
}
|
|
263
266
|
}
|
|
264
267
|
|
|
268
|
+
@debug $text-elements-responsive;
|
|
269
|
+
|
|
265
270
|
$brandui-font-size: $brandui-font-size;
|
|
266
271
|
$brandui-line-height: $brandui-line-height;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../../../base/functions' as *;
|
|
3
|
+
@use '../../../base/mixins/color-mode' as color;
|
|
4
|
+
@use '../../../base/variables/sizing' as *;
|
|
5
|
+
@use '../../../base/variables/effects' as *;
|
|
6
|
+
|
|
7
|
+
.embed-widget {
|
|
8
|
+
:first-child {
|
|
9
|
+
z-index: 2;
|
|
10
|
+
}
|
|
11
|
+
@include color.gradient-mode-pseudo(
|
|
12
|
+
'&:before',
|
|
13
|
+
'background',
|
|
14
|
+
'linear',
|
|
15
|
+
'90deg',
|
|
16
|
+
brandui-color-labels(action-secondary),
|
|
17
|
+
brandui-color-labels(action),
|
|
18
|
+
brandui-color-labels(action-secondary-dark),
|
|
19
|
+
brandui-color-labels(action-dark)
|
|
20
|
+
) {
|
|
21
|
+
content: '';
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: -3px;
|
|
24
|
+
left: -3px;
|
|
25
|
+
right: -3px;
|
|
26
|
+
bottom: -3px;
|
|
27
|
+
// matches the utility classes from the next app, which should be moved into BUI
|
|
28
|
+
margin: 0 map.get($brandui-padding, 'huge');
|
|
29
|
+
z-index: 0;
|
|
30
|
+
border-radius: map.get($brandui-radius, 'large');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:after {
|
|
34
|
+
content: '';
|
|
35
|
+
z-index: 0;
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0;
|
|
38
|
+
left: 0;
|
|
39
|
+
right: 0;
|
|
40
|
+
bottom: 0;
|
|
41
|
+
// matches the utility classes from the next app, which should be moved into BUI
|
|
42
|
+
margin: 0 map.get($brandui-padding, 'huge');
|
|
43
|
+
background-color: brandui-color-labels(neutral-1);
|
|
44
|
+
border-radius: map.get($brandui-radius, 'large');
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -10,6 +10,30 @@
|
|
|
10
10
|
.brandui-navigation {
|
|
11
11
|
.navigation {
|
|
12
12
|
&-item {
|
|
13
|
+
&:hover,
|
|
14
|
+
&:focus,
|
|
15
|
+
&:focus-within,
|
|
16
|
+
&:focus-visible,
|
|
17
|
+
&:has(.navigation-submenu.open) {
|
|
18
|
+
.nav-dropdown {
|
|
19
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
20
|
+
@include color.color-mode(
|
|
21
|
+
background-color,
|
|
22
|
+
RGBA(brandui-rgb-labels(action-secondary), 0.1),
|
|
23
|
+
RGBA(brandui-rgb-labels(action-secondary-dark), 0.1)
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.nav-dropdown {
|
|
29
|
+
@include color.color-mode-pseudo(
|
|
30
|
+
'&:after',
|
|
31
|
+
color,
|
|
32
|
+
brandui-color-labels(action-secondary),
|
|
33
|
+
brandui-color-labels(action-secondary-dark)
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
13
37
|
.nav-link {
|
|
14
38
|
.new-evo-feature {
|
|
15
39
|
@include color.gradient-mode(
|
|
@@ -73,6 +97,12 @@
|
|
|
73
97
|
&-accordion {
|
|
74
98
|
&-label {
|
|
75
99
|
font-family: map.get($brandui-font-family, geist-mono), monospace;
|
|
100
|
+
@include color.color-mode-pseudo(
|
|
101
|
+
'&:after',
|
|
102
|
+
color,
|
|
103
|
+
brandui-color-labels(action-secondary),
|
|
104
|
+
brandui-color-labels(action-secondary-dark)
|
|
105
|
+
);
|
|
76
106
|
}
|
|
77
107
|
&-links {
|
|
78
108
|
.login-link {
|
|
@@ -91,6 +121,27 @@
|
|
|
91
121
|
);
|
|
92
122
|
}
|
|
93
123
|
}
|
|
124
|
+
|
|
125
|
+
.login-link.link-external {
|
|
126
|
+
@include color.color-mode-pseudo(
|
|
127
|
+
'&:after',
|
|
128
|
+
color,
|
|
129
|
+
brandui-color-labels(action-secondary),
|
|
130
|
+
brandui-color-labels(action-secondary-dark)
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&-disclaimer {
|
|
136
|
+
font-family: map.get($brandui-font-family, geist-mono), monospace;
|
|
137
|
+
|
|
138
|
+
a {
|
|
139
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
140
|
+
|
|
141
|
+
&:hover {
|
|
142
|
+
@include color.color-mode(color, brandui-color-labels(ui-body), brandui-color-labels(ui-body-dark));
|
|
143
|
+
}
|
|
144
|
+
}
|
|
94
145
|
}
|
|
95
146
|
}
|
|
96
147
|
}
|