@trilogy-ds/styles 0.0.4-beta-v4 → 0.0.4-calendar
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 +139 -109
- package/framework/src/{elements → components}/_badge.scss +1 -1
- package/framework/src/{elements → components}/_box.scss +9 -11
- package/framework/src/components/_breadcrumb.scss +17 -31
- package/framework/src/{elements → components}/_button.scss +16 -3
- package/framework/src/components/_calendar.scss +128 -0
- 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 +457 -0
- package/framework/src/components/_index.scss +48 -0
- 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 +13 -8
- 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 +18 -12
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/{elements → components/input}/_input-gauge.scss +8 -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 +33 -11
- package/framework/src/layout/_hero.scss +4 -0
- package/framework/src/layout/_section.scss +5 -0
- package/framework/src/theming/buttons_partial.scss +1 -1
- 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} +45 -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/_all.scss +0 -32
- 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 -635
- /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/{components → elements}/_plus-symbol.scss +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.textarea-wrapper {
|
|
2
|
+
|
|
3
|
+
.textarea-label {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
margin-bottom: 6px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.textarea-sample {
|
|
9
|
+
margin-bottom: 10px !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
textarea.textarea {
|
|
13
|
+
&::placeholder, label {
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.icon {
|
|
19
|
+
align-items: flex-start !important;
|
|
20
|
+
padding-top: 18px !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Colors
|
|
24
|
+
@each $name, $pair in $colors-brand-functionnal {
|
|
25
|
+
$color: getColor($name);
|
|
26
|
+
$color-invert: invertColor($name);
|
|
27
|
+
$brandName: getColorBrandName($name);
|
|
28
|
+
&.is-#{$brandName} {
|
|
29
|
+
textarea.textarea {
|
|
30
|
+
border-color: $color;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.counter {
|
|
37
|
+
position: absolute;
|
|
38
|
+
bottom: $spacing-2;
|
|
39
|
+
right: $spacing-4;
|
|
40
|
+
font-size: 10px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.help ~ .counter {
|
|
44
|
+
bottom: $spacing-6;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -140,7 +140,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
|
140
140
|
.heading {
|
|
141
141
|
font-size: $text-12;
|
|
142
142
|
color: getColor('font');
|
|
143
|
-
font-family: $family-
|
|
143
|
+
font-family: $family-primary;
|
|
144
144
|
text-transform: none;
|
|
145
145
|
letter-spacing: 0;
|
|
146
146
|
line-height: 15px;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
2
|
|
|
3
3
|
$title-weight: $weight-semibold;
|
|
4
|
+
$title-high-weight: 550;
|
|
4
5
|
$title-line-height: 1.1;
|
|
5
6
|
$title-strong-color: inherit;
|
|
6
7
|
$title-strong-weight: inherit;
|
|
@@ -62,6 +63,15 @@ $title-levels-mobile: (
|
|
|
62
63
|
$line-height: nth($title-level, 2);
|
|
63
64
|
$font-family: nth($title-level, 3);
|
|
64
65
|
|
|
66
|
+
// Avoid Safari font weight issues
|
|
67
|
+
&.is-level-1 {
|
|
68
|
+
font-weight: $title-high-weight;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.is-level-2 {
|
|
72
|
+
font-weight: $title-high-weight;
|
|
73
|
+
}
|
|
74
|
+
|
|
65
75
|
&.is-level-#{$i} {
|
|
66
76
|
font-size: $font-size;
|
|
67
77
|
line-height: $line-height;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
.input, .textarea {
|
|
2
|
+
&:not(:disabled) {
|
|
3
|
+
&:active,
|
|
4
|
+
&:focus,
|
|
5
|
+
&:focus-visible:not(.icon) {
|
|
6
|
+
padding-left: 15px ;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
1
11
|
.input,
|
|
2
12
|
.textarea {
|
|
3
13
|
@include input;
|
|
@@ -19,12 +29,6 @@
|
|
|
19
29
|
}
|
|
20
30
|
}
|
|
21
31
|
|
|
22
|
-
&:active,
|
|
23
|
-
&:focus,
|
|
24
|
-
&:focus-visible:not(.icon) {
|
|
25
|
-
padding-left: 15px !important;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
32
|
// Sizes
|
|
29
33
|
&.is-small {
|
|
30
34
|
@include control-small;
|
|
@@ -43,10 +47,6 @@
|
|
|
43
47
|
display: inline;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
|
-
.icon-status {
|
|
47
|
-
color: aqua !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
50
|
& label {
|
|
51
51
|
margin-top: 10px;
|
|
52
52
|
}
|
|
@@ -72,6 +72,39 @@
|
|
|
72
72
|
padding-left: 0;
|
|
73
73
|
padding-right: 0;
|
|
74
74
|
}
|
|
75
|
+
|
|
76
|
+
&::-webkit-search-cancel-button{
|
|
77
|
+
$colorSvg: encodecolor(getColorValue('main'));
|
|
78
|
+
position:absolute;
|
|
79
|
+
right: 0px;
|
|
80
|
+
bottom : 0px;
|
|
81
|
+
top:0px;
|
|
82
|
+
padding: 0 24px;
|
|
83
|
+
opacity: 1;
|
|
84
|
+
display: block;
|
|
85
|
+
background-image: url('data:image/svg+xml; utf8, <svg viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="#{$colorSvg}" stroke-linecap="round" stroke-width="3.2" fill="none"><path d="M12.6 12.6L31.4 31.4M12.6 31.4L31.4 12.6"/></svg>');
|
|
86
|
+
background-size : 20px;
|
|
87
|
+
-webkit-appearance: none;
|
|
88
|
+
background-repeat: no-repeat;
|
|
89
|
+
background-color: getColor('background') ;
|
|
90
|
+
background-position: center;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&[type="search"] {
|
|
94
|
+
padding-right: 45px;
|
|
95
|
+
&:hover:not(:focus){
|
|
96
|
+
&::-webkit-search-cancel-button {
|
|
97
|
+
background-color: getColor('main-fade');
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
&:focus{
|
|
101
|
+
&::-webkit-search-cancel-button {
|
|
102
|
+
padding: 0 23px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
|
|
75
108
|
}
|
|
76
109
|
|
|
77
110
|
.textarea {
|
|
@@ -94,4 +127,9 @@
|
|
|
94
127
|
&.has-fixed-size {
|
|
95
128
|
resize: none;
|
|
96
129
|
}
|
|
130
|
+
|
|
131
|
+
&:focus-visible{
|
|
132
|
+
padding-top: 14px;
|
|
133
|
+
padding-bottom: 4px;
|
|
134
|
+
}
|
|
97
135
|
}
|
|
@@ -13,7 +13,8 @@ $label-weight: $weight-bold;
|
|
|
13
13
|
|
|
14
14
|
.input-label {
|
|
15
15
|
display: inline-block;
|
|
16
|
-
margin-bottom:
|
|
16
|
+
margin-bottom: 8px;
|
|
17
|
+
font-weight: 500;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
.input-sample {
|
|
@@ -247,6 +248,7 @@ $label-weight: $weight-bold;
|
|
|
247
248
|
|
|
248
249
|
&.has-icons-left {
|
|
249
250
|
.input,
|
|
251
|
+
.textarea,
|
|
250
252
|
.select select {
|
|
251
253
|
padding-left: 45px;
|
|
252
254
|
}
|
|
@@ -258,13 +260,6 @@ $label-weight: $weight-bold;
|
|
|
258
260
|
padding: 0 24px;
|
|
259
261
|
}
|
|
260
262
|
|
|
261
|
-
.textarea {
|
|
262
|
-
padding-left: 50px;
|
|
263
|
-
padding-right: $spacing-4;
|
|
264
|
-
padding-bottom: $spacing-4 !important;
|
|
265
|
-
padding-top: $spacing-4;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
263
|
& .textarea + label {
|
|
269
264
|
left: 5rem;
|
|
270
265
|
}
|
|
@@ -280,7 +275,7 @@ $label-weight: $weight-bold;
|
|
|
280
275
|
position: absolute;
|
|
281
276
|
bottom: 5px;
|
|
282
277
|
right: 16px;
|
|
283
|
-
font-size: $
|
|
278
|
+
font-size: $text-10;
|
|
284
279
|
}
|
|
285
280
|
|
|
286
281
|
.is-error ~ .textarea-counter {
|
|
@@ -290,6 +285,7 @@ $label-weight: $weight-bold;
|
|
|
290
285
|
|
|
291
286
|
&.has-icons-right {
|
|
292
287
|
.input,
|
|
288
|
+
.textarea,
|
|
293
289
|
.select select {
|
|
294
290
|
padding-right: 45px;
|
|
295
291
|
}
|
|
@@ -420,14 +416,14 @@ $label-weight: $weight-bold;
|
|
|
420
416
|
width: 45px;
|
|
421
417
|
|
|
422
418
|
&::after {
|
|
423
|
-
@include spinner;
|
|
419
|
+
@include spinner();
|
|
424
420
|
@include center(1em);
|
|
425
421
|
}
|
|
426
422
|
}
|
|
427
423
|
|
|
428
424
|
&.is-loading {
|
|
429
425
|
&::after {
|
|
430
|
-
@include spinner;
|
|
426
|
+
@include spinner();
|
|
431
427
|
|
|
432
428
|
position: absolute !important;
|
|
433
429
|
right: 0.625em;
|
|
@@ -444,8 +440,11 @@ $label-weight: $weight-bold;
|
|
|
444
440
|
}
|
|
445
441
|
}
|
|
446
442
|
|
|
447
|
-
&:has(input[disabled]) {
|
|
443
|
+
&:has(input[disabled]), &:has(select[disabled]), &:has(textarea[disabled]) {
|
|
448
444
|
@include disabledRulesWithoutBG;
|
|
445
|
+
.icon {
|
|
446
|
+
color: getColor('disabled');
|
|
447
|
+
}
|
|
449
448
|
}
|
|
450
449
|
}
|
|
451
450
|
|
|
@@ -594,3 +593,10 @@ $label-weight: $weight-bold;
|
|
|
594
593
|
}
|
|
595
594
|
}
|
|
596
595
|
}
|
|
596
|
+
|
|
597
|
+
.group-label {
|
|
598
|
+
display: inline-block;
|
|
599
|
+
margin-bottom: 8px !important;
|
|
600
|
+
font-weight: 500;
|
|
601
|
+
line-height: 20px;
|
|
602
|
+
}
|
|
@@ -18,11 +18,19 @@
|
|
|
18
18
|
display: flex;
|
|
19
19
|
justify-content: space-between;
|
|
20
20
|
align-items: center;
|
|
21
|
+
flex-wrap: wrap;
|
|
21
22
|
|
|
22
23
|
.security {
|
|
23
24
|
display: flex;
|
|
24
25
|
align-items: center;
|
|
25
26
|
margin-bottom: 4px;
|
|
27
|
+
flex-basis: 50%;
|
|
28
|
+
flex-shrink: 1;
|
|
29
|
+
flex-grow: 0;
|
|
30
|
+
|
|
31
|
+
&:nth-child(even) {
|
|
32
|
+
justify-content: flex-end;
|
|
33
|
+
}
|
|
26
34
|
|
|
27
35
|
.icon {
|
|
28
36
|
position: relative;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.field {
|
|
2
2
|
|
|
3
3
|
.has-icons-left {
|
|
4
|
-
input {
|
|
4
|
+
input, textarea {
|
|
5
5
|
padding-left: 45px;
|
|
6
6
|
|
|
7
7
|
&:active,
|
|
@@ -27,17 +27,29 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
.has-icons-right {
|
|
30
|
-
.icon-right {
|
|
30
|
+
.icon-right, button[data-show-pwd]{
|
|
31
31
|
position: absolute;
|
|
32
32
|
height: 100%;
|
|
33
33
|
width: 45px;
|
|
34
34
|
z-index: 10;
|
|
35
35
|
right: 0;
|
|
36
36
|
left: auto;
|
|
37
|
+
top:0;
|
|
37
38
|
|
|
38
39
|
i {
|
|
39
40
|
font-size: 20px;
|
|
40
41
|
}
|
|
41
42
|
}
|
|
43
|
+
|
|
44
|
+
button[data-show-pwd]{
|
|
45
|
+
background-color: transparent;
|
|
46
|
+
border:none;
|
|
47
|
+
border-top-right-radius: $radius-small ;
|
|
48
|
+
border-bottom-right-radius: $radius-small ;
|
|
49
|
+
&:focus-visible{
|
|
50
|
+
outline: var(--border-active);
|
|
51
|
+
outline-offset: -2px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
42
54
|
}
|
|
43
55
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.progress-radial {
|
|
2
2
|
background: radial-gradient(white 58%, transparent 51%),
|
|
3
|
-
conic-gradient(
|
|
3
|
+
conic-gradient(getColor('main-fade') 0deg 360deg, getColor('main-fade') 0deg 360deg);
|
|
4
4
|
border-radius: 50%;
|
|
5
5
|
width: 124px;
|
|
6
6
|
height: 124px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
|
|
3
|
-
@import "
|
|
3
|
+
@import "../../base/color";
|
|
4
4
|
|
|
5
5
|
$progressbar-height: 10px;
|
|
6
6
|
$progressbar-small: 5px;
|
|
@@ -18,7 +18,7 @@ $progressbar-small: 5px;
|
|
|
18
18
|
-moz-appearance: none;
|
|
19
19
|
-webkit-appearance: none;
|
|
20
20
|
|
|
21
|
-
background-color: getColor('
|
|
21
|
+
background-color: getColor('main-fade');
|
|
22
22
|
|
|
23
23
|
&::-webkit-progress-bar {
|
|
24
24
|
background-color: getColor('main-fade');
|
|
@@ -98,7 +98,7 @@ $progress-circle-slices: (
|
|
|
98
98
|
secondary: getColor('info'),
|
|
99
99
|
tertiary: getColor('font'),
|
|
100
100
|
warning: getColor('warning'),
|
|
101
|
-
empty: getColor('
|
|
101
|
+
empty: getColor('main-fade')
|
|
102
102
|
);
|
|
103
103
|
|
|
104
104
|
.progress-circle {
|
|
@@ -272,6 +272,18 @@ $gap: 4px,
|
|
|
272
272
|
&.is-narrow-tablet {
|
|
273
273
|
flex: none;
|
|
274
274
|
}
|
|
275
|
+
|
|
276
|
+
&.is-aligned-start {
|
|
277
|
+
align-self: start !important;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
&.is-aligned-center {
|
|
281
|
+
align-self: center !important;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&.is-aligned-end {
|
|
285
|
+
align-self: end !important;
|
|
286
|
+
}
|
|
275
287
|
}
|
|
276
288
|
|
|
277
289
|
@include touch {
|
|
@@ -316,7 +328,7 @@ $gap: 4px,
|
|
|
316
328
|
scroll-padding: 8px;
|
|
317
329
|
|
|
318
330
|
> .column {
|
|
319
|
-
scroll-snap-align:
|
|
331
|
+
scroll-snap-align: center;
|
|
320
332
|
|
|
321
333
|
&:last-child {
|
|
322
334
|
scroll-snap-align: end;
|
|
@@ -382,8 +394,22 @@ $gap: 4px,
|
|
|
382
394
|
}
|
|
383
395
|
}
|
|
384
396
|
|
|
385
|
-
.column
|
|
386
|
-
|
|
397
|
+
.column {
|
|
398
|
+
&.is-narrow {
|
|
399
|
+
flex: none;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
&.is-aligned-start {
|
|
403
|
+
align-self: start !important;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
&.is-aligned-center {
|
|
407
|
+
align-self: center !important;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
&.is-aligned-end {
|
|
411
|
+
align-self: end !important;
|
|
412
|
+
}
|
|
387
413
|
}
|
|
388
414
|
}
|
|
389
415
|
|
|
@@ -395,10 +421,6 @@ $gap: 4px,
|
|
|
395
421
|
align-items: center;
|
|
396
422
|
}
|
|
397
423
|
|
|
398
|
-
&.is-fullheight {
|
|
399
|
-
height: calc(100% + #{$column-gap-tablet-desktop * 2});
|
|
400
|
-
}
|
|
401
|
-
|
|
402
424
|
&.is-inverted-mobile {
|
|
403
425
|
@include mobile {
|
|
404
426
|
flex-direction: column-reverse;
|
|
@@ -428,11 +450,11 @@ $gap: 4px,
|
|
|
428
450
|
padding: 24px;
|
|
429
451
|
}
|
|
430
452
|
&.is-fullbleed {
|
|
431
|
-
scroll-padding:
|
|
453
|
+
scroll-padding: 16px;
|
|
432
454
|
}
|
|
433
|
-
&.is-fullbleed.is-scrollable .column {
|
|
434
|
-
scroll-snap-align:
|
|
435
|
-
scroll-padding:
|
|
455
|
+
&.is-fullbleed.is-scrollable > .column {
|
|
456
|
+
scroll-snap-align: center;
|
|
457
|
+
scroll-padding: 16px;
|
|
436
458
|
}
|
|
437
459
|
.scroll-view {
|
|
438
460
|
overflow: inherit;
|
|
@@ -10,7 +10,7 @@ $button-colors: (
|
|
|
10
10
|
'accent':['conversion', 'accent', 'background'],
|
|
11
11
|
'primary': ['primary', 'main', 'background'],
|
|
12
12
|
'secondary': ['secondary', 'main-fade', 'main'],
|
|
13
|
-
'ghost': ['ghost', '
|
|
13
|
+
'ghost': ['ghost', 'transparent', 'main']
|
|
14
14
|
) !default;
|
|
15
15
|
|
|
16
16
|
%buttons-states {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
@import "utilities/all";
|
|
4
4
|
|
|
5
|
-
/* All Base Without
|
|
5
|
+
/* All Base Without elements */
|
|
6
6
|
@import "base/fonts";
|
|
7
7
|
@import "base/helpers";
|
|
8
8
|
@import "base/loading";
|
|
9
9
|
@import "base/elements";
|
|
10
10
|
|
|
11
|
-
@import "elements
|
|
12
|
-
@import "components
|
|
11
|
+
@import "elements";
|
|
12
|
+
@import "components";
|
|
13
13
|
@import "grid/all";
|
|
14
14
|
@import "layout/all";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.is-inverted {
|
|
6
|
-
.box, .section, .
|
|
6
|
+
.box, .section, .view, .hero {
|
|
7
7
|
&:not(.is-inverted) {
|
|
8
8
|
color: getColor('font');
|
|
9
9
|
}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
|
|
13
13
|
.has-background {
|
|
14
14
|
background-repeat: no-repeat;
|
|
15
|
+
background-size: cover;
|
|
16
|
+
background-position: center;
|
|
15
17
|
|
|
16
18
|
.box-content {
|
|
17
19
|
background-color: transparent;
|
|
@@ -1,93 +1 @@
|
|
|
1
1
|
@import './initial-variables';
|
|
2
|
-
|
|
3
|
-
// Typography
|
|
4
|
-
$family-primary: $family-sans-serif !default;
|
|
5
|
-
$family-secondary: $family-serif !default;
|
|
6
|
-
$family-code: $family-monospace !default;
|
|
7
|
-
|
|
8
|
-
$size-xsmall: $text-10 !default;
|
|
9
|
-
$size-small: $text-13 !default;
|
|
10
|
-
$size-normal: $text-16 !default;
|
|
11
|
-
$size-medium: $text-16 !default;
|
|
12
|
-
$size-large: $text-24 !default;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// Brand Color
|
|
16
|
-
$colors-brand: (
|
|
17
|
-
'background', 'main', 'accent'
|
|
18
|
-
);
|
|
19
|
-
|
|
20
|
-
// Brand Color Functionnal
|
|
21
|
-
$colors-brand-functionnal: (
|
|
22
|
-
'background', 'main', 'accent', 'info', 'success', 'error', 'warning', 'neutral'
|
|
23
|
-
);
|
|
24
|
-
|
|
25
|
-
$colors-feedback: (
|
|
26
|
-
'success', 'error', 'warning', 'info'
|
|
27
|
-
);
|
|
28
|
-
|
|
29
|
-
// Gestion des z-index
|
|
30
|
-
$zindex: (
|
|
31
|
-
subzero: -1,
|
|
32
|
-
void: 0,
|
|
33
|
-
tiny: 1,
|
|
34
|
-
small: 10,
|
|
35
|
-
medium: 100,
|
|
36
|
-
large: 1000,
|
|
37
|
-
dropdown: 5000,
|
|
38
|
-
sticky: 6000,
|
|
39
|
-
fixed: 7000,
|
|
40
|
-
modal: 8000,
|
|
41
|
-
popover: 9000,
|
|
42
|
-
tooltip: 9999,
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
// Gestion des tailles de police
|
|
46
|
-
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 $size-8;
|
|
47
|
-
$sizes-desktop: $size-1-desktop $size-2-desktop $size-3-desktop $size-4-desktop $size-5-desktop $size-6-desktop $size-7-desktop $size-8-desktop;
|
|
48
|
-
$sizes-fluid: (
|
|
49
|
-
($size-1, $size-1-desktop),
|
|
50
|
-
($size-2, $size-2-desktop),
|
|
51
|
-
($size-3, $size-3-desktop),
|
|
52
|
-
($size-4, $size-4-desktop),
|
|
53
|
-
($size-5, $size-5-desktop),
|
|
54
|
-
($size-6, $size-6-desktop),
|
|
55
|
-
($size-7, $size-7-desktop),
|
|
56
|
-
($size-8, $size-8-desktop)
|
|
57
|
-
);
|
|
58
|
-
$sizes-desktop-interim: $size-7-desktop $size-6-desktop $size-5-desktop $size-4-desktop $size-3-desktop $size-2-desktop $size-1-desktop;
|
|
59
|
-
$sizes-fluid-interim: (
|
|
60
|
-
($size-7, $size-7-desktop),
|
|
61
|
-
($size-6, $size-6-desktop),
|
|
62
|
-
($size-5, $size-5-desktop),
|
|
63
|
-
($size-4, $size-4-desktop),
|
|
64
|
-
($size-3, $size-3-desktop),
|
|
65
|
-
($size-2, $size-2-desktop),
|
|
66
|
-
($size-1, $size-1-desktop)
|
|
67
|
-
);
|
|
68
|
-
|
|
69
|
-
// Gestion des déclinaisons de tailles utilisables par les composants (préfixées par is-)
|
|
70
|
-
$dimension-xxsmall: 'xxsmall';
|
|
71
|
-
$dimension-xsmall: 'xsmall';
|
|
72
|
-
$dimension-small: 'small';
|
|
73
|
-
$dimension-medium: 'medium';
|
|
74
|
-
$dimension-large: 'large';
|
|
75
|
-
$dimension-xlarge: 'xlarge';
|
|
76
|
-
$dimension-xxlarge: 'xxlarge';
|
|
77
|
-
|
|
78
|
-
$dimensions-limited: $dimension-small $dimension-medium $dimension-large;
|
|
79
|
-
$dimensions-extended: $dimension-xsmall $dimension-small $dimension-medium $dimension-large $dimension-xlarge;
|
|
80
|
-
$dimensions-all: $dimension-xxsmall $dimension-xsmall $dimension-small $dimension-medium $dimension-large $dimension-xlarge $dimension-xxlarge;
|
|
81
|
-
|
|
82
|
-
$shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
|
|
83
|
-
$focus-shadow: 0 1px 3px 0 rgba(69, 69, 69, 0.15),
|
|
84
|
-
0 2px 20px -3px rgba(69, 69, 69, 0.3);
|
|
85
|
-
|
|
86
|
-
$box-padding-mobile: 15px !default;
|
|
87
|
-
$box-padding: 12.5px !default;
|
|
88
|
-
$column-gap-mobile: 8px !default;
|
|
89
|
-
$column-gap-tablet-desktop: 12px !default;
|
|
90
|
-
$row-gap-mobile: 8px !default;
|
|
91
|
-
$row-gap-tablet-desktop: 12px !default;
|
|
92
|
-
|
|
93
|
-
$control-border-width: 1px !default;
|