@trilogy-ds/styles 0.0.7-beta-v4 → 0.0.8-esm-cjs
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/_all.scss +2 -2
- package/framework/src/base/_all.scss +1 -1
- package/framework/src/base/_color.scss +0 -21
- package/framework/src/base/_elements.scss +1 -1
- package/framework/src/base/_generic.scss +5 -0
- package/framework/src/base/_helpers.scss +21 -6
- package/framework/src/base/_loading.scss +2 -2
- package/framework/src/base/_reset.scss +6 -1
- package/framework/src/components/_accordion.scss +4 -3
- package/framework/src/components/_autocomplete.scss +38 -0
- package/framework/src/components/_autolayout.scss +135 -117
- package/framework/src/{elements → components}/_box.scss +9 -11
- package/framework/src/components/_breadcrumb.scss +17 -31
- package/framework/src/{elements → components}/_button.scss +12 -4
- package/framework/src/components/_card.scss +26 -9
- package/framework/src/{elements → components}/_checkbox.scss +30 -1
- package/framework/src/components/_countdown.scss +1 -1
- package/framework/src/components/_divider.scss +16 -0
- package/framework/src/components/_flex-box.scss +240 -0
- package/framework/src/{elements/_all.scss → components/_index.scss} +27 -12
- package/framework/src/{elements → components}/_link.scss +9 -3
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/components/_modal.scss +32 -11
- package/framework/src/components/_otp.scss +2 -2
- package/framework/src/components/_pagination.scss +5 -2
- package/framework/src/components/_price.scss +28 -2
- package/framework/src/{elements → components}/_radio.scss +4 -3
- package/framework/src/components/_segmented-control.scss +9 -5
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +1 -1
- package/framework/src/{elements → components}/_sticker.scss +13 -1
- package/framework/src/{elements → components}/_switch.scss +7 -7
- package/framework/src/{elements → components}/_table.scss +9 -10
- package/framework/src/components/_tabs.scss +66 -28
- package/framework/src/{elements → components}/_tag.scss +1 -17
- package/framework/src/{elements/_paragraph.scss → components/_text.scss} +1 -13
- package/framework/src/components/_textarea.scss +46 -0
- package/framework/src/components/_timeline.scss +1 -1
- package/framework/src/{elements → components}/_title.scss +10 -0
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/{elements → components/alert}/_toaster.scss +0 -3
- package/framework/src/{elements → components/input}/_entry.scss +48 -10
- package/framework/src/{elements → components/input}/_form.scss +10 -11
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/{elements → components/input}/_input-icons.scss +14 -2
- package/framework/src/components/progress/_index.scss +2 -0
- package/framework/src/components/{_progress-radial.scss → progress/_progress-radial.scss} +1 -1
- package/framework/src/{elements → components/progress}/_progress.scss +3 -3
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +0 -4
- package/framework/src/grid/_columns.scss +5 -9
- package/framework/src/layout/_hero.scss +4 -0
- package/framework/src/layout/_section.scss +5 -0
- package/framework/src/theming/common_partials.scss +1 -1
- package/framework/src/trilogy-mangled.scss +3 -3
- package/framework/src/trilogy.scss +2 -2
- package/framework/src/utilities/_background.scss +3 -1
- package/framework/src/utilities/_derived-variables.scss +0 -92
- package/framework/src/utilities/_initial-variables.scss +3 -111
- package/framework/src/utilities/_pre.scss +3 -1
- package/framework/src/utilities/mixins/_arrow.scss +21 -0
- package/framework/src/utilities/mixins/_delete.scss +86 -0
- package/framework/src/utilities/mixins/_index.scss +11 -0
- package/framework/src/utilities/mixins/_markup-group.scss +27 -0
- package/framework/src/utilities/mixins/_mixins.scss +293 -0
- package/framework/src/utilities/mixins/_overlay.scss +7 -0
- package/framework/src/utilities/mixins/_pattern.scss +10 -0
- package/framework/src/utilities/mixins/_responsiveness.scss +84 -0
- package/framework/src/utilities/mixins/_spinner.scss +12 -0
- package/framework/src/utilities/mixins/_state.scss +25 -0
- package/framework/src/utilities/mixins/_unselectable.scss +10 -0
- package/framework/src/utilities/mixins/_utils.scss +24 -0
- package/framework/src/utilities/variables/_animation.scss +2 -0
- package/framework/src/utilities/{_colors.scss → variables/_color.scss} +43 -0
- package/framework/src/utilities/variables/_font.scss +97 -0
- package/framework/src/utilities/variables/_index.scss +6 -0
- package/framework/src/utilities/variables/_responsiveness.scss +7 -0
- package/framework/src/utilities/variables/_shadow.scss +3 -0
- package/framework/src/utilities/variables/_zindex.scss +14 -0
- package/package.json +1 -1
- package/framework/src/components/_all.scss +0 -24
- package/framework/src/elements/_autocomplete.scss +0 -32
- package/framework/src/elements/_list.scss +0 -62
- package/framework/src/elements/_select.scss +0 -96
- package/framework/src/elements/_textarea.scss +0 -133
- package/framework/src/utilities/_mixins.scss +0 -643
- /package/framework/src/{elements → components}/_badge.scss +0 -0
- /package/framework/src/{elements → components}/_chips.scss +0 -0
- /package/framework/src/{elements → components}/_container.scss +0 -0
- /package/framework/src/{elements → components}/_icon.scss +0 -0
- /package/framework/src/{elements → components}/_image.scss +0 -0
- /package/framework/src/{elements → components}/_loader.scss +0 -0
- /package/framework/src/{elements → components/alert}/_alert.scss +0 -0
- /package/framework/src/{elements → components/input}/_input-gauge.scss +0 -0
- /package/framework/src/{components → elements}/_plus-symbol.scss +0 -0
|
@@ -32,10 +32,6 @@ a.box {
|
|
|
32
32
|
position: relative;
|
|
33
33
|
padding: var(--padding-box);
|
|
34
34
|
|
|
35
|
-
&:not(:last-child) {
|
|
36
|
-
margin-bottom: 15px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
35
|
&.is-active {
|
|
40
36
|
outline: var(--border-active);
|
|
41
37
|
}
|
|
@@ -88,7 +84,7 @@ a.box {
|
|
|
88
84
|
|
|
89
85
|
.box-header {
|
|
90
86
|
z-index: inherit;
|
|
91
|
-
background-color: getColor('
|
|
87
|
+
background-color: getColor('main');
|
|
92
88
|
color: getColor('background');
|
|
93
89
|
margin-top: calc(var(--padding-box) * -1);
|
|
94
90
|
margin-left: calc(var(--padding-box) * -1);
|
|
@@ -97,7 +93,6 @@ a.box {
|
|
|
97
93
|
padding-left: var(--padding-box);
|
|
98
94
|
padding-right: var(--padding-box);
|
|
99
95
|
box-shadow: none;
|
|
100
|
-
font-size: 15px;
|
|
101
96
|
display: flex;
|
|
102
97
|
justify-content: center;
|
|
103
98
|
flex-direction: column;
|
|
@@ -144,10 +139,6 @@ a.box {
|
|
|
144
139
|
border-bottom-right-radius: var(--radius);
|
|
145
140
|
}
|
|
146
141
|
|
|
147
|
-
@include mobile {
|
|
148
|
-
text-align: left;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
142
|
> .is-unboxed {
|
|
152
143
|
margin-left: calc(var(--padding-box) * -1);
|
|
153
144
|
margin-right: calc(var(--padding-box) * -1);
|
|
@@ -163,8 +154,15 @@ a.box {
|
|
|
163
154
|
margin-right: calc(var(--padding-box) * -1);
|
|
164
155
|
margin-bottom: calc(var(--padding-box) * -1);
|
|
165
156
|
padding: var(--padding-box);
|
|
166
|
-
border-top: 1px solid getColor('neutral-fade');
|
|
167
157
|
border-bottom-left-radius: var(--radius);
|
|
168
158
|
border-bottom-right-radius: var(--radius);
|
|
169
159
|
}
|
|
160
|
+
|
|
161
|
+
.box-footer:not(.is-borderless):not([class*="has-background"])::before {
|
|
162
|
+
content: '';
|
|
163
|
+
display: block;
|
|
164
|
+
border-top: var(--border);
|
|
165
|
+
position: relative;
|
|
166
|
+
top: calc(var(--padding-box) * -1);
|
|
167
|
+
}
|
|
170
168
|
}
|
|
@@ -4,47 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
ul,
|
|
6
6
|
ol {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
gap: $spacing-2;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
li {
|
|
14
|
-
display: inline;
|
|
15
13
|
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
font-weight: 500;
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
a {
|
|
28
|
-
color: getColor('font');
|
|
29
|
-
cursor: default;
|
|
30
|
-
pointer-events: none;
|
|
31
|
-
text-decoration: none;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
+ li a::before {
|
|
36
|
-
content: ">";
|
|
37
|
-
text-align: center;
|
|
38
|
-
padding-right: 0.5em;
|
|
39
|
-
text-decoration: none;
|
|
40
|
-
display: inline-block;
|
|
18
|
+
+ li::before {
|
|
19
|
+
content: "";
|
|
20
|
+
width: 18px;
|
|
21
|
+
height: 18px;
|
|
22
|
+
mask-image: url('./assets/icons/all/arrow-right.svg');
|
|
23
|
+
mask-position: center;
|
|
24
|
+
mask-repeat: no-repeat;
|
|
25
|
+
mask-size: cover;
|
|
26
|
+
background-color: #1b3650;
|
|
27
|
+
margin-right: $spacing-2;
|
|
41
28
|
}
|
|
42
29
|
}
|
|
43
30
|
|
|
44
31
|
a {
|
|
45
32
|
color: getColor('main');
|
|
46
|
-
|
|
47
|
-
text-decoration: underline;
|
|
33
|
+
text-decoration: underline 2px solid;
|
|
48
34
|
text-underline-offset: 4px;
|
|
49
35
|
}
|
|
50
36
|
}
|
|
@@ -53,19 +53,27 @@ $button-border-width: 2px !default;
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
&.is-ghost:hover {
|
|
56
|
+
&.is-ghost:hover:not([disabled]) {
|
|
57
57
|
background-color: var(--color-main-fade);
|
|
58
58
|
filter: none !important;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&[disabled],
|
|
62
62
|
&[aria-disabled=true] {
|
|
63
|
-
|
|
64
|
-
color:
|
|
63
|
+
border-color: transparent !important;
|
|
64
|
+
background-color: getColor('main-fade') !important;
|
|
65
|
+
color: getColor('disabled') !important
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[aria-disabled=true] {
|
|
69
|
+
pointer-events: none;
|
|
65
70
|
}
|
|
66
71
|
|
|
67
72
|
&.is-loading {
|
|
68
|
-
background-color:
|
|
73
|
+
background-color: getColor('neutral');
|
|
74
|
+
&::after {
|
|
75
|
+
@include spinner('neutral-fade');
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
$basis-values: (
|
|
2
|
+
'is-1': 70%,
|
|
3
|
+
'is-2': 60%,
|
|
4
|
+
'is-3': 50%,
|
|
5
|
+
'is-4': 40%
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
.card {
|
|
2
10
|
max-width: 100%;
|
|
3
11
|
display: flex;
|
|
@@ -8,8 +16,13 @@
|
|
|
8
16
|
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
|
|
9
17
|
background-color: getColor('background');
|
|
10
18
|
|
|
11
|
-
&:not(
|
|
12
|
-
|
|
19
|
+
&:not(.is-reversed) .card-image {
|
|
20
|
+
order: 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
&:not(.is-reversed) .card-content {
|
|
25
|
+
order: 2;
|
|
13
26
|
}
|
|
14
27
|
|
|
15
28
|
.card-image {
|
|
@@ -47,7 +60,7 @@
|
|
|
47
60
|
|
|
48
61
|
&.is-strong {
|
|
49
62
|
.title {
|
|
50
|
-
font-family: $family-
|
|
63
|
+
font-family: $family-secondary;
|
|
51
64
|
font-size: 24px !important;
|
|
52
65
|
}
|
|
53
66
|
}
|
|
@@ -94,6 +107,12 @@
|
|
|
94
107
|
}
|
|
95
108
|
}
|
|
96
109
|
|
|
110
|
+
@for $i from 1 through 4 {
|
|
111
|
+
&:has(.card-content + .card-image.is-#{$i}) .card-content {
|
|
112
|
+
flex-basis: map-get($basis-values, 'is-#{$i}');
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
97
116
|
.card-image {
|
|
98
117
|
max-width: 100%;
|
|
99
118
|
|
|
@@ -215,13 +234,11 @@
|
|
|
215
234
|
&.is-inverted,
|
|
216
235
|
&.is-reversed {
|
|
217
236
|
.card-image {
|
|
218
|
-
order:
|
|
237
|
+
order: 2;
|
|
219
238
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
order: 1;
|
|
224
|
-
}
|
|
239
|
+
|
|
240
|
+
.card-content {
|
|
241
|
+
order: 1;
|
|
225
242
|
}
|
|
226
243
|
}
|
|
227
244
|
}
|
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
@include checkbox-and-radio('checkbox');
|
|
2
2
|
|
|
3
|
+
.checkboxes {
|
|
4
|
+
width: 100%;
|
|
5
|
+
column-gap: $spacing-5;
|
|
6
|
+
row-gap: $spacing-3;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-wrap: wrap;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
|
|
11
|
+
@include tablet {
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
|
|
14
|
+
&.is-vertical-desktop {
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include mobile {
|
|
20
|
+
&.is-horizontal-mobile {
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-centered,
|
|
26
|
+
&.has-text-centered,
|
|
27
|
+
.has-text-centered & {
|
|
28
|
+
justify-content: center;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
3
32
|
.checkbox,
|
|
4
33
|
.checkbox-tile {
|
|
5
34
|
input:checked ~ label.checkbox-label {
|
|
@@ -27,7 +56,7 @@
|
|
|
27
56
|
input:checked ~ label.checkbox-label {
|
|
28
57
|
&:after {
|
|
29
58
|
top: 15px;
|
|
30
|
-
|
|
59
|
+
left: 15px;
|
|
31
60
|
}
|
|
32
61
|
}
|
|
33
62
|
}
|
|
@@ -10,4 +10,20 @@
|
|
|
10
10
|
padding: 0 $spacing-4;
|
|
11
11
|
background-color: invertColor('neutral');
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
&:not(.is-marginless) {
|
|
15
|
+
margin: $spacing-5 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@include mobile {
|
|
19
|
+
&:not(.is-marginless) {
|
|
20
|
+
margin: $spacing-4 0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
13
23
|
}
|
|
24
|
+
|
|
25
|
+
*:has(+ .divider) {
|
|
26
|
+
margin-top: 0 !important;
|
|
27
|
+
margin-bottom: 0 !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
.flex-box {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 8px;
|
|
6
|
+
--ColumnGap: 8px;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: flex-start;
|
|
9
|
+
|
|
10
|
+
// DIRECTION
|
|
11
|
+
&.is-direction-column {
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.is-direction-row {
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include desktop {
|
|
20
|
+
&.is-direction-row-desktop {
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.is-direction-column-desktop {
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include tablet {
|
|
30
|
+
&.is-direction-row-tablet {
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.is-direction-column-tablet {
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include mobile {
|
|
40
|
+
&:has(>.flex-item):not([class*='is-direction']) {
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.is-direction-row-mobile {
|
|
45
|
+
flex-direction: row;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.is-direction-column-mobile {
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.is-scrollable {
|
|
54
|
+
overflow: auto;
|
|
55
|
+
width: calc(100% + 48px) !important;
|
|
56
|
+
margin: -24px auto -24px 50% !important;
|
|
57
|
+
transform: translate(-50%);
|
|
58
|
+
padding: 24px;
|
|
59
|
+
scroll-padding: 24px;
|
|
60
|
+
scroll-behavior: smooth;
|
|
61
|
+
scroll-snap-type: x mandatory;
|
|
62
|
+
|
|
63
|
+
@include mobile {
|
|
64
|
+
width: calc(100% + 32px) !important;
|
|
65
|
+
margin: -16px auto -16px 50% !important;
|
|
66
|
+
padding: 16px;
|
|
67
|
+
scroll-padding: 16px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:not(:last-child) {
|
|
71
|
+
margin-bottom: auto !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.flex-item {
|
|
75
|
+
scroll-snap-align: center;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// GAP
|
|
81
|
+
$gap: 4px, 8px, 12px, 16px, 24px, 32px, 40px, 48px, 54px, 62px;
|
|
82
|
+
|
|
83
|
+
@for $i from 1 through length($gap) {
|
|
84
|
+
$item: nth($gap, $i);
|
|
85
|
+
&.is-mobile.has-gap-#{$i} {
|
|
86
|
+
gap: $item;
|
|
87
|
+
|
|
88
|
+
> .flex-item {
|
|
89
|
+
--ColumnGap: #{$item};
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@include tablet {
|
|
94
|
+
&.has-gap-#{$i}:not(.is-desktop) {
|
|
95
|
+
gap: $item;
|
|
96
|
+
|
|
97
|
+
> .flex-item {
|
|
98
|
+
--ColumnGap: #{$item};
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@include desktop {
|
|
104
|
+
&.has-gap-#{$i},
|
|
105
|
+
&.has-gap-#{$i}-desktop {
|
|
106
|
+
gap: $item;
|
|
107
|
+
|
|
108
|
+
> .flex-item {
|
|
109
|
+
--ColumnGap: #{$item};
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@include widescreen {
|
|
115
|
+
&.has-gap-#{$i}-widescreen {
|
|
116
|
+
gap: $item;
|
|
117
|
+
|
|
118
|
+
> .flex-item {
|
|
119
|
+
--ColumnGap: #{$item};
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@include fullhd {
|
|
125
|
+
&.has-gap-#{$i}-fullhd {
|
|
126
|
+
gap: $item;
|
|
127
|
+
|
|
128
|
+
> .flex-item {
|
|
129
|
+
--ColumnGap: #{$item};
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.is-gapless {
|
|
136
|
+
gap: 0;
|
|
137
|
+
|
|
138
|
+
> .flex-item {
|
|
139
|
+
--ColumnGap: 1px;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
$itemWidth: calc((100% / (var(--ColumnFraction))) - ((((var(--ColumnFraction)) - 1) / (var(--ColumnFraction))) * var(--ColumnGap)));
|
|
144
|
+
$itemSize: (
|
|
145
|
+
"1" : math.div(12, 1),
|
|
146
|
+
"2" : math.div(12, 2),
|
|
147
|
+
"3" : math.div(12, 3),
|
|
148
|
+
"4" : math.div(12, 4),
|
|
149
|
+
"5" : math.div(12, 5),
|
|
150
|
+
"6" : math.div(12, 6),
|
|
151
|
+
"7" : math.div(12, 7),
|
|
152
|
+
"8" : math.div(12, 8),
|
|
153
|
+
"9" : math.div(12, 9),
|
|
154
|
+
"10" : math.div(12, 10),
|
|
155
|
+
"11" : math.div(12, 11),
|
|
156
|
+
"12" : math.div(12, 12),
|
|
157
|
+
"full" : math.div(12, 12),
|
|
158
|
+
"half" : math.div(12, 6)
|
|
159
|
+
);
|
|
160
|
+
|
|
161
|
+
// SIZE
|
|
162
|
+
.flex-item {
|
|
163
|
+
width: 100%;
|
|
164
|
+
|
|
165
|
+
&.is-narrow {
|
|
166
|
+
width: auto;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&[class*="is-"]:not(.is-narrow) {
|
|
170
|
+
width: #{$itemWidth};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:not(.is-narrow) {
|
|
174
|
+
@include mobile {
|
|
175
|
+
--ColumnFraction: 1;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
@each $key, $value in $itemSize {
|
|
181
|
+
.flex-item.is-#{$key} {
|
|
182
|
+
flex: none;
|
|
183
|
+
--ColumnFraction: #{$value};
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
@include mobile {
|
|
188
|
+
@each $key, $value in $itemSize {
|
|
189
|
+
.flex-item.is-#{$key}-mobile {
|
|
190
|
+
flex: none;
|
|
191
|
+
--ColumnFraction: #{$value};
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@include tablet {
|
|
197
|
+
@each $key, $value in $itemSize {
|
|
198
|
+
.flex-item.is-#{$key}-tablet {
|
|
199
|
+
flex: none;
|
|
200
|
+
--ColumnFraction: #{$value};
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@include touch {
|
|
206
|
+
@each $key, $value in $itemSize {
|
|
207
|
+
.flex-item.is-#{$key}-touch {
|
|
208
|
+
flex: none;
|
|
209
|
+
--ColumnFraction: #{$value};
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@include desktop {
|
|
215
|
+
@each $key, $value in $itemSize {
|
|
216
|
+
.flex-item.is-#{$key}-desktop {
|
|
217
|
+
flex: none;
|
|
218
|
+
--ColumnFraction: #{$value};
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
@include widescreen {
|
|
224
|
+
@each $key, $value in $itemSize {
|
|
225
|
+
.flex-item.is-#{$key}-widescreen {
|
|
226
|
+
flex: none;
|
|
227
|
+
--ColumnFraction: #{$value};
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@include fullhd {
|
|
233
|
+
@each $key, $value in $itemSize {
|
|
234
|
+
.flex-item.is-#{$key}-fullhd {
|
|
235
|
+
flex: none;
|
|
236
|
+
--ColumnFraction: #{$value};
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
@@ -1,32 +1,47 @@
|
|
|
1
1
|
@charset "utf-8";
|
|
2
2
|
@import '../utilities/spacing';
|
|
3
3
|
|
|
4
|
+
@import 'accordion';
|
|
4
5
|
@import 'alert';
|
|
5
6
|
@import 'autocomplete';
|
|
7
|
+
@import 'autolayout';
|
|
6
8
|
@import 'badge';
|
|
7
9
|
@import 'box';
|
|
10
|
+
@import 'breadcrumb';
|
|
8
11
|
@import 'button';
|
|
9
|
-
@import '
|
|
12
|
+
@import 'card';
|
|
10
13
|
@import 'checkbox';
|
|
14
|
+
@import 'chips';
|
|
11
15
|
@import 'container';
|
|
12
|
-
@import '
|
|
13
|
-
@import '
|
|
16
|
+
@import 'countdown';
|
|
17
|
+
@import 'divider';
|
|
18
|
+
@import 'fab';
|
|
19
|
+
@import 'flex-box';
|
|
14
20
|
@import 'icon';
|
|
15
21
|
@import 'image';
|
|
16
|
-
@import '
|
|
22
|
+
@import 'input';
|
|
17
23
|
@import 'link';
|
|
18
24
|
@import 'list';
|
|
19
|
-
@import '
|
|
25
|
+
@import 'loader';
|
|
26
|
+
@import 'modal';
|
|
27
|
+
@import 'otp';
|
|
28
|
+
@import 'pagination';
|
|
29
|
+
@import 'popover';
|
|
30
|
+
@import 'price';
|
|
31
|
+
@import 'product-tour';
|
|
20
32
|
@import 'progress';
|
|
21
|
-
@import 'paragraph';
|
|
22
33
|
@import 'radio';
|
|
34
|
+
@import 'range';
|
|
35
|
+
@import 'scroll-view';
|
|
36
|
+
@import 'segmented-control';
|
|
37
|
+
@import 'select';
|
|
38
|
+
@import 'stepper';
|
|
39
|
+
@import 'sticker';
|
|
23
40
|
@import 'switch';
|
|
24
41
|
@import 'table';
|
|
42
|
+
@import 'tabs';
|
|
25
43
|
@import 'tag';
|
|
26
|
-
@import '
|
|
27
|
-
@import 'other';
|
|
28
|
-
@import 'select';
|
|
29
|
-
@import 'sticker';
|
|
44
|
+
@import 'text';
|
|
30
45
|
@import 'textarea';
|
|
31
|
-
@import '
|
|
32
|
-
@import '
|
|
46
|
+
@import 'timeline';
|
|
47
|
+
@import 'title';
|
|
@@ -11,18 +11,23 @@
|
|
|
11
11
|
font-weight: $weight-normal;
|
|
12
12
|
color: getColor($link-colors);
|
|
13
13
|
box-decoration-break: clone;
|
|
14
|
-
text-decoration: underline
|
|
14
|
+
text-decoration: underline;
|
|
15
|
+
text-decoration-thickness : 2px;
|
|
15
16
|
text-underline-offset: 4px;
|
|
16
17
|
cursor: pointer;
|
|
17
18
|
|
|
18
19
|
&.has-icon {
|
|
19
|
-
display: inline-
|
|
20
|
+
display: inline-block;
|
|
20
21
|
align-items: center;
|
|
21
22
|
|
|
22
23
|
&::after {
|
|
23
24
|
width: calc(100% - 48px);
|
|
24
25
|
bottom: 5.5px;
|
|
25
26
|
}
|
|
27
|
+
|
|
28
|
+
.icon {
|
|
29
|
+
vertical-align: middle;
|
|
30
|
+
}
|
|
26
31
|
}
|
|
27
32
|
|
|
28
33
|
&.is-inverted {
|
|
@@ -44,7 +49,8 @@
|
|
|
44
49
|
|
|
45
50
|
.text .link:not([disabled]) {
|
|
46
51
|
text-underline-offset: 2px;
|
|
47
|
-
text-decoration: underline
|
|
52
|
+
text-decoration: underline;
|
|
53
|
+
text-decoration-thickness : 1px;
|
|
48
54
|
&:hover {
|
|
49
55
|
font-weight: $weight-normal;
|
|
50
56
|
filter: brightness(0.8);
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// Bullet list classiques
|
|
2
|
+
ol.list {
|
|
3
|
+
counter-reset: customCounter;
|
|
4
|
+
|
|
5
|
+
& > li.list-item {
|
|
6
|
+
counter-increment: customCounter;
|
|
7
|
+
&:not(:has(.icon)) {
|
|
8
|
+
&::before{
|
|
9
|
+
content: counter(customCounter) ". ";
|
|
10
|
+
margin-right:$spacing-4;
|
|
11
|
+
font-weight: $weight-bold;
|
|
12
|
+
font-size: $text-14 !important;
|
|
13
|
+
font-family: $family-secondary;
|
|
14
|
+
line-height: 1.5 !important;
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
ul.list {
|
|
22
|
+
li.list-item {
|
|
23
|
+
&:not(:has(.icon)) {
|
|
24
|
+
&::before{
|
|
25
|
+
content:'.';
|
|
26
|
+
margin-right:$spacing-4;
|
|
27
|
+
font-weight: 900;
|
|
28
|
+
font-size: $text-24;
|
|
29
|
+
line-height: 8px;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
ul.list,
|
|
36
|
+
ol.list {
|
|
37
|
+
display: grid;
|
|
38
|
+
row-gap: $spacing-3;
|
|
39
|
+
|
|
40
|
+
li.list-item {
|
|
41
|
+
display: flex;
|
|
42
|
+
&:has(.icon) {
|
|
43
|
+
list-style: none;
|
|
44
|
+
display: flex;
|
|
45
|
+
}
|
|
46
|
+
.icon {
|
|
47
|
+
margin-right: $spacing-2;
|
|
48
|
+
justify-content: flex-start;
|
|
49
|
+
align-items: flex-start;
|
|
50
|
+
}
|
|
51
|
+
.list-item-content {
|
|
52
|
+
flex: 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.has-divider {
|
|
57
|
+
li {
|
|
58
|
+
border-bottom: var(--border);
|
|
59
|
+
padding-bottom: $spacing-3;
|
|
60
|
+
&:last-child {
|
|
61
|
+
border-bottom: none;
|
|
62
|
+
padding-bottom: 0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|