@trilogy-ds/styles 4.16.3 → 4.17.0
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/components/_box.scss +18 -3
- package/framework/src/components/_button.scss +6 -9
- package/framework/src/components/_countdown.scss +22 -23
- package/framework/src/components/_price.scss +11 -8
- package/framework/src/components/_timepicker-circular.scss +5 -5
- package/framework/src/components/_title.scss +1 -1
- package/package.json +1 -1
|
@@ -65,8 +65,9 @@ a.box {
|
|
|
65
65
|
|
|
66
66
|
&.is-highlighted {
|
|
67
67
|
border-left: $highlighted-border-width solid transparent;
|
|
68
|
-
border-top-left-radius:
|
|
69
|
-
border-bottom-left-radius:
|
|
68
|
+
border-top-left-radius: $highlighted-border-width;
|
|
69
|
+
border-bottom-left-radius: $highlighted-border-width;
|
|
70
|
+
border-left-color: getColor('main');
|
|
70
71
|
@each $name, $pair in $colors-brand-functionnal {
|
|
71
72
|
$color: getColor($name);
|
|
72
73
|
$brandName: getColorBrandName($name);
|
|
@@ -76,9 +77,23 @@ a.box {
|
|
|
76
77
|
border-left-width: $highlighted-border-width;
|
|
77
78
|
}
|
|
78
79
|
}
|
|
80
|
+
> .box-content {
|
|
81
|
+
&:first-child {
|
|
82
|
+
border-top-left-radius: 0;
|
|
83
|
+
}
|
|
79
84
|
|
|
80
|
-
|
|
85
|
+
&:last-child {
|
|
86
|
+
border-bottom-left-radius: 0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
> .box-footer {
|
|
90
|
+
border-bottom-left-radius: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
> .box-header {
|
|
81
94
|
margin-left: calc(var(--padding-box) * -1 - $highlighted-border-width);
|
|
95
|
+
border-radius: $highlighted-border-width var(--radius) 0 0;
|
|
96
|
+
|
|
82
97
|
}
|
|
83
98
|
}
|
|
84
99
|
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
$button-border-width: 2px !default;
|
|
2
2
|
|
|
3
3
|
.buttons {
|
|
4
|
+
display: flex;
|
|
4
5
|
width: 100%;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
&.is-vertical {
|
|
8
|
-
row-gap: 16px;
|
|
9
|
-
}
|
|
10
|
-
|
|
6
|
+
gap: 16px;
|
|
7
|
+
flex-direction: column;
|
|
11
8
|
@include tablet {
|
|
12
|
-
|
|
9
|
+
flex-direction: row;
|
|
13
10
|
align-items: center;
|
|
14
11
|
width: auto;
|
|
15
12
|
}
|
|
@@ -39,7 +36,6 @@ $button-border-width: 2px !default;
|
|
|
39
36
|
|
|
40
37
|
@include mobile {
|
|
41
38
|
width: 100%;
|
|
42
|
-
margin: 8px 0 !important;
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
@each $name, $pair in $button-colors {
|
|
@@ -72,7 +68,7 @@ $button-border-width: 2px !default;
|
|
|
72
68
|
gap: $spacing-2;
|
|
73
69
|
}
|
|
74
70
|
|
|
75
|
-
.icon {
|
|
71
|
+
.icon:not([class*='has-background-']) {
|
|
76
72
|
width: auto;
|
|
77
73
|
}
|
|
78
74
|
|
|
@@ -84,3 +80,4 @@ $button-border-width: 2px !default;
|
|
|
84
80
|
}
|
|
85
81
|
|
|
86
82
|
}
|
|
83
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.countdown {
|
|
2
|
-
|
|
2
|
+
background-color: var(--color-accent-fade);
|
|
3
3
|
border-radius: var(--radius);
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
padding: $spacing-2;
|
|
@@ -7,50 +7,49 @@
|
|
|
7
7
|
|
|
8
8
|
.count {
|
|
9
9
|
font-family: $family-primary;
|
|
10
|
-
font-size: $text-
|
|
10
|
+
font-size: $text-12;
|
|
11
11
|
font-weight: 400;
|
|
12
12
|
list-style-type: none;
|
|
13
13
|
text-align: center;
|
|
14
|
-
padding: 0 $spacing-
|
|
14
|
+
padding: 0 $spacing-1;
|
|
15
15
|
position: relative;
|
|
16
|
+
min-width: 46px;
|
|
16
17
|
|
|
17
|
-
&:not(:last-child)::
|
|
18
|
-
content: '
|
|
19
|
-
border-left: 1px solid currentcolor;
|
|
20
|
-
height: 100%;
|
|
18
|
+
&:not(:last-child)::after {
|
|
19
|
+
content: ':';
|
|
21
20
|
position: absolute;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
right: -3px;
|
|
22
|
+
top: 50%;
|
|
23
|
+
transform: translateY(-50%);
|
|
24
|
+
font-size: $text-12;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
width: 6px;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
.value {
|
|
28
|
-
font-size: $text-
|
|
30
|
+
font-size: $text-20;
|
|
31
|
+
list-style: 28px;
|
|
29
32
|
font-weight: 600;
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
35
|
|
|
33
36
|
&.is-small {
|
|
34
|
-
padding: $spacing-2
|
|
35
|
-
border-radius: var(--radius
|
|
37
|
+
padding: $spacing-2 $spacing-1;
|
|
38
|
+
border-radius: var(--radius);
|
|
36
39
|
|
|
37
40
|
.count {
|
|
38
41
|
font-size: $text-12;
|
|
39
|
-
padding: 0 $spacing-2;
|
|
40
42
|
font-weight: 500;
|
|
43
|
+
min-width: 42px;
|
|
41
44
|
|
|
42
|
-
|
|
45
|
+
&:not(:last-child)::after {
|
|
43
46
|
font-size: $text-16;
|
|
44
|
-
font-weight: 600;
|
|
45
47
|
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
&:not(:last-child)::before {
|
|
49
|
+
.value {
|
|
50
|
+
font-size: $text-16;
|
|
51
|
+
line-height: 21px;
|
|
52
|
+
font-weight: 600;
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
$price-levels: (
|
|
2
|
-
[$text-64, $text-44, $text-28, $text-16],
|
|
3
|
-
[$text-56, $text-32, $text-22, $text-16],
|
|
4
|
-
[$text-48, $text-28, $text-16, $text-16],
|
|
5
|
-
[$text-40, $text-24, $text-10, $text-10],
|
|
6
|
-
[$text-36, $text-20, $text-10, $text-10],
|
|
7
|
-
[$text-24, $text-20, $text-10, $text-10],
|
|
8
|
-
[$text-20, $text-20, $text-10, $text-10],
|
|
2
|
+
[$text-64, $text-44, $text-28, $text-16, $text-16],
|
|
3
|
+
[$text-56, $text-32, $text-22, $text-16, $text-16],
|
|
4
|
+
[$text-48, $text-28, $text-16, $text-16, $text-16],
|
|
5
|
+
[$text-40, $text-24, $text-10, $text-10, $text-14],
|
|
6
|
+
[$text-36, $text-20, $text-10, $text-10, $text-14],
|
|
7
|
+
[$text-24, $text-20, $text-10, $text-10, $text-10],
|
|
8
|
+
[$text-20, $text-20, $text-10, $text-10, $text-10],
|
|
9
9
|
);
|
|
10
10
|
|
|
11
11
|
.price-container {
|
|
@@ -14,15 +14,18 @@ $price-levels: (
|
|
|
14
14
|
column-gap: 12px;
|
|
15
15
|
flex-wrap: wrap;
|
|
16
16
|
--font-size: #{$text-64};
|
|
17
|
+
--overline-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
|
$strike-font-size: nth($price-level, 2);
|
|
23
|
+
$overline-size: nth($price-level, 5);
|
|
22
24
|
|
|
23
25
|
&.is-level-#{$i} {
|
|
24
26
|
--font-size: #{$font-size};
|
|
25
27
|
--strike-font-size: #{$strike-font-size};
|
|
28
|
+
--overline-size: #{$overline-size};
|
|
26
29
|
|
|
27
30
|
@if $i > 4 {
|
|
28
31
|
.price-details {
|
|
@@ -36,7 +39,7 @@ $price-levels: (
|
|
|
36
39
|
width: 100%;
|
|
37
40
|
flex: none;
|
|
38
41
|
margin: 0;
|
|
39
|
-
font-size:
|
|
42
|
+
font-size: var(--overline-size);
|
|
40
43
|
font-weight: 400;
|
|
41
44
|
}
|
|
42
45
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
$CIRCLE_SIZE:
|
|
2
|
-
$CURSOR_SIZE:
|
|
1
|
+
$CIRCLE_SIZE: 204px;
|
|
2
|
+
$CURSOR_SIZE: 32px;
|
|
3
3
|
|
|
4
4
|
.timepicker-circular {
|
|
5
5
|
|
|
@@ -60,8 +60,8 @@ $CURSOR_SIZE: 30px;
|
|
|
60
60
|
|
|
61
61
|
&-wrapper-input {
|
|
62
62
|
@include input;
|
|
63
|
-
width:
|
|
64
|
-
height:
|
|
63
|
+
width: 40px;
|
|
64
|
+
height: 40px;
|
|
65
65
|
text-align: center;
|
|
66
66
|
display: flex;
|
|
67
67
|
align-items: center;
|
|
@@ -71,7 +71,7 @@ $CURSOR_SIZE: 30px;
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
&-separator {
|
|
74
|
-
height:
|
|
74
|
+
height: 40px;
|
|
75
75
|
margin-bottom: 10px
|
|
76
76
|
}
|
|
77
77
|
}
|