@trilogy-ds/styles 0.0.1-beta.9 → 0.0.1-fix-timepicker

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.
Files changed (153) hide show
  1. package/dist/default/assets/icons/all/arrow-high.svg +1 -0
  2. package/dist/default/assets/icons/all/calendar.svg +1 -0
  3. package/dist/default/assets/icons/all/clock.svg +1 -0
  4. package/dist/default/assets/icons/all/file-attached.svg +1 -0
  5. package/dist/default/assets/icons/all/micro.svg +1 -0
  6. package/dist/default/assets/icons/all/paperclip.svg +1 -0
  7. package/dist/default/trilogy-mangled.css +1 -1
  8. package/dist/default/trilogy-partials.css +1 -1
  9. package/dist/default/trilogy.css +1 -1
  10. package/framework/src/_all.scss +2 -2
  11. package/framework/src/base/_all.scss +0 -1
  12. package/framework/src/base/_color.scss +1 -52
  13. package/framework/src/base/_elements.scss +1 -1
  14. package/framework/src/base/_generic.scss +9 -1
  15. package/framework/src/base/_helpers.scss +34 -44
  16. package/framework/src/base/_loading.scss +9 -2
  17. package/framework/src/base/_reset.scss +11 -1
  18. package/framework/src/components/_accordion.scss +55 -97
  19. package/framework/src/components/_autocomplete.scss +38 -0
  20. package/framework/src/components/_autolayout.scss +332 -0
  21. package/framework/src/components/_badge.scss +87 -0
  22. package/framework/src/components/_box.scss +168 -0
  23. package/framework/src/components/_breadcrumb.scss +29 -38
  24. package/framework/src/components/_button.scss +86 -0
  25. package/framework/src/components/_calendar.scss +129 -0
  26. package/framework/src/components/_card.scss +32 -86
  27. package/framework/src/components/_checkbox.scss +73 -0
  28. package/framework/src/components/_chips.scss +84 -0
  29. package/framework/src/{elements → components}/_container.scss +7 -46
  30. package/framework/src/components/_countdown.scss +49 -47
  31. package/framework/src/components/_date-picker.scss +58 -0
  32. package/framework/src/components/_divider.scss +49 -14
  33. package/framework/src/components/_dropdown.scss +166 -99
  34. package/framework/src/components/_fab.scss +25 -38
  35. package/framework/src/components/_flex-box.scss +1005 -0
  36. package/framework/src/{elements → components}/_icon.scss +12 -11
  37. package/framework/src/components/_image.scss +69 -0
  38. package/framework/src/components/_index.scss +53 -0
  39. package/framework/src/components/_link.scss +62 -0
  40. package/framework/src/components/_list.scss +66 -0
  41. package/framework/src/{elements → components}/_loader.scss +2 -2
  42. package/framework/src/components/_modal.scss +182 -158
  43. package/framework/src/components/_otp.scss +11 -30
  44. package/framework/src/components/_pagination.scss +60 -159
  45. package/framework/src/components/_popover.scss +260 -260
  46. package/framework/src/components/_price.scss +140 -165
  47. package/framework/src/components/_product-tour.scss +2 -4
  48. package/framework/src/components/_prompt.scss +156 -0
  49. package/framework/src/components/_radio.scss +85 -0
  50. package/framework/src/components/_range.scss +73 -72
  51. package/framework/src/components/_segmented-control.scss +55 -53
  52. package/framework/src/components/_select.scss +131 -0
  53. package/framework/src/components/_stepper.scss +81 -224
  54. package/framework/src/{elements → components}/_sticker.scss +34 -29
  55. package/framework/src/components/_switch.scss +97 -191
  56. package/framework/src/components/_table.scss +244 -0
  57. package/framework/src/components/_tabs.scss +114 -98
  58. package/framework/src/components/_tag.scss +114 -0
  59. package/framework/src/components/_text.scss +55 -0
  60. package/framework/src/components/_textarea.scss +46 -0
  61. package/framework/src/components/_timeline.scss +28 -113
  62. package/framework/src/components/_timepicker-circular.scss +88 -0
  63. package/framework/src/components/_timepicker.scss +79 -0
  64. package/framework/src/components/_title.scss +151 -0
  65. package/framework/src/{elements → components/alert}/_alert.scss +15 -12
  66. package/framework/src/components/alert/_index.scss +2 -0
  67. package/framework/src/{elements → components/alert}/_toaster.scss +4 -8
  68. package/framework/src/components/input/_entry.scss +135 -0
  69. package/framework/src/{elements → components/input}/_form.scss +42 -33
  70. package/framework/src/components/input/_index.scss +4 -0
  71. package/framework/src/components/input/_input-gauge.scss +44 -0
  72. package/framework/src/components/input/_input-icons.scss +55 -0
  73. package/framework/src/components/progress/_index.scss +2 -0
  74. package/framework/src/components/progress/_progress-radial.scss +28 -0
  75. package/framework/src/{elements → components/progress}/_progress.scss +33 -24
  76. package/framework/src/elements/_index.scss +5 -0
  77. package/framework/src/elements/_other.scss +0 -41
  78. package/framework/src/{components → elements}/_plus-symbol.scss +1 -1
  79. package/framework/src/grid/_columns.scss +278 -763
  80. package/framework/src/grid/_rows.scss +45 -38
  81. package/framework/src/layout/_all.scss +0 -1
  82. package/framework/src/layout/_hero.scss +92 -214
  83. package/framework/src/layout/_section.scss +10 -29
  84. package/framework/src/theming/_all.scss +3 -0
  85. package/framework/src/theming/buttons_partial.scss +32 -0
  86. package/framework/src/theming/common_partials.scss +10 -0
  87. package/framework/src/theming/links_partial.scss +20 -0
  88. package/framework/src/trilogy-mangled.scss +3 -3
  89. package/framework/src/trilogy.scss +3 -2
  90. package/framework/src/utilities/_a11y.scss +13 -0
  91. package/framework/src/utilities/_all.scss +4 -0
  92. package/framework/src/utilities/_background.scss +21 -0
  93. package/framework/src/utilities/_controls.scss +38 -49
  94. package/framework/src/utilities/_derived-variables.scss +0 -103
  95. package/framework/src/utilities/_initial-variables.scss +4 -144
  96. package/framework/src/utilities/_pre.scss +4 -1
  97. package/framework/src/utilities/mixins/_arrow.scss +21 -0
  98. package/framework/src/utilities/mixins/_delete.scss +86 -0
  99. package/framework/src/utilities/mixins/_index.scss +11 -0
  100. package/framework/src/utilities/mixins/_markup-group.scss +27 -0
  101. package/framework/src/utilities/mixins/_mixins.scss +372 -0
  102. package/framework/src/utilities/mixins/_overlay.scss +7 -0
  103. package/framework/src/utilities/mixins/_pattern.scss +10 -0
  104. package/framework/src/utilities/mixins/_responsiveness.scss +174 -0
  105. package/framework/src/utilities/mixins/_spinner.scss +12 -0
  106. package/framework/src/utilities/mixins/_state.scss +25 -0
  107. package/framework/src/utilities/mixins/_unselectable.scss +10 -0
  108. package/framework/src/utilities/mixins/_utils.scss +24 -0
  109. package/framework/src/utilities/variables/_animation.scss +2 -0
  110. package/framework/src/utilities/variables/_color.scss +86 -0
  111. package/framework/src/utilities/variables/_font.scss +97 -0
  112. package/framework/src/utilities/variables/_index.scss +6 -0
  113. package/framework/src/utilities/variables/_responsiveness.scss +7 -0
  114. package/framework/src/utilities/variables/_shadow.scss +3 -0
  115. package/framework/src/utilities/variables/_zindex.scss +14 -0
  116. package/package.json +8 -3
  117. package/framework/src/components/_all.scss +0 -30
  118. package/framework/src/components/_autolayout2.scss +0 -38
  119. package/framework/src/components/_disclaimer.scss +0 -84
  120. package/framework/src/components/_level.scss +0 -120
  121. package/framework/src/components/_media.scss +0 -64
  122. package/framework/src/components/_menu.scss +0 -213
  123. package/framework/src/components/_progress-radial.scss +0 -23
  124. package/framework/src/components/_search-modal.scss +0 -197
  125. package/framework/src/components/_slices.scss +0 -316
  126. package/framework/src/components/_slider.scss +0 -92
  127. package/framework/src/elements/_all.scss +0 -35
  128. package/framework/src/elements/_badge.scss +0 -81
  129. package/framework/src/elements/_box.scss +0 -267
  130. package/framework/src/elements/_button.scss +0 -192
  131. package/framework/src/elements/_checkbox.scss +0 -39
  132. package/framework/src/elements/_checkradio.scss +0 -173
  133. package/framework/src/elements/_chips.scss +0 -100
  134. package/framework/src/elements/_dot.scss +0 -6
  135. package/framework/src/elements/_entry.scss +0 -109
  136. package/framework/src/elements/_image.scss +0 -59
  137. package/framework/src/elements/_input-gauge.scss +0 -37
  138. package/framework/src/elements/_input-icons.scss +0 -41
  139. package/framework/src/elements/_link.scss +0 -79
  140. package/framework/src/elements/_list.scss +0 -61
  141. package/framework/src/elements/_notification.scss +0 -151
  142. package/framework/src/elements/_options.scss +0 -146
  143. package/framework/src/elements/_paragraph.scss +0 -101
  144. package/framework/src/elements/_radio.scss +0 -67
  145. package/framework/src/elements/_select.scss +0 -315
  146. package/framework/src/elements/_switch.scss +0 -108
  147. package/framework/src/elements/_table.scss +0 -298
  148. package/framework/src/elements/_tag.scss +0 -131
  149. package/framework/src/elements/_textarea.scss +0 -125
  150. package/framework/src/elements/_timeline.scss +0 -283
  151. package/framework/src/elements/_title.scss +0 -139
  152. package/framework/src/layout/_toolbar.scss +0 -100
  153. package/framework/src/utilities/_mixins.scss +0 -744
@@ -0,0 +1,135 @@
1
+ .input, .textarea {
2
+ &:not(:disabled) {
3
+ &:active,
4
+ &:focus,
5
+ &:focus-visible:not(.icon) {
6
+ padding-left: 15px ;
7
+ }
8
+ }
9
+ }
10
+
11
+ .input,
12
+ .textarea {
13
+ @include input;
14
+
15
+ padding-left: $spacing-4;
16
+ padding-right: $spacing-4;
17
+ font-size: $size-medium;
18
+ max-width: 100%;
19
+ width: 100%;
20
+
21
+ // Colors
22
+ @each $name in $colors-brand-functionnal {
23
+ $color: getColor($name);
24
+ $color-invert: invertColor($name);
25
+ $brandName: getColorBrandName($name);
26
+
27
+ &.is-#{$brandName} {
28
+ border: 1px solid $color;
29
+ }
30
+ }
31
+
32
+ // Sizes
33
+ &.is-small {
34
+ @include control-small;
35
+ }
36
+
37
+ &.is-large {
38
+ @include control-large;
39
+ }
40
+
41
+ &.is-fullwidth {
42
+ display: block;
43
+ width: 100%;
44
+ }
45
+
46
+ &.is-inline {
47
+ display: inline;
48
+ }
49
+
50
+ & label {
51
+ margin-top: 10px;
52
+ }
53
+ }
54
+
55
+ .input {
56
+ &::-ms-clear {
57
+ display: none;
58
+ }
59
+
60
+ &.is-small {
61
+ height: 24px;
62
+ }
63
+
64
+ &.is-rounded {
65
+ padding-left: 1em;
66
+ padding-right: 1em;
67
+ }
68
+
69
+ &.is-static {
70
+ background-color: transparent;
71
+ border-color: transparent;
72
+ padding-left: 0;
73
+ padding-right: 0;
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
+
108
+ }
109
+
110
+ .textarea {
111
+ display: block;
112
+ max-width: 100%;
113
+ min-width: 100%;
114
+ resize: vertical;
115
+ padding-top: 15px;
116
+
117
+
118
+ &:not([rows]) {
119
+ max-height: 600px;
120
+ min-height: 120px;
121
+ }
122
+
123
+ &[rows] {
124
+ height: initial;
125
+ }
126
+
127
+ &.has-fixed-size {
128
+ resize: none;
129
+ }
130
+
131
+ &:focus-visible{
132
+ padding-top: 14px;
133
+ padding-bottom: 4px;
134
+ }
135
+ }
@@ -5,20 +5,22 @@ $help-size: $size-small;
5
5
  $label-weight: $weight-bold;
6
6
 
7
7
  .field {
8
- &:not(:first-child) {
9
- margin-top: $field-margin;
10
- }
11
-
12
- &:not(:last-child) {
13
- margin-bottom: 7.5px;
14
- }
15
-
16
8
  &.is-fullwidth {
17
9
  div.control {
18
10
  flex: 1;
19
11
  }
20
12
  }
21
13
 
14
+ .input-label {
15
+ display: inline-block;
16
+ margin-bottom: 8px;
17
+ font-weight: 500;
18
+ }
19
+
20
+ .input-sample {
21
+ margin-bottom: 10px !important;
22
+ }
23
+
22
24
  @include mobile {
23
25
  &.is-very-short,
24
26
  &.is-short {
@@ -92,15 +94,12 @@ $label-weight: $weight-bold;
92
94
  .input,
93
95
  .textarea,
94
96
  .select select {
95
- &:hover,
96
- &.is-hovered {
97
+ &:hover {
97
98
  z-index: zindex('tiny');
98
99
  }
99
100
 
100
101
  &:focus,
101
- &.is-focused,
102
- &:active,
103
- &.is-active {
102
+ &:active {
104
103
  z-index: zindex('small');
105
104
 
106
105
  &:hover {
@@ -220,10 +219,9 @@ $label-weight: $weight-bold;
220
219
 
221
220
  .input {
222
221
  @each $name, $pair in $colors-feedback {
223
- $bg-color: nth($pair, 1);
224
222
  &.is-#{$name} {
225
223
  ~ .icon {
226
- color: getColor($bg-color);
224
+ color: fadeColor($name);
227
225
  }
228
226
  }
229
227
  }
@@ -235,10 +233,9 @@ $label-weight: $weight-bold;
235
233
 
236
234
  .textarea {
237
235
  @each $name, $pair in $colors-feedback {
238
- $bg-color: nth($pair, 1);
239
236
  &.is-#{$name} {
240
237
  ~ .icon {
241
- color: getColor($bg-color)
238
+ color: fadeColor($name);
242
239
  }
243
240
  }
244
241
  }
@@ -251,6 +248,7 @@ $label-weight: $weight-bold;
251
248
 
252
249
  &.has-icons-left {
253
250
  .input,
251
+ .textarea,
254
252
  .select select {
255
253
  padding-left: 45px;
256
254
  }
@@ -259,13 +257,7 @@ $label-weight: $weight-bold;
259
257
  left: 0;
260
258
  border-top-left-radius: $radius;
261
259
  border-bottom-left-radius: $radius;
262
- }
263
-
264
- .textarea {
265
- padding-left: 50px;
266
- padding-right: $spacing-4;
267
- padding-bottom: $spacing-4 !important;
268
- padding-top: $spacing-4;
260
+ padding: 0 24px;
269
261
  }
270
262
 
271
263
  & .textarea + label {
@@ -283,7 +275,7 @@ $label-weight: $weight-bold;
283
275
  position: absolute;
284
276
  bottom: 5px;
285
277
  right: 16px;
286
- font-size: $size-xsmall;
278
+ font-size: $text-10;
287
279
  }
288
280
 
289
281
  .is-error ~ .textarea-counter {
@@ -293,6 +285,7 @@ $label-weight: $weight-bold;
293
285
 
294
286
  &.has-icons-right {
295
287
  .input,
288
+ .textarea,
296
289
  .select select {
297
290
  padding-right: 45px;
298
291
  }
@@ -301,6 +294,7 @@ $label-weight: $weight-bold;
301
294
  right: 0;
302
295
  border-top-right-radius: $radius;
303
296
  border-bottom-right-radius: $radius;
297
+ padding: 0 24px;
304
298
  }
305
299
  }
306
300
 
@@ -331,7 +325,8 @@ $label-weight: $weight-bold;
331
325
  left: 16px;
332
326
  border-left: transparent 1px solid;
333
327
  font-size: $text-12;
334
- color: getColor('grey');
328
+ color: getColor('font');
329
+ filter: grayscale(1);
335
330
  transform: translateY(0);
336
331
  transition: all 0.2s ease-out;
337
332
  z-index: zindex('small');
@@ -392,20 +387,20 @@ $label-weight: $weight-bold;
392
387
  &.has-password-discover {
393
388
  .input {
394
389
  ~ .icon:not(:last-child) {
395
- color: getColor('grey');
390
+ color: getColor('neutral');
396
391
  background-color: transparent;
397
392
  right: 45px;
398
393
  cursor: pointer;
394
+
399
395
  &:hover,
400
396
  &:focus {
401
- color: getColor('grey-darker');
397
+ color: getColor('neutral');
402
398
  }
403
399
  }
404
400
  }
405
401
  }
406
402
 
407
403
  + .help {
408
- margin: 4px 0;
409
404
  font-size: $text-12;
410
405
  font-weight: $weight-medium;
411
406
  }
@@ -421,14 +416,14 @@ $label-weight: $weight-bold;
421
416
  width: 45px;
422
417
 
423
418
  &::after {
424
- @include spinner;
419
+ @include spinner();
425
420
  @include center(1em);
426
421
  }
427
422
  }
428
423
 
429
424
  &.is-loading {
430
425
  &::after {
431
- @include spinner;
426
+ @include spinner();
432
427
 
433
428
  position: absolute !important;
434
429
  right: 0.625em;
@@ -444,6 +439,13 @@ $label-weight: $weight-bold;
444
439
  font-size: $size-large;
445
440
  }
446
441
  }
442
+
443
+ &:has(input[disabled]), &:has(select[disabled]), &:has(textarea[disabled]) {
444
+ @include disabledRulesWithoutBG;
445
+ .icon {
446
+ color: getColor('disabled');
447
+ }
448
+ }
447
449
  }
448
450
 
449
451
  .field-label {
@@ -558,7 +560,7 @@ $label-weight: $weight-bold;
558
560
  }
559
561
 
560
562
  .label {
561
- color: getColor('grey-dark');
563
+ color: getColor('neutral');
562
564
  display: block;
563
565
  font-size: $size-normal;
564
566
  font-weight: $label-weight;
@@ -582,7 +584,7 @@ $label-weight: $weight-bold;
582
584
  font-size: $help-size;
583
585
  margin-top: 2.5px;
584
586
 
585
- @each $name, $pair in $colors-brand-funcionnal {
587
+ @each $name, $pair in $colors-brand-functionnal {
586
588
  $color: getColor($name);
587
589
  $brandName: getColorBrandName($name);
588
590
 
@@ -591,3 +593,10 @@ $label-weight: $weight-bold;
591
593
  }
592
594
  }
593
595
  }
596
+
597
+ .group-label {
598
+ display: inline-block;
599
+ margin-bottom: 8px !important;
600
+ font-weight: 500;
601
+ line-height: 20px;
602
+ }
@@ -0,0 +1,4 @@
1
+ @import "entry";
2
+ @import "form";
3
+ @import "input-gauge";
4
+ @import "input-icons";
@@ -0,0 +1,44 @@
1
+
2
+ .field .security-gauge-container {
3
+ width: 100%;
4
+
5
+ .security-gauge {
6
+ height: 4px;
7
+ background: getColor('disabled');
8
+ border-radius: var(--radius-small);
9
+ margin: 8px 0;
10
+
11
+ .gauge {
12
+ height: 100%;
13
+ border-radius: var(--radius-small);
14
+ }
15
+ }
16
+
17
+ .security-gauge-verifies {
18
+ display: flex;
19
+ justify-content: space-between;
20
+ align-items: center;
21
+ flex-wrap: wrap;
22
+
23
+ .security {
24
+ display: flex;
25
+ align-items: center;
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
+ }
34
+
35
+ .icon {
36
+ position: relative;
37
+ width: 16px;
38
+ margin-right: 8px;
39
+ font-size: 16px;
40
+ margin-bottom: -1px;
41
+ }
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,55 @@
1
+ .field {
2
+
3
+ .has-icons-left {
4
+ input, textarea {
5
+ padding-left: 45px;
6
+
7
+ &:active,
8
+ &:focus,
9
+ &:focus-visible:not(.has-icons-left):not(disabled) {
10
+ padding-left: 44px !important;
11
+ }
12
+
13
+ label {
14
+ left: 45px;
15
+ }
16
+ .icon-left {
17
+ position: absolute;
18
+ height: 100%;
19
+ width: 45px;
20
+ left: 0;
21
+ i {
22
+ font-size: 20px;
23
+ }
24
+ }
25
+
26
+
27
+ }
28
+ }
29
+ .has-icons-right {
30
+ .icon-right, button[data-show-pwd], button[data-show-calendar] {
31
+ position: absolute;
32
+ height: 100%;
33
+ width: 45px;
34
+ z-index: 10;
35
+ right: 0;
36
+ left: auto;
37
+ top:0;
38
+
39
+ i {
40
+ font-size: 20px;
41
+ }
42
+ }
43
+
44
+ button[data-show-pwd], button[data-show-calendar] {
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
+ }
54
+ }
55
+ }
@@ -0,0 +1,2 @@
1
+ @import "progress";
2
+ @import "progress-radial";
@@ -0,0 +1,28 @@
1
+ .progress-radial {
2
+ background: radial-gradient(white 58%, transparent 51%),
3
+ conic-gradient(getColor('main-fade') 0deg 360deg, getColor('main-fade') 0deg 360deg);
4
+ border-radius: 50%;
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
+
24
+ &.is-small {
25
+ width: 75px;
26
+ height: 75px;
27
+ }
28
+ }
@@ -1,7 +1,5 @@
1
1
  @use "sass:math";
2
2
 
3
- @import "../base/color";
4
-
5
3
  $progressbar-height: 10px;
6
4
  $progressbar-small: 5px;
7
5
 
@@ -9,7 +7,7 @@ $progressbar-small: 5px;
9
7
  @include block;
10
8
 
11
9
  border: none;
12
- border-radius: $radius-rounded;
10
+ border-radius: 9999px;
13
11
  display: block;
14
12
  height: $progressbar-height;
15
13
  overflow: hidden;
@@ -18,8 +16,10 @@ $progressbar-small: 5px;
18
16
  -moz-appearance: none;
19
17
  -webkit-appearance: none;
20
18
 
19
+ background-color: getColor('main-fade');
20
+
21
21
  &::-webkit-progress-bar {
22
- background-color: getColor('grey-light');
22
+ background-color: getColor('main-fade');
23
23
  border-radius: $progressbar-height;
24
24
  }
25
25
 
@@ -33,18 +33,12 @@ $progressbar-small: 5px;
33
33
  border-radius: $progressbar-height;
34
34
  }
35
35
 
36
- &::-ms-fill {
37
- background-color: getColor('font');
38
- border: none;
39
- border-radius: $progressbar-height;
40
- }
41
-
42
36
  &:not(:last-child) {
43
37
  margin-bottom: 7.5px;
44
38
  }
45
39
 
46
40
  // Colors
47
- @each $name in $colors-brand-funcionnal {
41
+ @each $name in $colors-brand-functionnal {
48
42
  $brandName: getColorBrandName($name);
49
43
  $color: getColor($name);
50
44
 
@@ -71,12 +65,11 @@ $progressbar-small: 5px;
71
65
 
72
66
  .progress.is-stacked {
73
67
  display: flex;
74
- background-color: getColor('grey-light');
75
68
  border-radius: $progressbar-height;
76
69
 
77
70
  .progress-bar {
78
71
  height: $progressbar-height;
79
- background-color: getVariantColor('alternate',2);
72
+ background-color: getColor('font');
80
73
 
81
74
  &:first-child {
82
75
  border-radius: $progressbar-height 0 0 $progressbar-height;
@@ -86,7 +79,7 @@ $progressbar-small: 5px;
86
79
  border-radius: 0 $progressbar-height $progressbar-height 0;
87
80
  }
88
81
 
89
- @each $name in $colors-brand-funcionnal {
82
+ @each $name in $colors-brand-functionnal {
90
83
  $color: getColor($name);
91
84
  $color-invert: invertColor($name);
92
85
  $brandName: getColorBrandName($name);
@@ -100,10 +93,10 @@ $progressbar-small: 5px;
100
93
 
101
94
  // Progress Bar circle
102
95
  $progress-circle-slices: (
103
- secondary: getColor('alternate'),
96
+ secondary: getColor('info'),
104
97
  tertiary: getColor('font'),
105
98
  warning: getColor('warning'),
106
- empty: getColor('grey-light')
99
+ empty: getColor('main-fade')
107
100
  );
108
101
 
109
102
  .progress-circle {
@@ -113,7 +106,7 @@ $progress-circle-slices: (
113
106
  --progress-circle-spacing-color: 255, 255, 255;
114
107
  --progress-circle-spacing-deg: calc(1deg * var(--progress-circle-spacing));
115
108
 
116
- border-radius: 50%;
109
+ border-radius: 9999px;
117
110
  height: var(--progress-circle-size);
118
111
  margin: 40px;
119
112
  position: relative;
@@ -151,8 +144,8 @@ $progress-circle-slices: (
151
144
 
152
145
  .progress-circle-slice::before,
153
146
  .progress-circle-slice::after {
154
- border: var(--progress-circle-border-width) solid rgba(0,0,0,0);
155
- border-radius: 50%;
147
+ border: var(--progress-circle-border-width) solid rgba(0, 0, 0, 0);
148
+ border-radius: 9999px;
156
149
  content: '';
157
150
  height: 100%;
158
151
  left: 0;
@@ -181,9 +174,7 @@ $slides-concat: '';
181
174
 
182
175
  clip-path: inset(0 calc(50% * (var(--#{$name}-check) / var(--#{$name}-check))) 0 0);
183
176
  }
184
- }
185
-
186
- @else {
177
+ } @else {
187
178
  .progress-circle-background-#{$name} {
188
179
  --#{$name}-start: 0;
189
180
  }
@@ -204,9 +195,27 @@ $slides-concat: '';
204
195
 
205
196
  @if $i == 1 {
206
197
  $slides-concat: var(--#{$name});
198
+ } @else {
199
+ $slides-concat: $slides-concat + ' + ' + var(--#{$name});
207
200
  }
201
+ }
208
202
 
209
- @else {
210
- $slides-concat: $slides-concat + ' + ' + var(--#{$name});
203
+ .progress-legends {
204
+ display: grid;
205
+ grid-template-columns: repeat(3, 1fr);
206
+
207
+ .progress-legend-start {
208
+ grid-column: 1;
209
+ text-align: left;
210
+ }
211
+
212
+ .progress-legend-center {
213
+ grid-column: 2;
214
+ text-align: center;
215
+ }
216
+
217
+ .progress-legend-end {
218
+ grid-column: 3;
219
+ text-align: right;
211
220
  }
212
221
  }
@@ -0,0 +1,5 @@
1
+ @charset "utf-8";
2
+ @import '../utilities/spacing';
3
+
4
+ @import 'other';
5
+ @import 'plus-symbol';
@@ -1,44 +1,3 @@
1
- .block {
2
- @include block;
3
- }
4
-
5
1
  .delete {
6
2
  @include delete;
7
3
  }
8
-
9
- .heading {
10
- display: block;
11
- font-size: 11px;
12
- letter-spacing: 1px;
13
- margin-bottom: 5px;
14
- text-transform: uppercase;
15
- }
16
-
17
- .highlight {
18
- @include block;
19
-
20
- font-weight: $weight-normal;
21
- max-width: 100%;
22
- overflow: hidden;
23
- padding: 0;
24
-
25
- pre {
26
- overflow: auto;
27
- max-width: 100%;
28
- }
29
- }
30
-
31
- .number {
32
- align-items: center;
33
- background-color: getColor('grey-light');
34
- border-radius: $radius-rounded;
35
- display: inline-flex;
36
- font-size: $size-medium;
37
- height: 2em;
38
- justify-content: center;
39
- margin-right: 15px;
40
- min-width: 2.5em;
41
- padding: 2.5px 5px;
42
- text-align: center;
43
- vertical-align: top;
44
- }
@@ -1,6 +1,6 @@
1
1
  $plus-symbol-size: 40px;
2
2
 
3
- @mixin plus-symbol($color: getColor('grey-light'), $text-color: getColor('grey-dark')) {
3
+ @mixin plus-symbol($color: getColor('neutral-fade'), $text-color: getColor('neutral')) {
4
4
  &::after {
5
5
  content: "+";
6
6
  display: inline-block;