@snyk-mktg/brand-ui 2.5.10-canary.0 → 2.5.10-canary.2
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/_baseline.scss +1 -1
- package/dist/scss/base/_layout.scss +1 -32
- package/dist/scss/base/_links.scss +3 -3
- package/dist/scss/base/decorations/_backgrounds.scss +11 -1
- package/dist/scss/base/decorations/_decorations.scss +13 -0
- package/dist/scss/base/mixins/_gradient-border.scss +4 -1
- package/dist/scss/base/variables/_colors.scss +14 -14
- package/dist/scss/components/atoms/_button.scss +14 -3
- package/dist/scss/components/atoms/_icons.scss +1 -0
- package/dist/scss/components/atoms/_tabs.scss +1 -1
- package/dist/scss/components/molecules/_alert.scss +22 -8
- package/dist/scss/components/molecules/_avatar-username.scss +1 -1
- package/dist/scss/components/molecules/cards/_card.scss +22 -3
- package/dist/scss/components/organisms/_navigation.scss +4 -6
- package/dist/scss/components/organisms/_split-content.scss +0 -1
- package/dist/scss/components/organisms/ctas/_basic-cta.scss +3 -8
- package/dist/scss/components/organisms/ctas/_body-cta.scss +2 -16
- package/dist/scss/components/organisms/ctas/_footer-cta.scss +9 -16
- package/dist/scss/components/organisms/heroes/_hero-case-study.scss +1 -1
- package/dist/scss/labs/_components.scss +1 -1
- package/dist/scss/labs/components/molecules/_announcements.scss +10 -0
- package/dist/scss/labs/components/molecules/_avatar-username.scss +11 -0
- package/dist/scss/utilities/_scrollbar.scss +2 -2
- package/package.json +1 -1
|
@@ -72,7 +72,7 @@ a:not([class]) {
|
|
|
72
72
|
&:hover,
|
|
73
73
|
&:focus,
|
|
74
74
|
&:visited:hover {
|
|
75
|
-
@include colors.color-mode(color, brandui-color-labels(action-
|
|
75
|
+
@include colors.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&:visited {
|
|
@@ -71,7 +71,7 @@ $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large
|
|
|
71
71
|
text-align: center;
|
|
72
72
|
|
|
73
73
|
&.solo-title {
|
|
74
|
-
margin-bottom:
|
|
74
|
+
margin-bottom: map.get($brandui-padding, 'large');
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&-left-aligned {
|
|
@@ -100,37 +100,6 @@ $position-spaces: (none, hairline, thin, slim, extra-small, small, medium, large
|
|
|
100
100
|
margin-right: auto;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.bg-boxed {
|
|
104
|
-
padding: map.get($brandui-padding, extra-large);
|
|
105
|
-
display: flex;
|
|
106
|
-
flex-direction: column;
|
|
107
|
-
position: relative;
|
|
108
|
-
border-width: 0.1875rem;
|
|
109
|
-
border-style: solid;
|
|
110
|
-
border-width: map.get($brandui-padding, 'hairline');
|
|
111
|
-
border-radius: map.get($brandui-radius, 'small');
|
|
112
|
-
transition: map.get($brandui-transition, 'fast');
|
|
113
|
-
overflow: hidden;
|
|
114
|
-
|
|
115
|
-
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
116
|
-
@include glass.bg-glass(true, ui-fill);
|
|
117
|
-
@include glass.border-glass(ui-stroke);
|
|
118
|
-
|
|
119
|
-
&-decorated {
|
|
120
|
-
border: 0;
|
|
121
|
-
border-radius: map.get($brandui-radius, 'small');
|
|
122
|
-
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
123
|
-
@include glass.bg-glass(true, ui-fill);
|
|
124
|
-
@include gradient.gradient-border;
|
|
125
|
-
}
|
|
126
|
-
&-decorations {
|
|
127
|
-
position: absolute;
|
|
128
|
-
z-index: 1;
|
|
129
|
-
inset: 2px;
|
|
130
|
-
overflow: hidden;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
103
|
.brandui-backdrop {
|
|
135
104
|
background: RGBA(brandui-rgb-labels(neutral-3), 0.9);
|
|
136
105
|
position: fixed;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
|
|
89
89
|
&:hover,
|
|
90
90
|
&:focus {
|
|
91
|
-
color: brandui-colors(action-
|
|
91
|
+
color: brandui-colors(action-tertiary);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
-moz-text-decoration-thickness: map.get($brandui-padding, hairline);
|
|
113
113
|
text-decoration-thickness: map.get($brandui-padding, hairline);
|
|
114
114
|
font-weight: 600;
|
|
115
|
-
@include color.color-mode(color, brandui-color-labels(action-
|
|
115
|
+
@include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
&:hover {
|
|
146
146
|
text-decoration: underline;
|
|
147
147
|
text-decoration-style: dotted;
|
|
148
|
-
@include color.color-mode(color, brandui-color-labels(action-
|
|
148
|
+
@include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
149
149
|
|
|
150
150
|
&::after {
|
|
151
151
|
display: inline-block;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use '../mixins/breakpoints' as break;
|
|
1
2
|
@use '../variables/images' as *;
|
|
2
3
|
@use '../functions' as *;
|
|
3
4
|
|
|
@@ -12,6 +13,10 @@
|
|
|
12
13
|
z-index: -1;
|
|
13
14
|
padding-bottom: 28rem;
|
|
14
15
|
|
|
16
|
+
// @include break.max-mobile {
|
|
17
|
+
// opacity: 0.35;
|
|
18
|
+
// }
|
|
19
|
+
|
|
15
20
|
&-1 {
|
|
16
21
|
background: transparent url('#{$brandui-images}decorations/decoration-bg-dot-wave.svg') center no-repeat;
|
|
17
22
|
}
|
|
@@ -35,8 +40,13 @@
|
|
|
35
40
|
transform: rotate(180deg);
|
|
36
41
|
}
|
|
37
42
|
&-top-left {
|
|
38
|
-
top: -
|
|
43
|
+
top: -10rem;
|
|
39
44
|
left: -50rem;
|
|
45
|
+
|
|
46
|
+
&-high {
|
|
47
|
+
top: -60rem;
|
|
48
|
+
left: -50rem;
|
|
49
|
+
}
|
|
40
50
|
}
|
|
41
51
|
&-bottom-left {
|
|
42
52
|
bottom: -5rem;
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
@use '../mixins/breakpoints' as break;
|
|
2
|
+
|
|
1
3
|
.decorations-wrapper {
|
|
2
4
|
isolation: isolate;
|
|
5
|
+
|
|
6
|
+
&.card-decorations {
|
|
7
|
+
position: absolute;
|
|
8
|
+
z-index: 1;
|
|
9
|
+
inset: 2px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
|
|
12
|
+
@include break.max-mobile {
|
|
13
|
+
opacity: 0.35;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
3
16
|
}
|
|
@@ -7,7 +7,10 @@
|
|
|
7
7
|
@use '../../base/functions' as *;
|
|
8
8
|
|
|
9
9
|
@mixin gradient-border {
|
|
10
|
-
|
|
10
|
+
// Sets all chilren over the gradient.
|
|
11
|
+
// Don't love the wildcard implementation, should find a better one
|
|
12
|
+
> * {
|
|
13
|
+
position: relative;
|
|
11
14
|
z-index: 2;
|
|
12
15
|
}
|
|
13
16
|
@include color.gradient-mode-pseudo(
|
|
@@ -75,10 +75,10 @@ $brandui-colors: map.merge($brandui-colors, $custom-theme);
|
|
|
75
75
|
|
|
76
76
|
// 2.0 Standardized color labels for theming
|
|
77
77
|
$brandui-color-labels: (
|
|
78
|
-
'default': map.get($brandui-colors, '
|
|
78
|
+
'default': map.get($brandui-colors, 'white'),
|
|
79
79
|
'default-dark': map.get($brandui-colors, 'black'),
|
|
80
80
|
'ui-headline': map.get($brandui-colors, 'black'),
|
|
81
|
-
'ui-headline-dark': map.get($brandui-colors, '
|
|
81
|
+
'ui-headline-dark': map.get($brandui-colors, 'white'),
|
|
82
82
|
'ui-body': map.get($brandui-colors, 'black'),
|
|
83
83
|
'ui-body-dark': map.get($brandui-colors, 'steel'),
|
|
84
84
|
'ui-fill': map.get($brandui-colors, 'steel'),
|
|
@@ -86,42 +86,42 @@ $brandui-color-labels: (
|
|
|
86
86
|
'ui-stroke': map.get($brandui-colors, 'dark-grey'),
|
|
87
87
|
'ui-stroke-dark': map.get($brandui-colors, 'steel'),
|
|
88
88
|
'ui-text': map.get($brandui-colors, 'black'),
|
|
89
|
-
'ui-text-dark': map.get($brandui-colors, '
|
|
89
|
+
'ui-text-dark': map.get($brandui-colors, 'white'),
|
|
90
90
|
'action': map.get($brandui-colors, 'black'),
|
|
91
|
-
'action-dark': map.get($brandui-colors, '
|
|
92
|
-
'action-outline': map.get($brandui-colors, '
|
|
93
|
-
'action-contrast': map.get($brandui-colors, '
|
|
91
|
+
'action-dark': map.get($brandui-colors, 'white'),
|
|
92
|
+
'action-outline': map.get($brandui-colors, 'white'),
|
|
93
|
+
'action-contrast': map.get($brandui-colors, 'white'),
|
|
94
94
|
'action-contrast-dark': map.get($brandui-colors, 'black'),
|
|
95
|
-
'action-secondary': map.get($brandui-colors, '
|
|
95
|
+
'action-secondary': map.get($brandui-colors, 'white'),
|
|
96
96
|
'action-secondary-dark': map.get($brandui-colors, 'black'),
|
|
97
97
|
'action-secondary-contrast': map.get($brandui-colors, 'black'),
|
|
98
|
-
'action-secondary-contrast-dark': map.get($brandui-colors, '
|
|
98
|
+
'action-secondary-contrast-dark': map.get($brandui-colors, 'white'),
|
|
99
99
|
'action-tertiary': map.get($brandui-colors, 'dark-purple'),
|
|
100
100
|
'action-tertiary-dark': map.get($brandui-colors, 'lavender'),
|
|
101
101
|
'action-tertiary-contrast': map.get($brandui-colors, 'black'),
|
|
102
102
|
'action-tertiary-contrast-dark': map.get($brandui-colors, 'black'),
|
|
103
103
|
'info': map.get($brandui-colors, 'dark-purple'),
|
|
104
104
|
'info-dark': map.get($brandui-colors, 'lavender'),
|
|
105
|
-
'info-contrast': map.get($brandui-colors, '
|
|
105
|
+
'info-contrast': map.get($brandui-colors, 'white'),
|
|
106
106
|
'info-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
107
107
|
'success': map.get($brandui-colors, 'dark-teal'),
|
|
108
108
|
'success-dark': map.get($brandui-colors, 'vibe'),
|
|
109
|
-
'success-contrast': map.get($brandui-colors, '
|
|
109
|
+
'success-contrast': map.get($brandui-colors, 'white'),
|
|
110
110
|
'success-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
111
111
|
'warning': map.get($brandui-colors, 'autumn'),
|
|
112
112
|
'warning-dark': map.get($brandui-colors, 'tiger'),
|
|
113
|
-
'warning-contrast': map.get($brandui-colors, '
|
|
113
|
+
'warning-contrast': map.get($brandui-colors, 'white'),
|
|
114
114
|
'warning-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
115
115
|
'fail': map.get($brandui-colors, 'rose'),
|
|
116
|
-
'fail-dark': map.get($brandui-colors, '
|
|
117
|
-
'fail-contrast': map.get($brandui-colors, '
|
|
116
|
+
'fail-dark': map.get($brandui-colors, 'rose'),
|
|
117
|
+
'fail-contrast': map.get($brandui-colors, 'white'),
|
|
118
118
|
'fail-contrast-dark': map.get($brandui-colors, 'midnight'),
|
|
119
119
|
'neutral-1': map.get($brandui-colors, 'black'),
|
|
120
120
|
'neutral-2': map.get($brandui-colors, 'dark-purple'),
|
|
121
121
|
'neutral-3': map.get($brandui-colors, 'bubblegum'),
|
|
122
122
|
'neutral-4': map.get($brandui-colors, 'lavender-light'),
|
|
123
123
|
'neutral-5': map.get($brandui-colors, 'steel'),
|
|
124
|
-
'neutral-6': map.get($brandui-colors, '
|
|
124
|
+
'neutral-6': map.get($brandui-colors, 'white'),
|
|
125
125
|
) !default;
|
|
126
126
|
|
|
127
127
|
$brandui-tag-colors: (
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use '../../base/variables/effects' as *;
|
|
3
3
|
@use '../../base/variables/typography' as *;
|
|
4
4
|
@use '../../base/variables/sizing' as *;
|
|
5
|
+
@use '../../base/mixins/breakpoints' as break;
|
|
5
6
|
@use '../../base/mixins/color-mode' as color;
|
|
6
7
|
@use '../../base/functions' as *;
|
|
7
8
|
|
|
@@ -41,15 +42,14 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
|
|
|
41
42
|
position: relative;
|
|
42
43
|
text-align: center;
|
|
43
44
|
text-decoration: none;
|
|
44
|
-
transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, fast)
|
|
45
|
+
transition: color map.get($brandui-transition, fast), background-color map.get($brandui-transition, fast),
|
|
46
|
+
border-color map.get($brandui-transition, fast);
|
|
45
47
|
-webkit-user-select: none;
|
|
46
48
|
user-select: none;
|
|
47
49
|
@include color.color-mode(color, brandui-color-labels(ui-headline), brandui-color-labels(ui-headline-dark));
|
|
48
50
|
|
|
49
51
|
&:hover {
|
|
50
52
|
cursor: pointer;
|
|
51
|
-
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
52
|
-
@include color.color-mode(background-color, $action-secondary-base, $action-secondary-base-dark);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&:focus {
|
|
@@ -91,6 +91,10 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
|
|
|
91
91
|
|
|
92
92
|
@include color.color-mode-pseudo('&:hover, &:focus', border-color, brandui-color-labels(neutral-2), brandui-color-labels(neutral-4));
|
|
93
93
|
@include color.color-mode-pseudo('&:hover, &:focus', background-color, brandui-color-labels(neutral-2), brandui-color-labels(neutral-4));
|
|
94
|
+
|
|
95
|
+
.general-icon {
|
|
96
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
97
|
+
}
|
|
94
98
|
}
|
|
95
99
|
|
|
96
100
|
&.secondary {
|
|
@@ -198,6 +202,13 @@ $secondary-conic-dark-values: RGBA(brandui-rgb-labels(action-dark), 1), RGBA(bra
|
|
|
198
202
|
display: flex;
|
|
199
203
|
flex-wrap: wrap;
|
|
200
204
|
gap: map.get($brandui-padding, medium);
|
|
205
|
+
|
|
206
|
+
@include break.max-tablet {
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
gap: map.get($brandui-padding, small);
|
|
209
|
+
justify-content: center;
|
|
210
|
+
align-items: center;
|
|
211
|
+
}
|
|
201
212
|
}
|
|
202
213
|
|
|
203
214
|
// This is the rotating conic-gradient glimmer effect
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
/* Better Font Rendering =========== */
|
|
105
105
|
-webkit-font-smoothing: antialiased;
|
|
106
106
|
-moz-osx-font-smoothing: grayscale;
|
|
107
|
+
@include color.color-mode(color, brandui-color-labels(ui-text), brandui-color-labels(ui-text-dark));
|
|
107
108
|
|
|
108
109
|
@each $icon-key, $icon-val in $brandui-general-icons {
|
|
109
110
|
&.icon-#{$icon-key} {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
.tabs {
|
|
11
11
|
max-width: max-content;
|
|
12
12
|
width: 100%;
|
|
13
|
-
margin: brandui-padding(extra-large) auto;
|
|
13
|
+
margin: 0 auto brandui-padding(extra-large) auto;
|
|
14
14
|
padding: map.get($brandui-padding, extra-small);
|
|
15
15
|
display: flex;
|
|
16
16
|
gap: map.get($brandui-padding, medium);
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
@use '../../base/mixins/color-mode' as color;
|
|
6
6
|
@use '../../base/mixins/breakpoints' as break;
|
|
7
7
|
@use '../../base/functions' as *;
|
|
8
|
+
@use '../molecules/cards/card.scss' as *;
|
|
9
|
+
@use '../molecules/cards/card.scss' as *;
|
|
8
10
|
|
|
9
11
|
.alert {
|
|
12
|
+
@extend .card;
|
|
10
13
|
padding: map.get($brandui-padding, medium);
|
|
11
14
|
position: relative;
|
|
12
|
-
border-width: 0.0625rem;
|
|
13
|
-
border-top-width: map.get($brandui-padding, extra-small);
|
|
14
|
-
border-style: solid;
|
|
15
|
-
border-radius: map.get($brandui-radius, large);
|
|
16
|
-
@include color.color-mode(background-color, map.get($brandui-base-colors, dark-purple), brandui-color-labels(neutral-2));
|
|
17
15
|
@include color.color-mode(border-color, brandui-color-labels(info), brandui-color-labels(info-dark));
|
|
18
16
|
|
|
19
17
|
&-body {
|
|
@@ -35,18 +33,34 @@
|
|
|
35
33
|
// Alternate state colors
|
|
36
34
|
&.alert {
|
|
37
35
|
&-success {
|
|
38
|
-
@include color.color-mode(background-color, map.get($brandui-base-colors, dark-teal), brandui-color-labels(neutral-2));
|
|
39
36
|
@include color.color-mode(border-color, brandui-color-labels(success), brandui-color-labels(success-dark));
|
|
37
|
+
|
|
38
|
+
.button.tertiary {
|
|
39
|
+
@include color.color-mode(color, brandui-color-labels(success), brandui-color-labels(success-dark));
|
|
40
|
+
}
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
&-warning {
|
|
43
|
-
@include color.color-mode(background-color, map.get($brandui-base-colors, autumn), brandui-color-labels(neutral-2));
|
|
44
44
|
@include color.color-mode(border-color, brandui-color-labels(warning), brandui-color-labels(warning-dark));
|
|
45
|
+
|
|
46
|
+
.button.tertiary {
|
|
47
|
+
@include color.color-mode(color, brandui-color-labels(warning), brandui-color-labels(warning-dark));
|
|
48
|
+
}
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
&-fail {
|
|
48
|
-
@include color.color-mode(background-color, map.get($brandui-base-colors, rose), brandui-color-labels(neutral-2));
|
|
49
52
|
@include color.color-mode(border-color, brandui-color-labels(fail), brandui-color-labels(fail-dark));
|
|
53
|
+
|
|
54
|
+
.button.tertiary {
|
|
55
|
+
@include color.color-mode(color, brandui-color-labels(fail), brandui-color-labels(fail-dark));
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.button {
|
|
60
|
+
&:hover,
|
|
61
|
+
&:focus {
|
|
62
|
+
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
63
|
+
}
|
|
50
64
|
}
|
|
51
65
|
}
|
|
52
66
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
15
15
|
|
|
16
16
|
&:hover {
|
|
17
|
-
@include color.color-mode(color, brandui-color-labels(action-
|
|
17
|
+
@include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use '../../../base/mixins/glass' as glass;
|
|
3
|
+
@use '../../../base/mixins/breakpoints' as break;
|
|
3
4
|
@use '../../../base/mixins/color-mode' as color;
|
|
5
|
+
@use '../../../base/mixins/gradient-border' as gradient;
|
|
4
6
|
@use '../../../base/variables/effects' as *;
|
|
5
7
|
@use '../../../base/variables/sizing' as *;
|
|
6
8
|
@use '../../../base/functions' as *;
|
|
9
|
+
@use '../../../base//decorations/backgrounds' as *;
|
|
7
10
|
|
|
8
11
|
.card {
|
|
9
12
|
display: flex;
|
|
@@ -16,9 +19,8 @@
|
|
|
16
19
|
transition: map.get($brandui-transition, 'fast');
|
|
17
20
|
overflow: hidden;
|
|
18
21
|
|
|
19
|
-
@include color.color-mode(background-color, brandui-
|
|
20
|
-
@include
|
|
21
|
-
@include glass.border-glass(ui-stroke);
|
|
22
|
+
@include color.color-mode(background-color, RGBA(brandui-rgb-labels(ui-fill), 0.8), RGBA(brandui-rgb-labels(ui-fill-dark), 0.8));
|
|
23
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.3), RGBA(brandui-rgb-labels(ui-stroke-dark), 0.3));
|
|
22
24
|
|
|
23
25
|
&-wrapper {
|
|
24
26
|
position: relative;
|
|
@@ -45,3 +47,20 @@
|
|
|
45
47
|
box-shadow: none;
|
|
46
48
|
}
|
|
47
49
|
}
|
|
50
|
+
|
|
51
|
+
.card-decorated {
|
|
52
|
+
position: relative;
|
|
53
|
+
padding: map.get($brandui-padding, huge);
|
|
54
|
+
max-width: brandui-col-spacing(12);
|
|
55
|
+
border-radius: map.get($brandui-radius, 'small');
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
|
|
58
|
+
box-shadow: map.get($brandui-shadow, far);
|
|
59
|
+
@include color.color-mode(background-color, RGBA(brandui-rgb-labels(ui-fill), 0.8), RGBA(brandui-rgb-labels(ui-fill-dark), 0.8));
|
|
60
|
+
@include color.color-mode(border-color, RGBA(brandui-rgb-labels(ui-stroke), 0.3), RGBA(brandui-rgb-labels(ui-stroke-dark), 0.3));
|
|
61
|
+
@include gradient.gradient-border;
|
|
62
|
+
|
|
63
|
+
@include break.max-mobile {
|
|
64
|
+
padding: map.get($brandui-padding, large);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -323,11 +323,7 @@
|
|
|
323
323
|
padding-top: map.get($brandui-padding, 'small');
|
|
324
324
|
border-top-width: 1px;
|
|
325
325
|
border-top-style: solid;
|
|
326
|
-
@include color.color-mode(
|
|
327
|
-
border-top-color,
|
|
328
|
-
RGBA(brandui-rgb-labels(neutral-5), 0.3),
|
|
329
|
-
RGBA(brandui-rgb-labels(neutral-5), 0.7)
|
|
330
|
-
);
|
|
326
|
+
@include color.color-mode(border-top-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
331
327
|
|
|
332
328
|
&:has(.submenu-column-label) {
|
|
333
329
|
@include break.max-tablet {
|
|
@@ -420,6 +416,7 @@
|
|
|
420
416
|
|
|
421
417
|
.general-icon {
|
|
422
418
|
font-size: map.get($brandui-general-icon-size, 'medium');
|
|
419
|
+
@include color.color-mode(border-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
423
420
|
}
|
|
424
421
|
|
|
425
422
|
.product-logo {
|
|
@@ -607,7 +604,7 @@
|
|
|
607
604
|
padding-top: map.get($brandui-padding, 'small');
|
|
608
605
|
border-top-width: 1px;
|
|
609
606
|
border-top-style: solid;
|
|
610
|
-
@include color.color-mode(border-top-color,
|
|
607
|
+
@include color.color-mode(border-top-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
611
608
|
}
|
|
612
609
|
|
|
613
610
|
&-content {
|
|
@@ -654,6 +651,7 @@
|
|
|
654
651
|
@extend .icon-border;
|
|
655
652
|
padding: map.get($brandui-padding, 'extra-small');
|
|
656
653
|
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
654
|
+
@include color.color-mode(border-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
657
655
|
}
|
|
658
656
|
|
|
659
657
|
.general-icon {
|
|
@@ -6,23 +6,18 @@
|
|
|
6
6
|
@use '../../../base/mixins/breakpoints' as break;
|
|
7
7
|
@use '../../../base/mixins/color-mode' as color;
|
|
8
8
|
@use '../../../base/functions' as *;
|
|
9
|
+
@use '../../../components/molecules/cards/_card.scss' as *;
|
|
9
10
|
|
|
10
11
|
.basic-cta {
|
|
11
|
-
|
|
12
|
+
@extend .card;
|
|
12
13
|
width: 100%;
|
|
13
14
|
margin: 0 auto;
|
|
14
15
|
padding: map.get($brandui-padding, medium);
|
|
15
16
|
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
16
18
|
align-items: center;
|
|
17
19
|
justify-content: space-between;
|
|
18
20
|
gap: map.get($brandui-padding, huge);
|
|
19
|
-
border-width: 1px;
|
|
20
|
-
border-style: solid;
|
|
21
|
-
border-radius: map.get($brandui-radius, large);
|
|
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;
|
|
26
21
|
|
|
27
22
|
&-content {
|
|
28
23
|
max-width: brandui-col-spacing(7);
|
|
@@ -7,23 +7,16 @@
|
|
|
7
7
|
@use '../../../base/mixins/gradient-border' as gradient;
|
|
8
8
|
@use '../../../base/mixins/breakpoints' as break;
|
|
9
9
|
@use '../../../base/functions' as *;
|
|
10
|
+
@use '../../../components/molecules/cards/_card.scss' as *;
|
|
10
11
|
|
|
11
12
|
.body-cta {
|
|
12
|
-
|
|
13
|
+
@extend .card-decorated;
|
|
13
14
|
width: 100%;
|
|
14
15
|
margin: 0 auto;
|
|
15
|
-
padding: map.get($brandui-padding, medium);
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
gap: map.get($brandui-padding, huge);
|
|
20
|
-
border-radius: map.get($brandui-radius, small);
|
|
21
|
-
box-shadow: map.get($brandui-shadow, far);
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
|
|
24
|
-
@include color.color-mode(background-color, brandui-color-labels(ui-fill), brandui-color-labels(ui-fill-dark));
|
|
25
|
-
@include glass.bg-glass(true, ui-fill);
|
|
26
|
-
@include gradient.gradient-border;
|
|
27
20
|
|
|
28
21
|
&-content {
|
|
29
22
|
max-width: brandui-col-spacing(8);
|
|
@@ -53,13 +46,6 @@
|
|
|
53
46
|
}
|
|
54
47
|
}
|
|
55
48
|
|
|
56
|
-
&-decorations {
|
|
57
|
-
position: absolute;
|
|
58
|
-
z-index: 1;
|
|
59
|
-
inset: 2px;
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
49
|
@include break.max-mobile {
|
|
64
50
|
flex-direction: column;
|
|
65
51
|
gap: map.get($brandui-padding, extra-large);
|
|
@@ -12,15 +12,13 @@
|
|
|
12
12
|
@use '../../../base/links' as *;
|
|
13
13
|
|
|
14
14
|
.footer-cta {
|
|
15
|
-
@extend .brandui-section;
|
|
16
15
|
margin-bottom: string.unquote('-#{map.get($brandui-padding, huge)}');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
overflow: hidden;
|
|
16
|
+
margin-left: auto;
|
|
17
|
+
margin-right: auto;
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
@include break.max-tablet {
|
|
20
|
+
margin: 0 map.get($brandui-padding, large);
|
|
21
|
+
}
|
|
24
22
|
|
|
25
23
|
&-content {
|
|
26
24
|
max-width: brandui-col-spacing(7);
|
|
@@ -30,6 +28,10 @@
|
|
|
30
28
|
gap: map.get($brandui-padding, small);
|
|
31
29
|
justify-content: center;
|
|
32
30
|
|
|
31
|
+
.buttons {
|
|
32
|
+
justify-content: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
33
35
|
@include break.max-tablet {
|
|
34
36
|
max-width: 100%;
|
|
35
37
|
text-align: center;
|
|
@@ -71,13 +73,4 @@
|
|
|
71
73
|
max-width: 100%;
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
|
-
|
|
75
|
-
&-decorations {
|
|
76
|
-
position: absolute;
|
|
77
|
-
z-index: 1;
|
|
78
|
-
inset: 2px;
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@include gradient.gradient-border;
|
|
83
76
|
}
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
@include color.color-mode(color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
88
88
|
|
|
89
89
|
&:hover {
|
|
90
|
-
@include color.color-mode(color, brandui-color-labels(action-
|
|
90
|
+
@include color.color-mode(color, brandui-color-labels(action-tertiary), brandui-color-labels(action-tertiary-dark));
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
@use '../components/molecules/agenda' as *;
|
|
28
28
|
@use '../components/molecules/alert' as *;
|
|
29
29
|
@use '../components/molecules/avatar-grid-item' as *;
|
|
30
|
-
@use '../components/molecules/avatar-username' as *;
|
|
31
30
|
@use '../components/molecules/charts/charts' as *;
|
|
32
31
|
@use '../components/molecules/charts/vertical-chart' as *;
|
|
33
32
|
@use '../components/molecules/charts/horizontal-chart' as *;
|
|
@@ -58,6 +57,7 @@
|
|
|
58
57
|
@use './components/atoms/triggers/play' as *;
|
|
59
58
|
@use './components/atoms/tooltip' as *;
|
|
60
59
|
@use './components/molecules/announcements' as *;
|
|
60
|
+
@use './components/molecules/avatar-username' as *;
|
|
61
61
|
@use './components/molecules/cards/card' as *;
|
|
62
62
|
@use './components/molecules/cards/card-bg-image' as *;
|
|
63
63
|
@use './components/molecules/cards/card-repo' as *;
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
z-index: 2;
|
|
15
15
|
@include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
16
16
|
@include color.color-mode(background-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
17
|
+
|
|
18
|
+
&:hover,
|
|
19
|
+
&:focus {
|
|
20
|
+
@include color.color-mode(border-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
21
|
+
@include color.color-mode(background-color, brandui-color-labels(action), brandui-color-labels(action-dark));
|
|
22
|
+
}
|
|
17
23
|
}
|
|
18
24
|
|
|
19
25
|
&-message {
|
|
@@ -36,5 +42,9 @@
|
|
|
36
42
|
&:before {
|
|
37
43
|
position: relative;
|
|
38
44
|
}
|
|
45
|
+
|
|
46
|
+
&:after {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
39
49
|
}
|
|
40
50
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@use './../../../components/molecules/avatar-username';
|
|
2
|
+
@use '../../../base/functions' as *;
|
|
3
|
+
@use './../../../base/mixins/color-mode' as color;
|
|
4
|
+
|
|
5
|
+
.avatar-username {
|
|
6
|
+
a {
|
|
7
|
+
&:hover {
|
|
8
|
+
@include color.color-mode(color, brandui-color-labels(action-secondary), brandui-color-labels(action-secondary-dark));
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
::-webkit-scrollbar-thumb {
|
|
14
14
|
border-radius: 20px;
|
|
15
15
|
border: transparent;
|
|
16
|
-
@include color.color-mode(background-color, RGBA(brandui-rgb-labels(neutral-
|
|
16
|
+
@include color.color-mode(background-color, RGBA(brandui-rgb-labels(neutral-5), 0.25), RGBA(brandui-rgb-labels(neutral-1), 0.25));
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
::-webkit-scrollbar-thumb:hover {
|
|
20
|
-
@include color.color-mode(background-color, RGBA(brandui-rgb-labels(neutral-
|
|
20
|
+
@include color.color-mode(background-color, RGBA(brandui-rgb-labels(neutral-5), 0.5), RGBA(brandui-rgb-labels(neutral-1), 0.5));
|
|
21
21
|
}
|
|
22
22
|
}
|