@trilogy-ds/styles 0.0.1-beta-148 → 0.0.1-beta-sc-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/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/base/_helpers.scss +1 -1
- package/framework/src/components/_accordion.scss +4 -4
- package/framework/src/components/_divider.scss +1 -0
- package/framework/src/components/_modal.scss +16 -14
- package/framework/src/components/_otp.scss +1 -1
- package/framework/src/components/_price.scss +71 -6
- package/framework/src/components/_progress-radial.scss +24 -24
- package/framework/src/components/_segmented-control.scss +2 -14
- package/framework/src/components/_tabs.scss +24 -16
- package/framework/src/elements/_badge.scss +18 -40
- package/framework/src/elements/_box.scss +37 -39
- package/framework/src/elements/_image.scss +40 -50
- package/framework/src/elements/_list.scss +24 -33
- package/framework/src/elements/_paragraph.scss +44 -32
- package/framework/src/elements/_progress.scss +0 -20
- package/framework/src/elements/_radio.scss +37 -43
- package/framework/src/elements/_switch.scss +0 -6
- package/framework/src/elements/_table.scss +15 -15
- package/framework/src/elements/_tag.scss +2 -2
- package/framework/src/grid/_columns.scss +81 -85
- package/framework/src/grid/_rows.scss +14 -19
- package/framework/src/layout/_hero.scss +28 -0
- package/framework/src/theming/common_partials.scss +0 -1
- package/framework/src/utilities/_mixins.scss +6 -8
- package/package.json +1 -1
|
@@ -433,7 +433,7 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex';
|
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
// Radius
|
|
436
|
-
$radius-list: ['radius-
|
|
436
|
+
$radius-list: ['radius-small', 'radius'];
|
|
437
437
|
|
|
438
438
|
@each $label in $radius-list {
|
|
439
439
|
.has-border-#{$label} {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.
|
|
1
|
+
.accordions#{$suffix} {
|
|
2
2
|
padding-left: 0;
|
|
3
3
|
padding-right: 0;
|
|
4
4
|
|
|
5
5
|
/* Chrome + Webkit */
|
|
6
|
-
details.accordion
|
|
6
|
+
details.accordion ::-webkit-details-marker {
|
|
7
7
|
display: none;
|
|
8
8
|
content: "";
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
details.accordion
|
|
11
|
+
details.accordion summary {
|
|
12
12
|
list-style-image: none;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.accordion
|
|
15
|
+
.accordion {
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
@@ -71,14 +71,19 @@ body:has(.modal.is-active) {
|
|
|
71
71
|
color: getColor('font');
|
|
72
72
|
overflow: auto;
|
|
73
73
|
position: relative;
|
|
74
|
-
padding:
|
|
74
|
+
padding: 0 30px 30px;
|
|
75
75
|
margin: 0 $modal-content-margin-mobile;
|
|
76
76
|
max-height: calc(100vh - 40px);
|
|
77
|
+
text-align: center;
|
|
77
78
|
width: 100%;
|
|
78
79
|
z-index: zindex('tiny');
|
|
79
80
|
transition: transform ease-in-out 250ms;
|
|
80
81
|
transform: translateY(100%);
|
|
81
82
|
|
|
83
|
+
&:has(.modal-footer) {
|
|
84
|
+
padding-bottom: 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
82
87
|
@include tablet {
|
|
83
88
|
max-height: calc(100vh - 120px);
|
|
84
89
|
width: $modal-content-width;
|
|
@@ -108,11 +113,7 @@ body:has(.modal.is-active) {
|
|
|
108
113
|
width: 100%;
|
|
109
114
|
background: getColor('background');
|
|
110
115
|
bottom: 0;
|
|
111
|
-
|
|
112
|
-
@include tablet {
|
|
113
|
-
display: flex;
|
|
114
|
-
justify-content: flex-end;
|
|
115
|
-
}
|
|
116
|
+
padding: 16px;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
// If Close Icon Modal & Title Modal are sibling elements, override margin
|
|
@@ -125,9 +126,9 @@ body:has(.modal.is-active) {
|
|
|
125
126
|
@include delete;
|
|
126
127
|
|
|
127
128
|
background-color: getColor('background');
|
|
128
|
-
position:
|
|
129
|
-
top:
|
|
130
|
-
|
|
129
|
+
position: sticky;
|
|
130
|
+
top: 20px;
|
|
131
|
+
left: 100%;
|
|
131
132
|
display: block;
|
|
132
133
|
height: $modal-close-dimensions;
|
|
133
134
|
width: $modal-close-dimensions;
|
|
@@ -143,6 +144,11 @@ body:has(.modal.is-active) {
|
|
|
143
144
|
}
|
|
144
145
|
}
|
|
145
146
|
|
|
147
|
+
.modal-title {
|
|
148
|
+
padding: 20px 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.modal-title,
|
|
146
152
|
.modal-header {
|
|
147
153
|
color: getColor('font');
|
|
148
154
|
font-family: $family-sans-serif;
|
|
@@ -156,10 +162,6 @@ body:has(.modal.is-active) {
|
|
|
156
162
|
width: 100%;
|
|
157
163
|
word-wrap: break-word;
|
|
158
164
|
|
|
159
|
-
&:has(.icon) {
|
|
160
|
-
text-align: center;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
165
|
@include desktop {
|
|
164
166
|
font-size: $size-3-desktop;
|
|
165
167
|
}
|
|
@@ -201,4 +203,4 @@ body:has(.modal.is-active) {
|
|
|
201
203
|
}
|
|
202
204
|
}
|
|
203
205
|
}
|
|
204
|
-
}
|
|
206
|
+
}
|
|
@@ -14,21 +14,36 @@ $price-levels: (
|
|
|
14
14
|
column-gap: 12px;
|
|
15
15
|
flex-wrap: wrap;
|
|
16
16
|
--font-size: #{$text-64};
|
|
17
|
+
--tag-period-size:#{$text-16};
|
|
17
18
|
|
|
18
19
|
@each $price-level in $price-levels {
|
|
19
20
|
$i: index($price-levels, $price-level);
|
|
20
21
|
$font-size: nth($price-level, 1);
|
|
21
|
-
$
|
|
22
|
+
$striked-font-size: nth($price-level, 2);
|
|
23
|
+
$tag-size: nth($price-level, 3);
|
|
24
|
+
$tag-period-size: nth($price-level, 4);
|
|
22
25
|
|
|
23
26
|
&.is-level-#{$i} {
|
|
24
27
|
--font-size: #{$font-size};
|
|
25
|
-
--
|
|
28
|
+
--striked-font-size: #{$striked-font-size};
|
|
29
|
+
--tag-amount-size: #{$tag-size};
|
|
30
|
+
--tag-period-size: #{$tag-period-size};
|
|
26
31
|
|
|
27
32
|
@if $i > 4 {
|
|
28
33
|
.price-details {
|
|
29
34
|
padding-left: 2px;
|
|
30
35
|
}
|
|
31
36
|
}
|
|
37
|
+
@if $i > 3 {
|
|
38
|
+
+ .price-tag {
|
|
39
|
+
&::before {
|
|
40
|
+
border-width: 3px;
|
|
41
|
+
margin-left: -6px;
|
|
42
|
+
border-radius: 1px;
|
|
43
|
+
}
|
|
44
|
+
padding: 4px !important;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
32
47
|
}
|
|
33
48
|
}
|
|
34
49
|
|
|
@@ -41,9 +56,22 @@ $price-levels: (
|
|
|
41
56
|
|
|
42
57
|
.price {
|
|
43
58
|
font-size: var(--font-size);
|
|
59
|
+
&.is-striked {
|
|
60
|
+
font-size: var(--striked-font-size);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.price-tag {
|
|
65
|
+
padding: calc(var(--tag-period-size)/2);
|
|
66
|
+
font-size: var(--tag-amount-size);
|
|
67
|
+
|
|
68
|
+
&:before {
|
|
69
|
+
margin-left:calc(4px - var(--tag-period-size));
|
|
70
|
+
}
|
|
44
71
|
|
|
45
|
-
|
|
46
|
-
font-size: var(--
|
|
72
|
+
.tag-period {
|
|
73
|
+
font-size: var(--tag-period-size);
|
|
74
|
+
margin-bottom: calc( calc( var(--tag-period-size) - 10px) / 2);
|
|
47
75
|
}
|
|
48
76
|
}
|
|
49
77
|
|
|
@@ -124,14 +152,14 @@ $price-levels: (
|
|
|
124
152
|
}
|
|
125
153
|
}
|
|
126
154
|
|
|
127
|
-
&.
|
|
155
|
+
&.is-striked {
|
|
128
156
|
&::before {
|
|
129
157
|
transform: rotate(-12deg);
|
|
130
158
|
}
|
|
131
159
|
}
|
|
132
160
|
}
|
|
133
161
|
|
|
134
|
-
&.
|
|
162
|
+
&.is-striked {
|
|
135
163
|
position: relative;
|
|
136
164
|
color: getColor('neutral');
|
|
137
165
|
|
|
@@ -156,3 +184,40 @@ $price-levels: (
|
|
|
156
184
|
}
|
|
157
185
|
}
|
|
158
186
|
}
|
|
187
|
+
|
|
188
|
+
.price-tag {
|
|
189
|
+
line-height: 1em;
|
|
190
|
+
align-self: center;
|
|
191
|
+
background-color: getColor('accent');
|
|
192
|
+
border-radius: 6px;
|
|
193
|
+
display: inline-flex;
|
|
194
|
+
color: getColor('background');
|
|
195
|
+
height: fit-content;
|
|
196
|
+
font-size: 28px;
|
|
197
|
+
align-items: baseline;
|
|
198
|
+
position: relative;
|
|
199
|
+
margin-left: -4px;
|
|
200
|
+
&::before {
|
|
201
|
+
content: '';
|
|
202
|
+
border-color: transparent;
|
|
203
|
+
border-bottom-color: getColor('accent');
|
|
204
|
+
border-left-color: getColor('accent');
|
|
205
|
+
transform: rotate(45deg);
|
|
206
|
+
border-style: solid;
|
|
207
|
+
border-width: 6px;
|
|
208
|
+
border-radius: 2px;
|
|
209
|
+
pointer-events: none;
|
|
210
|
+
position: absolute;
|
|
211
|
+
margin-left: -12px;
|
|
212
|
+
top: 0;
|
|
213
|
+
bottom: 0;
|
|
214
|
+
margin-top: auto;
|
|
215
|
+
margin-bottom: auto;
|
|
216
|
+
transform-origin: center;
|
|
217
|
+
height: 0;
|
|
218
|
+
width: 0;
|
|
219
|
+
}
|
|
220
|
+
.tag-period {
|
|
221
|
+
place-self: flex-end;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
.progress-radial {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
border-radius: 50%;
|
|
5
|
-
width: 124px;
|
|
6
|
-
height: 124px;
|
|
7
|
-
position: relative;
|
|
8
|
-
|
|
9
|
-
.progress-radial-content {
|
|
10
|
-
border: 1px solid white;
|
|
2
|
+
background: radial-gradient(white 58%, transparent 51%),
|
|
3
|
+
conic-gradient(gainsboro 0deg 360deg, gainsboro 0deg 360deg);
|
|
11
4
|
border-radius: 50%;
|
|
12
|
-
width:
|
|
13
|
-
height:
|
|
14
|
-
position:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
5
|
+
width: 124px;
|
|
6
|
+
height: 124px;
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
.progress-radial-content {
|
|
10
|
+
border: 1px solid white;
|
|
11
|
+
border-radius: 50%;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 100%;
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 50%;
|
|
16
|
+
left: 50%;
|
|
17
|
+
transform: translate(-50%, -50%);
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
&.is-small {
|
|
25
|
+
width: 75px;
|
|
26
|
+
height: 75px;
|
|
27
|
+
}
|
|
28
28
|
}
|
|
@@ -2,20 +2,8 @@
|
|
|
2
2
|
border-radius: 6px;
|
|
3
3
|
padding: $spacing-1;
|
|
4
4
|
background-color: getColor('neutral-fade');
|
|
5
|
-
display:
|
|
6
|
-
margin
|
|
7
|
-
margin-right: auto;
|
|
8
|
-
width: fit-content;
|
|
9
|
-
|
|
10
|
-
&.justified-start {
|
|
11
|
-
margin-left: 0;
|
|
12
|
-
margin-right: auto;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&.justified-end {
|
|
16
|
-
margin-right: 0;
|
|
17
|
-
margin-left: auto;
|
|
18
|
-
}
|
|
5
|
+
display: inline-block;
|
|
6
|
+
margin: 16px 0;
|
|
19
7
|
|
|
20
8
|
@include mobile {
|
|
21
9
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.tab-context {
|
|
2
2
|
@include overflow-touch;
|
|
3
3
|
@include unselectable;
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
&.is-inverted {
|
|
25
25
|
background-color: getColor('font');
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.tabs > .tab {
|
|
28
28
|
color: getColor('background') !important;
|
|
29
29
|
|
|
30
30
|
&.is-active {
|
|
@@ -43,21 +43,31 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
&:has(.tab-list.is-aligned-end) {
|
|
51
|
-
text-align: right;
|
|
46
|
+
&.has-text-left {
|
|
47
|
+
.tabs > .tab:first-child {
|
|
48
|
+
margin-left: 24px;
|
|
49
|
+
}
|
|
52
50
|
}
|
|
53
51
|
|
|
54
|
-
.
|
|
52
|
+
.tabs {
|
|
55
53
|
background-color: transparent;
|
|
56
|
-
height: 48px;
|
|
57
54
|
overflow-x: auto;
|
|
58
55
|
white-space: nowrap;
|
|
59
56
|
display: inline-flex;
|
|
60
57
|
|
|
58
|
+
&.is-centered {
|
|
59
|
+
justify-content: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.is-right {
|
|
63
|
+
justify-content: flex-end;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.is-left {
|
|
67
|
+
justify-content: flex-start;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
61
71
|
&.is-fullwidth {
|
|
62
72
|
@include desktop {
|
|
63
73
|
> * {
|
|
@@ -71,6 +81,7 @@
|
|
|
71
81
|
box-shadow: none;
|
|
72
82
|
}
|
|
73
83
|
|
|
84
|
+
|
|
74
85
|
@include mobile {
|
|
75
86
|
justify-content: flex-start;
|
|
76
87
|
> .tab:first-child {
|
|
@@ -78,17 +89,13 @@
|
|
|
78
89
|
}
|
|
79
90
|
}
|
|
80
91
|
|
|
81
|
-
&:has(.tab .icon) {
|
|
82
|
-
height: 64px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
92
|
> .tab {
|
|
86
|
-
height: calc(100% - 4px);
|
|
87
93
|
background-color: transparent;
|
|
94
|
+
border: none;
|
|
88
95
|
color: getColor('font');
|
|
89
96
|
text-decoration: none;
|
|
90
97
|
outline: none;
|
|
91
|
-
padding:
|
|
98
|
+
padding: 8px 14px;
|
|
92
99
|
font-size: $text-14;
|
|
93
100
|
@include desktop {
|
|
94
101
|
font-size: $text-16;
|
|
@@ -175,3 +182,4 @@
|
|
|
175
182
|
}
|
|
176
183
|
}
|
|
177
184
|
}
|
|
185
|
+
|
|
@@ -3,46 +3,6 @@
|
|
|
3
3
|
margin-right: 0.6em;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.badge-container {
|
|
7
|
-
position: relative;
|
|
8
|
-
display: inline-flex;
|
|
9
|
-
justify-content: flex-start;
|
|
10
|
-
align-items: center;
|
|
11
|
-
min-width: 40px;
|
|
12
|
-
min-height: 40px;
|
|
13
|
-
|
|
14
|
-
.badge,
|
|
15
|
-
.badge-icon {
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 0;
|
|
18
|
-
right: 0;
|
|
19
|
-
|
|
20
|
-
&.is-bottom-left {
|
|
21
|
-
bottom: 0;
|
|
22
|
-
left: 0;
|
|
23
|
-
right: auto;
|
|
24
|
-
top: auto;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.is-bottom-right {
|
|
28
|
-
bottom: 0;
|
|
29
|
-
right: 0;
|
|
30
|
-
top: auto;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.is-top-left {
|
|
34
|
-
top: 0;
|
|
35
|
-
left: 0;
|
|
36
|
-
right: auto;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.badge-icon {
|
|
41
|
-
width: $text-20;
|
|
42
|
-
height: $text-20;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
6
|
.badge {
|
|
47
7
|
display: inline-flex;
|
|
48
8
|
border-radius: 9999px;
|
|
@@ -59,12 +19,30 @@
|
|
|
59
19
|
min-height: $text-10;
|
|
60
20
|
}
|
|
61
21
|
|
|
22
|
+
&.is-up {
|
|
23
|
+
position: absolute;
|
|
24
|
+
left: 50%;
|
|
25
|
+
top: $text-10;
|
|
26
|
+
right: $text-24;
|
|
27
|
+
}
|
|
28
|
+
|
|
62
29
|
&.is-inverted {
|
|
63
30
|
color: getColor('main') !important;
|
|
64
31
|
background: getColor('background');
|
|
65
32
|
}
|
|
66
33
|
}
|
|
67
34
|
|
|
35
|
+
.badge-and-text {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: $text-40;
|
|
39
|
+
|
|
40
|
+
p {
|
|
41
|
+
margin-bottom: 0 !important;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
68
46
|
[data-badge-number] {
|
|
69
47
|
position: relative;
|
|
70
48
|
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
2
|
@import "../utilities/spacing";
|
|
3
3
|
|
|
4
|
+
$font-size-header: 15;
|
|
5
|
+
$font-line-height-header: 1.5;
|
|
6
|
+
$padding-top-bottom-header: 8;
|
|
7
|
+
|
|
8
|
+
|
|
4
9
|
:root {
|
|
5
|
-
--padding-box: #{$spacing-5};
|
|
10
|
+
--padding-box : #{$spacing-5};
|
|
6
11
|
@include mobile {
|
|
7
|
-
--padding-box: #{$spacing-4};
|
|
12
|
+
--padding-box : #{$spacing-4};
|
|
8
13
|
}
|
|
9
14
|
}
|
|
10
15
|
|
|
11
16
|
$highlighted-border-width: 4px;
|
|
12
17
|
|
|
13
|
-
|
|
14
18
|
a.box {
|
|
15
19
|
cursor: pointer;
|
|
16
20
|
transition: box-shadow $animation-duration;
|
|
@@ -40,16 +44,6 @@ a.box {
|
|
|
40
44
|
outline: var(--border-active);
|
|
41
45
|
}
|
|
42
46
|
|
|
43
|
-
&.is-offset-header {
|
|
44
|
-
@include tablet {
|
|
45
|
-
margin-top: 40px;
|
|
46
|
-
|
|
47
|
-
&.is-fullheight {
|
|
48
|
-
height: calc(100% - 40px);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
47
|
&.is-fullheight {
|
|
54
48
|
.box-content {
|
|
55
49
|
flex-grow: 1;
|
|
@@ -60,13 +54,22 @@ a.box {
|
|
|
60
54
|
box-shadow: none;
|
|
61
55
|
border: var(--border);
|
|
62
56
|
|
|
57
|
+
&.has-hat > .is-hat {
|
|
58
|
+
left: -1px;
|
|
59
|
+
right: -1px;
|
|
60
|
+
}
|
|
61
|
+
|
|
63
62
|
.box-header {
|
|
64
|
-
margin-top: calc(var(--padding-box)
|
|
65
|
-
margin-left: calc(var(--padding-box)
|
|
66
|
-
margin-right: calc(var(--padding-box)
|
|
63
|
+
margin-top: calc(var(--padding-box)*-1 - 1px);
|
|
64
|
+
margin-left: calc(var(--padding-box)*-1 - 1px);
|
|
65
|
+
margin-right: calc(var(--padding-box)*-1 - 1px);
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
|
|
69
|
+
&.is-header-offset {
|
|
70
|
+
margin-top: #{$font-size-header * $font-line-height-header + 2 * $padding-top-bottom-header}px;
|
|
71
|
+
}
|
|
72
|
+
|
|
70
73
|
&.is-highlighted {
|
|
71
74
|
border-left: $highlighted-border-width solid transparent;
|
|
72
75
|
border-top-left-radius: calc(var(--radius) + $highlighted-border-width);
|
|
@@ -75,14 +78,14 @@ a.box {
|
|
|
75
78
|
$color: getColor($name);
|
|
76
79
|
$brandName: getColorBrandName($name);
|
|
77
80
|
|
|
78
|
-
&.is-#{$brandName}
|
|
81
|
+
&.is-#{$brandName}{
|
|
79
82
|
border-left-color: $color;
|
|
80
83
|
border-left-width: $highlighted-border-width;
|
|
81
84
|
}
|
|
82
85
|
}
|
|
83
86
|
|
|
84
|
-
.box-header
|
|
85
|
-
margin-left: calc(var(--padding-box)
|
|
87
|
+
.box-header{
|
|
88
|
+
margin-left: calc(var(--padding-box)*-1 - $highlighted-border-width);
|
|
86
89
|
}
|
|
87
90
|
}
|
|
88
91
|
|
|
@@ -90,9 +93,9 @@ a.box {
|
|
|
90
93
|
z-index: inherit;
|
|
91
94
|
background-color: getColor('font');
|
|
92
95
|
color: getColor('background');
|
|
93
|
-
margin-top: calc(var(--padding-box)
|
|
94
|
-
margin-left: calc(var(--padding-box)
|
|
95
|
-
margin-right: calc(var(--padding-box)
|
|
96
|
+
margin-top: calc(var(--padding-box)*-1);
|
|
97
|
+
margin-left: calc(var(--padding-box)*-1);
|
|
98
|
+
margin-right: calc(var(--padding-box)*-1);
|
|
96
99
|
padding: 8px;
|
|
97
100
|
padding-left: var(--padding-box);
|
|
98
101
|
padding-right: var(--padding-box);
|
|
@@ -104,12 +107,9 @@ a.box {
|
|
|
104
107
|
align-items: center;
|
|
105
108
|
font-weight: $weight-semibold;
|
|
106
109
|
border-radius: var(--radius) var(--radius) 0 0;
|
|
107
|
-
|
|
108
|
-
|
|
110
|
+
text-align: center;
|
|
109
111
|
@include tablet {
|
|
110
|
-
flex-direction: row;
|
|
111
112
|
align-items: center;
|
|
112
|
-
justify-content: space-between;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
> p:not(:last-child),
|
|
@@ -128,18 +128,16 @@ a.box {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.box-content {
|
|
131
|
-
margin-left: calc(var(--padding-box)
|
|
132
|
-
margin-right: calc(var(--padding-box)
|
|
131
|
+
margin-left: calc(var(--padding-box)*-1);
|
|
132
|
+
margin-right: calc(var(--padding-box)*-1);
|
|
133
133
|
padding: var(--padding-box);
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
margin-top: calc(var(--padding-box) * -1);
|
|
134
|
+
&:first-child{
|
|
135
|
+
margin-top: calc(var(--padding-box)*-1);
|
|
137
136
|
border-top-left-radius: var(--radius);
|
|
138
137
|
border-top-right-radius: var(--radius);
|
|
139
138
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
margin-bottom: calc(var(--padding-box) * -1);
|
|
139
|
+
&:last-child{
|
|
140
|
+
margin-bottom: calc(var(--padding-box)*-1);
|
|
143
141
|
border-bottom-left-radius: var(--radius);
|
|
144
142
|
border-bottom-right-radius: var(--radius);
|
|
145
143
|
}
|
|
@@ -149,8 +147,8 @@ a.box {
|
|
|
149
147
|
}
|
|
150
148
|
|
|
151
149
|
> .is-unboxed {
|
|
152
|
-
margin-left: calc(var(--padding-box)
|
|
153
|
-
margin-right: calc(var(--padding-box)
|
|
150
|
+
margin-left: calc(var(--padding-box)*-1);
|
|
151
|
+
margin-right: calc(var(--padding-box)*-1);
|
|
154
152
|
}
|
|
155
153
|
|
|
156
154
|
&.is-transparent {
|
|
@@ -159,9 +157,9 @@ a.box {
|
|
|
159
157
|
}
|
|
160
158
|
|
|
161
159
|
.box-footer {
|
|
162
|
-
margin-left: calc(var(--padding-box)
|
|
163
|
-
margin-right: calc(var(--padding-box)
|
|
164
|
-
margin-bottom: calc(var(--padding-box)
|
|
160
|
+
margin-left: calc(var(--padding-box)*-1);
|
|
161
|
+
margin-right: calc(var(--padding-box)*-1);
|
|
162
|
+
margin-bottom: calc(var(--padding-box)*-1);
|
|
165
163
|
padding: var(--padding-box);
|
|
166
164
|
border-top: 1px solid getColor('neutral-fade');
|
|
167
165
|
border-bottom-left-radius: var(--radius);
|