@trilogy-ds/styles 0.0.7-beta-v4 → 0.0.9-beta-v4
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/_autolayout.scss +34 -10
- package/framework/src/components/_pagination.scss +1 -2
- package/framework/src/elements/_radio.scss +2 -1
- package/framework/src/elements/_select.scss +47 -38
- package/framework/src/elements/_tag.scss +1 -17
- package/framework/src/utilities/_mixins.scss +1 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
body:not(.is-tight) {
|
|
2
|
-
.
|
|
2
|
+
.accordion:not(:last-child) {
|
|
3
3
|
margin-bottom: 24px;
|
|
4
4
|
}
|
|
5
5
|
.buttons:not(:last-child) {
|
|
@@ -71,7 +71,10 @@ body:not(.is-tight) {
|
|
|
71
71
|
.progress-radial:not(:last-child) {
|
|
72
72
|
margin-bottom: 8px;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
.radios:not(:last-child) {
|
|
75
|
+
margin-bottom: 12px;
|
|
76
|
+
}
|
|
77
|
+
:not(.radios) >.radios:not(:last-child) {
|
|
75
78
|
margin-bottom: 12px;
|
|
76
79
|
}
|
|
77
80
|
.checkbox:not(:last-child) {
|
|
@@ -80,10 +83,16 @@ body:not(.is-tight) {
|
|
|
80
83
|
.switch:not(:last-child) {
|
|
81
84
|
margin-bottom: 12px;
|
|
82
85
|
}
|
|
83
|
-
.radio-
|
|
86
|
+
.radio-tiles:not(:last-child) {
|
|
87
|
+
margin-bottom: 16px;
|
|
88
|
+
}
|
|
89
|
+
:not(.radio-tiles) > .radio-tile:not(:last-child) {
|
|
84
90
|
margin-bottom: 24px;
|
|
85
91
|
}
|
|
86
|
-
.checkbox-
|
|
92
|
+
.checkbox-tiles:not(:last-child) {
|
|
93
|
+
margin-bottom: 24px;
|
|
94
|
+
}
|
|
95
|
+
:not(.checkbox-tiles) > .checkbox-tile:not(:last-child) {
|
|
87
96
|
margin-bottom: 24px;
|
|
88
97
|
}
|
|
89
98
|
.field:not(:last-child) {
|
|
@@ -107,7 +116,10 @@ body:not(.is-tight) {
|
|
|
107
116
|
.sticker:not(:last-child) {
|
|
108
117
|
margin-bottom: 8px;
|
|
109
118
|
}
|
|
110
|
-
.
|
|
119
|
+
.tags:not(:last-child) {
|
|
120
|
+
margin-bottom: 16px;
|
|
121
|
+
}
|
|
122
|
+
:not(.tags) > .tag:not(:last-child) {
|
|
111
123
|
margin-bottom: 8px;
|
|
112
124
|
}
|
|
113
125
|
.title.is-level-1:not(:last-child) {
|
|
@@ -156,7 +168,7 @@ body:not(.is-tight) {
|
|
|
156
168
|
|
|
157
169
|
@include mobile() {
|
|
158
170
|
body:not(.is-tight) {
|
|
159
|
-
.
|
|
171
|
+
.accordion:not(:last-child) {
|
|
160
172
|
margin-bottom: 16px;
|
|
161
173
|
}
|
|
162
174
|
.buttons:not(:last-child) {
|
|
@@ -228,7 +240,10 @@ body:not(.is-tight) {
|
|
|
228
240
|
.progress-radial:not(:last-child) {
|
|
229
241
|
margin-bottom: 8px;
|
|
230
242
|
}
|
|
231
|
-
.
|
|
243
|
+
.radios:not(:last-child) {
|
|
244
|
+
margin-bottom: 12px;
|
|
245
|
+
}
|
|
246
|
+
:not(.radios) >.radios:not(:last-child) {
|
|
232
247
|
margin-bottom: 12px;
|
|
233
248
|
}
|
|
234
249
|
.checkbox:not(:last-child) {
|
|
@@ -237,10 +252,16 @@ body:not(.is-tight) {
|
|
|
237
252
|
.switch:not(:last-child) {
|
|
238
253
|
margin-bottom: 12px;
|
|
239
254
|
}
|
|
240
|
-
.radio-
|
|
255
|
+
.radio-tiles:not(:last-child) {
|
|
256
|
+
margin-bottom: 12px;
|
|
257
|
+
}
|
|
258
|
+
:not(.radio-tiles) > .radio-tile:not(:last-child) {
|
|
241
259
|
margin-bottom: 16px;
|
|
242
260
|
}
|
|
243
|
-
.checkbox-
|
|
261
|
+
.checkbox-tiles:not(:last-child) {
|
|
262
|
+
margin-bottom: 16px;
|
|
263
|
+
}
|
|
264
|
+
:not(.checkbox-tiles) > .checkbox-tile:not(:last-child) {
|
|
244
265
|
margin-bottom: 16px;
|
|
245
266
|
}
|
|
246
267
|
.field:not(:last-child) {
|
|
@@ -264,7 +285,10 @@ body:not(.is-tight) {
|
|
|
264
285
|
.sticker:not(:last-child) {
|
|
265
286
|
margin-bottom: 8px;
|
|
266
287
|
}
|
|
267
|
-
.
|
|
288
|
+
.tags:not(:last-child) {
|
|
289
|
+
margin-bottom: 16px;
|
|
290
|
+
}
|
|
291
|
+
:not(.tags) > .tag:not(:last-child) {
|
|
268
292
|
margin-bottom: 8px;
|
|
269
293
|
}
|
|
270
294
|
.title.is-level-1:not(:last-child) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
margin: -2.5px;
|
|
4
4
|
align-items: center;
|
|
5
5
|
display: flex;
|
|
6
|
-
justify-content:
|
|
6
|
+
justify-content: center;
|
|
7
7
|
text-align: center;
|
|
8
8
|
|
|
9
9
|
.pagination-previous,
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
.pagination-list {
|
|
39
39
|
flex: 0 0 auto;
|
|
40
40
|
flex-wrap: wrap;
|
|
41
|
-
flex-grow: 1;
|
|
42
41
|
align-items: center;
|
|
43
42
|
display: flex;
|
|
44
43
|
justify-content: center;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
2
1
|
.select {
|
|
3
2
|
position: relative;
|
|
4
|
-
|
|
3
|
+
|
|
4
|
+
input {
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
}
|
|
5
7
|
|
|
6
8
|
select {
|
|
7
9
|
width: 100%;
|
|
8
10
|
@include input;
|
|
11
|
+
|
|
9
12
|
&:focus {
|
|
10
13
|
padding-left: 15px !important;
|
|
11
14
|
}
|
|
@@ -14,14 +17,15 @@
|
|
|
14
17
|
.has-icons-left {
|
|
15
18
|
select {
|
|
16
19
|
padding-left: 45px;
|
|
20
|
+
|
|
17
21
|
&:focus {
|
|
18
22
|
padding-left: 44px !important;
|
|
19
23
|
}
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
|
|
23
|
-
&-options {
|
|
24
|
-
box-shadow: 0 0 8px #0000001a;
|
|
27
|
+
&-options {
|
|
28
|
+
box-shadow: 0 0 8px #0000001a;
|
|
25
29
|
border-radius: 4px;
|
|
26
30
|
overflow: hidden;
|
|
27
31
|
position: absolute;
|
|
@@ -32,65 +36,70 @@
|
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
.field {
|
|
39
|
+
margin-bottom: 0 !important;
|
|
40
|
+
|
|
35
41
|
&.focus {
|
|
36
|
-
&:after{
|
|
42
|
+
&:after {
|
|
37
43
|
@include arrow('up');
|
|
38
44
|
right: 12px;
|
|
39
|
-
top:50%;
|
|
40
|
-
transform: translate(-50
|
|
45
|
+
top: 50%;
|
|
46
|
+
transform: translate(-50%, -50%);
|
|
41
47
|
}
|
|
42
48
|
}
|
|
49
|
+
|
|
43
50
|
&:not(.focus) {
|
|
44
|
-
&:after{
|
|
51
|
+
&:after {
|
|
45
52
|
@include arrow();
|
|
46
53
|
right: 12px;
|
|
47
|
-
top:50%;
|
|
48
|
-
transform: translate(-50
|
|
54
|
+
top: 50%;
|
|
55
|
+
transform: translate(-50%, -50%);
|
|
49
56
|
}
|
|
50
57
|
}
|
|
51
|
-
}
|
|
58
|
+
}
|
|
52
59
|
|
|
53
60
|
|
|
54
61
|
&-trilogy_modal_open {
|
|
55
62
|
position: fixed;
|
|
56
|
-
top:0;
|
|
57
|
-
left:0;
|
|
58
|
-
right:0;
|
|
59
|
-
bottom:0;
|
|
63
|
+
top: 0;
|
|
64
|
+
left: 0;
|
|
65
|
+
right: 0;
|
|
66
|
+
bottom: 0;
|
|
60
67
|
z-index: 1000;
|
|
61
68
|
}
|
|
62
69
|
|
|
63
|
-
.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
70
|
+
.select-options {
|
|
71
|
+
background-color: getColor('background');
|
|
72
|
+
|
|
73
|
+
li.option {
|
|
74
|
+
padding: $spacing-3 $spacing-4;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
display: flex;
|
|
77
|
+
gap: $spacing-2;
|
|
78
|
+
|
|
79
|
+
@include hover;
|
|
80
|
+
|
|
81
|
+
&.is-disabled {
|
|
82
|
+
color: getColor('disabled');
|
|
83
|
+
background-color: getColor('disabled-fade');
|
|
84
|
+
cursor: not-allowed;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&[data-selected="true"] {
|
|
88
|
+
font-weight: $weight-black;
|
|
89
|
+
|
|
67
90
|
&:after {
|
|
68
91
|
content: "" !important;
|
|
69
92
|
mask-image: url('./assets/icons/all/check.svg') !important;
|
|
70
93
|
background-color: getColor('main') !important;
|
|
71
94
|
mask-size: 18px !important;
|
|
72
|
-
top: 25px !important;
|
|
73
95
|
right: 18px !important;
|
|
74
|
-
height:18px
|
|
75
|
-
width: 18px !important
|
|
96
|
+
height: 18px !important;
|
|
97
|
+
width: 18px !important;
|
|
98
|
+
position: absolute;
|
|
76
99
|
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
label.radio-label {
|
|
81
|
-
border:none !important;
|
|
82
|
-
border-radius: 0 !important;
|
|
83
|
-
height: 52px;
|
|
84
|
-
&:before { display: none; }
|
|
85
|
-
@include hover
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&.focus label.radio-label { @include hoverRules(); }
|
|
89
|
-
|
|
90
|
-
.icon.is-medium {
|
|
91
|
-
font-size: $text-20 !important;
|
|
100
|
+
}
|
|
92
101
|
}
|
|
93
|
-
}
|
|
102
|
+
}
|
|
94
103
|
}
|
|
95
104
|
|
|
96
105
|
|
|
@@ -6,23 +6,8 @@ $tag-delete-margin: 1px !default;
|
|
|
6
6
|
justify-content: flex-start;
|
|
7
7
|
align-items: center;
|
|
8
8
|
flex-wrap: wrap;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
// multi-tags : ajout d'une marge bottom, supprimable par facette
|
|
12
|
-
&:not(.is-gapless) {
|
|
13
|
-
&:not(:last-child) {
|
|
14
|
-
margin-right: 8px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.tag {
|
|
18
|
-
margin-bottom: 10px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
9
|
+
gap: $spacing-3;
|
|
22
10
|
// multi-tags : ajout d'une marge à droite de chaque tag
|
|
23
|
-
.tag:not(:last-child) {
|
|
24
|
-
margin-right: 8px;
|
|
25
|
-
}
|
|
26
11
|
|
|
27
12
|
// centrage des tags
|
|
28
13
|
&.is-centered {
|
|
@@ -34,7 +19,6 @@ $tag-delete-margin: 1px !default;
|
|
|
34
19
|
cursor: pointer;
|
|
35
20
|
|
|
36
21
|
.tag {
|
|
37
|
-
margin-right: 0;
|
|
38
22
|
|
|
39
23
|
&:not(:first-child) {
|
|
40
24
|
border-bottom-left-radius: 0;
|
|
@@ -451,7 +451,6 @@
|
|
|
451
451
|
.#{$type} {
|
|
452
452
|
display: flex;
|
|
453
453
|
align-items: center;
|
|
454
|
-
margin: 6px 8px;
|
|
455
454
|
width: fit-content;
|
|
456
455
|
|
|
457
456
|
input:disabled,
|
|
@@ -462,8 +461,7 @@
|
|
|
462
461
|
}
|
|
463
462
|
|
|
464
463
|
label.#{$type}-label {
|
|
465
|
-
padding:
|
|
466
|
-
padding-left: 34px;
|
|
464
|
+
padding-left: 30px;
|
|
467
465
|
|
|
468
466
|
&:before,
|
|
469
467
|
&:after {
|