@snyk-mktg/brand-ui 2.3.7 → 2.3.9
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/variables/_logos.scss +2 -2
- package/dist/scss/components/atoms/_snyk-logos.scss +7 -0
- package/dist/scss/evo/_components.scss +3 -2
- package/dist/scss/evo/base/_layout.scss +9 -0
- package/dist/scss/evo/base/decorations/_backgrounds.scss +66 -5
- package/dist/scss/evo/components/atoms/triggers/_menu.scss +23 -0
- package/dist/scss/evo/components/organisms/_footer.scss +32 -0
- package/dist/scss/evo/components/organisms/_navigation.scss +44 -0
- package/dist/scss/evo/components/organisms/heroes/_hero-title-text.scss +8 -0
- package/package.json +1 -1
|
@@ -55,8 +55,8 @@ $snyk-logos-color-mode: (
|
|
|
55
55
|
26%,
|
|
56
56
|
),
|
|
57
57
|
'evo-solid': (
|
|
58
|
-
'#{$brandui-images}brand-logos/evo-
|
|
59
|
-
'#{$brandui-images}brand-logos/evo-
|
|
58
|
+
'#{$brandui-images}brand-logos/evo-logo-light-mode.svg',
|
|
59
|
+
'#{$brandui-images}brand-logos/evo-logo-dark-mode.svg',
|
|
60
60
|
26%,
|
|
61
61
|
),
|
|
62
62
|
'labs-mono': (
|
|
@@ -42,6 +42,13 @@
|
|
|
42
42
|
content: '';
|
|
43
43
|
padding-bottom: list.nth($logo-list, 3);
|
|
44
44
|
}
|
|
45
|
+
|
|
46
|
+
@include color.color-mode-pseudo('&:before', background-image, url(list.nth($logo-list, 1)), url(list.nth($logo-list, 2)));
|
|
47
|
+
}
|
|
48
|
+
&.footer-logo {
|
|
49
|
+
&:before {
|
|
50
|
+
background-position: left;
|
|
51
|
+
}
|
|
45
52
|
}
|
|
46
53
|
}
|
|
47
54
|
}
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
@use '../components/atoms/tag' as *;
|
|
21
21
|
@use '../components/atoms/triggers/accordion-toggle' as *;
|
|
22
22
|
@use '../components/atoms/triggers/filter' as *;
|
|
23
|
-
@use '../components/atoms/triggers/menu' as *;
|
|
24
23
|
@use '../components/atoms/triggers/nav' as *;
|
|
25
24
|
@use '../components/atoms/triggers/play' as *;
|
|
26
25
|
@use '../components/atoms/tooltip' as *;
|
|
@@ -64,7 +63,6 @@
|
|
|
64
63
|
@use '../components/organisms/heroes/hero-editorial' as *;
|
|
65
64
|
@use '../components/organisms/heroes/hero-form' as *;
|
|
66
65
|
@use '../components/organisms/heroes/hero-text-media' as *;
|
|
67
|
-
@use '../components/organisms/heroes/hero-title-text' as *;
|
|
68
66
|
@use '../components/organisms/split-content' as *;
|
|
69
67
|
@use '../components/organisms/sticky-media' as *;
|
|
70
68
|
@use '../components/organisms/sub-navigation' as *;
|
|
@@ -74,6 +72,9 @@
|
|
|
74
72
|
|
|
75
73
|
@use './components/atoms/button' as *;
|
|
76
74
|
@use './components/atoms/feature-checkmark' as *;
|
|
75
|
+
@use './components/atoms/triggers/menu' as *;
|
|
77
76
|
@use './components/molecules/cards/card' as *;
|
|
78
77
|
@use './components/molecules/text-grid-item' as *;
|
|
78
|
+
@use './components/organisms/heroes/hero-title-text' as *;
|
|
79
|
+
@use './components/organisms/footer' as *;
|
|
79
80
|
@use './components/organisms/navigation' as *;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
@use '../../base/layout' as *;
|
|
2
2
|
@use '../../base/functions' as *;
|
|
3
3
|
|
|
4
|
+
.wide-wrapper,
|
|
5
|
+
.wide-container,
|
|
6
|
+
.content-block,
|
|
7
|
+
.brandui-section,
|
|
8
|
+
.brandui-container {
|
|
9
|
+
z-index: 0;
|
|
10
|
+
position: relative;
|
|
11
|
+
}
|
|
12
|
+
|
|
4
13
|
.brandui-section {
|
|
5
14
|
.section {
|
|
6
15
|
&-intro {
|
|
@@ -53,19 +53,80 @@
|
|
|
53
53
|
opacity: 1;
|
|
54
54
|
transform: scale(1);
|
|
55
55
|
width: brandui-col-spacing(16);
|
|
56
|
-
// background: transparent url('#{$brandui-images}decorations/evo-logo-decoration-png.png') center no-repeat;
|
|
57
56
|
background: transparent url('#{$brandui-images}decorations/evo-decoration-logo-png-alt.png');
|
|
58
57
|
background-position: center;
|
|
59
|
-
|
|
60
58
|
background-repeat: no-repeat;
|
|
61
|
-
|
|
62
59
|
background-size: contain;
|
|
63
|
-
|
|
64
60
|
background-attachment: fixed;
|
|
65
|
-
// mix-blend-mode: screen;
|
|
66
61
|
z-index: -1;
|
|
67
62
|
padding-bottom: 28rem;
|
|
68
63
|
|
|
64
|
+
&-secondary {
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
position: absolute;
|
|
67
|
+
opacity: 1;
|
|
68
|
+
transform: translateZ(-1px);
|
|
69
|
+
width: brandui-col-spacing(16);
|
|
70
|
+
background: transparent url('#{$brandui-images}decorations/evo-decoration-logo-png-secondary.png');
|
|
71
|
+
background-position: center;
|
|
72
|
+
background-repeat: no-repeat;
|
|
73
|
+
background-size: cover;
|
|
74
|
+
// background-attachment: fixed;
|
|
75
|
+
z-index: -2;
|
|
76
|
+
|
|
77
|
+
&-center {
|
|
78
|
+
left: 0;
|
|
79
|
+
right: 0;
|
|
80
|
+
top: -75%;
|
|
81
|
+
bottom: -75%;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:before {
|
|
85
|
+
content: '';
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 0;
|
|
88
|
+
left: 0;
|
|
89
|
+
width: 100%;
|
|
90
|
+
height: 100%;
|
|
91
|
+
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%),
|
|
92
|
+
linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
|
|
93
|
+
z-index: -1;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&-tertiary {
|
|
98
|
+
overflow: hidden;
|
|
99
|
+
position: absolute;
|
|
100
|
+
opacity: 1;
|
|
101
|
+
transform: translateZ(-1px);
|
|
102
|
+
width: brandui-col-spacing(16);
|
|
103
|
+
background: transparent url('#{$brandui-images}decorations/evo-decoration-logo-png-tertiary.png');
|
|
104
|
+
background-position: center;
|
|
105
|
+
background-repeat: no-repeat;
|
|
106
|
+
background-size: cover;
|
|
107
|
+
// background-attachment: fixed;
|
|
108
|
+
z-index: -2;
|
|
109
|
+
|
|
110
|
+
&-center {
|
|
111
|
+
left: 0;
|
|
112
|
+
right: 0;
|
|
113
|
+
top: -20%;
|
|
114
|
+
bottom: -20%;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&:before {
|
|
118
|
+
content: '';
|
|
119
|
+
position: absolute;
|
|
120
|
+
top: 0;
|
|
121
|
+
left: 0;
|
|
122
|
+
width: 100%;
|
|
123
|
+
height: 100%;
|
|
124
|
+
background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%),
|
|
125
|
+
linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
|
|
126
|
+
z-index: -1;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
69
130
|
&-top-right {
|
|
70
131
|
top: 0;
|
|
71
132
|
right: -40rem;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../../../../components/atoms/triggers/menu' as *;
|
|
3
|
+
@use '../../../../base/variables/sizing' as *;
|
|
4
|
+
@use '../../../../base/variables/effects' as *;
|
|
5
|
+
@use '../../../../base/mixins/color-mode' as color;
|
|
6
|
+
@use '../../../../base/functions' as *;
|
|
7
|
+
|
|
8
|
+
.toggle-menu {
|
|
9
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
10
|
+
@include color.color-mode(
|
|
11
|
+
background-color,
|
|
12
|
+
RGBA(brandui-rgb-labels(action-secondary), 0.05),
|
|
13
|
+
RGBA(brandui-rgb-labels(action-secondary-dark), 0.05)
|
|
14
|
+
);
|
|
15
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(action-secondary), 0.5), RGBA(brandui-rgb-labels(action-secondary-dark), 0.5));
|
|
16
|
+
|
|
17
|
+
&:hover,
|
|
18
|
+
&:focus-within,
|
|
19
|
+
&.open {
|
|
20
|
+
@include color.color-mode(color, brandui-color-labels(action-contrast), brandui-color-labels(action-contrast-dark));
|
|
21
|
+
@include color.color-mode(background-color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../../../base/functions' as *;
|
|
3
|
+
@use '../../../components/organisms/footer.scss' as *;
|
|
4
|
+
@use '../../../base/mixins/color-mode' as color;
|
|
5
|
+
|
|
6
|
+
.brandui-footer {
|
|
7
|
+
.footer {
|
|
8
|
+
&-links {
|
|
9
|
+
a {
|
|
10
|
+
&:hover {
|
|
11
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
&-legal {
|
|
16
|
+
&-links {
|
|
17
|
+
a {
|
|
18
|
+
&:hover {
|
|
19
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
&-social-links {
|
|
25
|
+
a {
|
|
26
|
+
&:hover {
|
|
27
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
@use '../../../base/variables/sizing' as *;
|
|
4
4
|
@use '../../../base/variables/typography' as *;
|
|
5
5
|
@use '../../../base/mixins/color-mode' as color;
|
|
6
|
+
@use '../../../base/mixins/breakpoints' as break;
|
|
7
|
+
@use '../../../base/mixins/typography' as font;
|
|
6
8
|
@use '../../../base/functions' as *;
|
|
7
9
|
|
|
8
10
|
.brandui-navigation {
|
|
@@ -50,5 +52,47 @@
|
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
}
|
|
55
|
+
|
|
56
|
+
&-wrapper {
|
|
57
|
+
@include break.max-tablet {
|
|
58
|
+
// need a custom value here since none of the BUI values close the gap
|
|
59
|
+
// between the navigation and the top of the screen properly.
|
|
60
|
+
margin-top: 4.5rem;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.nav-login {
|
|
65
|
+
&-menu {
|
|
66
|
+
top: 3rem;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&-label {
|
|
70
|
+
font-family: map.get($brandui-font-family, geist-mono), monospace;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-accordion {
|
|
74
|
+
&-label {
|
|
75
|
+
font-family: map.get($brandui-font-family, geist-mono), monospace;
|
|
76
|
+
}
|
|
77
|
+
&-links {
|
|
78
|
+
.login-link {
|
|
79
|
+
&-label {
|
|
80
|
+
font-family: map.get($brandui-font-family, geist-mono), monospace;
|
|
81
|
+
}
|
|
82
|
+
&-desc {
|
|
83
|
+
font-family: map.get($brandui-font-family, geist-mono), monospace;
|
|
84
|
+
}
|
|
85
|
+
&:hover {
|
|
86
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
87
|
+
@include color.color-mode(
|
|
88
|
+
background-color,
|
|
89
|
+
RGBA(brandui-rgb-labels(action-secondary), 0.1),
|
|
90
|
+
RGBA(brandui-rgb-labels(action-secondary-dark), 0.1)
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
53
97
|
}
|
|
54
98
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../../../../components/organisms/heroes/hero-title-text' as *;
|
|
3
|
+
|
|
4
|
+
.hero-title-text {
|
|
5
|
+
// For spefically this component, some decorations are on top of the content.
|
|
6
|
+
// brandui-container has a z-index of 0, so this will put the hero on top of that
|
|
7
|
+
z-index: 1;
|
|
8
|
+
}
|