@trilogy-ds/styles 0.0.1-beta-4 → 0.0.1-beta.11

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 (86) hide show
  1. package/README.md +47 -0
  2. package/dist/default/trilogy-mangled.css +1 -1
  3. package/dist/default/trilogy-partials.css +1 -1
  4. package/dist/default/trilogy.css +1 -1
  5. package/framework/src/base/_color.scss +14 -36
  6. package/framework/src/base/_generic.scss +4 -1
  7. package/framework/src/base/_helpers.scss +10 -29
  8. package/framework/src/base/_loading.scss +7 -0
  9. package/framework/src/components/_accordion.scss +15 -36
  10. package/framework/src/components/_all.scss +0 -3
  11. package/framework/src/components/_breadcrumb.scss +39 -34
  12. package/framework/src/components/_card.scss +6 -5
  13. package/framework/src/components/_countdown.scss +49 -47
  14. package/framework/src/components/_disclaimer.scss +6 -5
  15. package/framework/src/components/_divider.scss +2 -2
  16. package/framework/src/components/_dropdown.scss +95 -101
  17. package/framework/src/components/_fab.scss +6 -21
  18. package/framework/src/components/_media.scss +2 -2
  19. package/framework/src/components/_modal.scss +172 -166
  20. package/framework/src/components/_otp.scss +9 -28
  21. package/framework/src/components/_pagination.scss +109 -131
  22. package/framework/src/components/_plus-symbol.scss +1 -1
  23. package/framework/src/components/_popover.scss +1 -4
  24. package/framework/src/components/_price.scss +118 -169
  25. package/framework/src/components/_product-tour.scss +1 -3
  26. package/framework/src/components/_segmented-control.scss +39 -51
  27. package/framework/src/components/_slider.scss +70 -70
  28. package/framework/src/components/_stepper.scss +16 -140
  29. package/framework/src/components/_tabs.scss +32 -55
  30. package/framework/src/components/_timeline.scss +49 -42
  31. package/framework/src/elements/_alert.scss +4 -5
  32. package/framework/src/elements/_all.scss +0 -2
  33. package/framework/src/elements/_badge.scss +54 -59
  34. package/framework/src/elements/_box.scss +5 -23
  35. package/framework/src/elements/_button.scss +29 -129
  36. package/framework/src/elements/_checkbox.scss +21 -27
  37. package/framework/src/elements/_chips.scss +76 -81
  38. package/framework/src/elements/_entry.scss +73 -89
  39. package/framework/src/elements/_form.scss +15 -15
  40. package/framework/src/elements/_input-gauge.scss +36 -32
  41. package/framework/src/elements/_link.scss +47 -62
  42. package/framework/src/elements/_list.scss +0 -36
  43. package/framework/src/elements/_notification.scss +2 -3
  44. package/framework/src/elements/_other.scss +1 -1
  45. package/framework/src/elements/_paragraph.scss +4 -26
  46. package/framework/src/elements/_progress.scss +9 -18
  47. package/framework/src/elements/_radio.scss +1 -1
  48. package/framework/src/elements/_select.scss +209 -245
  49. package/framework/src/elements/_sticker.scss +8 -9
  50. package/framework/src/elements/_switch.scss +85 -88
  51. package/framework/src/elements/_table.scss +11 -72
  52. package/framework/src/elements/_tag.scss +104 -104
  53. package/framework/src/elements/_textarea.scss +92 -106
  54. package/framework/src/elements/_title.scss +86 -84
  55. package/framework/src/elements/_toaster.scss +2 -3
  56. package/framework/src/grid/_columns.scss +5 -5
  57. package/framework/src/layout/_hero.scss +129 -211
  58. package/framework/src/layout/_section.scss +3 -3
  59. package/framework/src/layout/_toolbar.scss +6 -6
  60. package/framework/src/utilities/_controls.scss +37 -39
  61. package/framework/src/utilities/_derived-variables.scss +3 -14
  62. package/framework/src/utilities/_initial-variables.scss +38 -23
  63. package/framework/src/utilities/_mixins.scss +523 -582
  64. package/package.json +4 -3
  65. package/framework/src/components/_menu.scss +0 -213
  66. package/framework/src/components/_search-modal.scss +0 -197
  67. package/framework/src/components/_slices.scss +0 -316
  68. package/framework/src/components/_switch.scss +0 -209
  69. package/framework/src/elements/_checkradio.scss +0 -173
  70. package/framework/src/elements/_options.scss +0 -146
  71. package/framework/src/elements/_timeline.scss +0 -283
  72. /package/dist/default/assets/icons/all/{all/alert.svg → alert.svg} +0 -0
  73. /package/dist/default/assets/icons/all/{all/arrow-down.svg → arrow-down.svg} +0 -0
  74. /package/dist/default/assets/icons/all/{all/arrow-left.svg → arrow-left.svg} +0 -0
  75. /package/dist/default/assets/icons/all/{all/arrow-right.svg → arrow-right.svg} +0 -0
  76. /package/dist/default/assets/icons/all/{all/arrow-up.svg → arrow-up.svg} +0 -0
  77. /package/dist/default/assets/icons/all/{all/bell.svg → bell.svg} +0 -0
  78. /package/dist/default/assets/icons/all/{all/check-circle.svg → check-circle.svg} +0 -0
  79. /package/dist/default/assets/icons/all/{all/check.svg → check.svg} +0 -0
  80. /package/dist/default/assets/icons/all/{all/exclamation-circle.svg → exclamation-circle.svg} +0 -0
  81. /package/dist/default/assets/icons/all/{all/eye-slash.svg → eye-slash.svg} +0 -0
  82. /package/dist/default/assets/icons/all/{all/eye.svg → eye.svg} +0 -0
  83. /package/dist/default/assets/icons/all/{all/infos-circle.svg → infos-circle.svg} +0 -0
  84. /package/dist/default/assets/icons/all/{all/search.svg → search.svg} +0 -0
  85. /package/dist/default/assets/icons/all/{all/times.svg → times.svg} +0 -0
  86. /package/dist/default/assets/icons/all/{all/trash.svg → trash.svg} +0 -0
@@ -1,133 +1,5 @@
1
1
  @use "sass:math";
2
2
 
3
- $step-width: 30px;
4
- $step-font-size: 18px;
5
- $step-gap: $step-width;
6
- $step-gap-desktop: $step-width * 3;
7
-
8
-
9
- // old stepper , déprécié since ( v2 )
10
- .stepper {
11
- display: inline-flex;
12
- position: relative;
13
-
14
- @include mobile {
15
- &::after {
16
- content: attr(data-label-mobile);
17
- position: absolute;
18
- bottom: 0;
19
- width: 100%;
20
- font-weight: $weight-semibold;
21
- color: getColor('alternate');
22
- }
23
- }
24
-
25
- .step {
26
- position: relative;
27
- z-index: zindex('void');
28
- display: inline-flex;
29
- justify-content: center;
30
- align-items: center;
31
- width: $step-width;
32
- height: $step-width;
33
- border-radius: 100%;
34
- background: getColor('grey-disabled');
35
- color: getColor('background');
36
- font-size: $step-font-size;
37
- transition: background .15s ease;
38
-
39
- &.is-done {
40
- background: getColor('font');
41
- }
42
-
43
- &.is-current,
44
- &.is-active {
45
- background: getColor('alternate');
46
- }
47
- }
48
-
49
- .step + .step {
50
- margin-left: $step-gap;
51
-
52
- @include desktop {
53
- margin-left: $step-gap-desktop;
54
- }
55
-
56
- &::before {
57
- content: '';
58
- height: 4px;
59
- width: $step-gap;
60
- display: block;
61
- position: absolute;
62
- z-index: zindex('subzero');
63
- left: -$step-gap;
64
- top: 50%;
65
- transform: translateY(-50%);
66
- transition: background .15s ease;
67
- background-color: getColor('grey-disabled');
68
-
69
- @include desktop {
70
- width: $step-gap-desktop;
71
- margin-left: -$step-gap-desktop + $step-width;
72
- }
73
- }
74
- }
75
-
76
- // done steps successively
77
- .step.is-done + .step.is-done::before {
78
- background: getColor('font');
79
- }
80
-
81
- // done step followed by current step
82
- .step.is-done + .step.is-current::before {
83
- background: linear-gradient(90deg, getColor('font'), getColor('alternate'));
84
- }
85
-
86
- // active step followed by done step(s)
87
- .step.is-active + .step.is-done::before {
88
- background: linear-gradient(90deg, getColor('alternate'), getColor('font'));
89
- }
90
-
91
- // current step followed by unvisited step(s)
92
- .step.is-current + .step::before {
93
- background: linear-gradient(90deg, getColor('alternate'), getColor('grey-disabled') 75%);
94
- }
95
-
96
- // labels
97
- .step[data-label] {
98
- margin-bottom: 40px;
99
-
100
- &::after {
101
- position: absolute;
102
- left: -$step-gap-desktop * 0.5;
103
- right: -$step-gap-desktop * 0.5;
104
- color: getColor('grey');
105
- font-size: $size-7;
106
- font-weight: $weight-semibold;
107
- top: 50px;
108
- text-align: center;
109
-
110
- @include desktop {
111
- content: attr(data-label);
112
- }
113
- }
114
-
115
- // active or current step
116
- &.is-current::after,
117
- &.is-active::after {
118
- color: getColor('alternate');
119
- }
120
- }
121
- }
122
-
123
- // back to grey label when going back in steps: the current step is followed by the active step
124
- .step[data-label].is-active ~ .step[data-label].is-current::after {
125
- color: getColor('grey');
126
- }
127
-
128
-
129
- // Nouveau stepper
130
-
131
3
  .stepper-wrapper {
132
4
  display: flex;
133
5
  position: relative;
@@ -148,22 +20,24 @@ $step-gap-desktop: $step-width * 3;
148
20
  width: 100%;
149
21
  padding: $spacing-2;
150
22
 
151
- &:before{
23
+ &:before {
152
24
  content: "";
153
25
  display: block;
154
26
  height: 4px;
155
- background: getColor('grey-disabled');
27
+ background: getBGColor('font');
156
28
  border-radius: 4px;
157
29
  }
158
30
 
159
31
  &.is-error {
160
32
 
161
- &:before{
33
+ &:before {
162
34
  background: getColor('error') !important;
163
35
  }
36
+
164
37
  .step-bars {
165
38
  background: getColor('error') !important;
166
39
  }
40
+
167
41
  color: getColor('font');
168
42
 
169
43
  .step-label {
@@ -176,9 +50,10 @@ $step-gap-desktop: $step-width * 3;
176
50
 
177
51
  &::before {
178
52
  content: "";
179
- mask-image: url('./assets/icons/all/times-circle.svg') !important;
53
+ mask-image: url('./assets/icons/all/times.svg') !important;
180
54
  background-color: getColor('error') !important;
181
55
  border-width: 0;
56
+ mask-size: 20px;
182
57
  width: 20px;
183
58
  height: 20px;
184
59
  margin: 2px 8px 0 -8px;
@@ -193,17 +68,17 @@ $step-gap-desktop: $step-width * 3;
193
68
 
194
69
  &.is-done {
195
70
 
196
- &:before{
71
+ &:before {
197
72
  background: getColor('font');
198
73
  transition: background-color 2s ease-in-out;
199
74
  }
75
+
200
76
  .step-bars {
201
77
  background: getColor('font');
202
78
  transition: background-color 2s ease-in-out;
203
79
  }
204
80
 
205
81
  .step-label {
206
- color: getColor('font');
207
82
  padding-left: $spacing-2;
208
83
 
209
84
  &::before {
@@ -212,6 +87,7 @@ $step-gap-desktop: $step-width * 3;
212
87
  background-color: getColor('success');
213
88
  border-width: 0;
214
89
  min-width: 20px;
90
+ mask-size: 20px;
215
91
  height: 20px;
216
92
  margin: 2px 8px 0 -8px;
217
93
  align-self: baseline;
@@ -222,15 +98,16 @@ $step-gap-desktop: $step-width * 3;
222
98
  &.is-current,
223
99
  &.is-active {
224
100
 
225
- &:before{
226
- background: getColor('alternate');
101
+ &:before {
102
+ background: getColor('main');
227
103
  animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
228
104
  -o-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
229
105
  -webkit-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
230
106
  -moz-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
231
107
  }
108
+
232
109
  .step-bars {
233
- background: getColor('alternate');
110
+ background: getColor('main');
234
111
  animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
235
112
  -o-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
236
113
  -webkit-animation: cssload-width 2s cubic-bezier(0.45, 0, 1, 1);
@@ -242,7 +119,6 @@ $step-gap-desktop: $step-width * 3;
242
119
  font-weight: 600;
243
120
  font-size: 22px;
244
121
  line-height: 24px;
245
- color: getColor('font');
246
122
  transition: color 1.45s ease;
247
123
  width: max-content;
248
124
 
@@ -270,7 +146,7 @@ $step-gap-desktop: $step-width * 3;
270
146
 
271
147
  .step-bars {
272
148
  height: 4px;
273
- background: getColor('grey-disabled');
149
+ background: getColor('disabled');
274
150
  border-radius: 4px;
275
151
  display: none;
276
152
  }
@@ -278,7 +154,7 @@ $step-gap-desktop: $step-width * 3;
278
154
  .step-label {
279
155
  display: flex;
280
156
  align-items: center;
281
- color: getColor('grey');
157
+ color: getColor('font');
282
158
  font-style: normal;
283
159
  font-weight: 400;
284
160
  font-size: 16px;
@@ -24,33 +24,23 @@
24
24
 
25
25
  &.is-inverted {
26
26
  background-color: getColor('font');
27
+
27
28
  .tabs > .tab {
28
- color: getColor('background') !important;
29
+ color: getColor('background') !important;
29
30
 
30
- &.is-active {
31
- &::after {
32
- content: "";
33
- width: calc(100% - 16px);
34
- height: 2px;
35
- border-radius: 2px;
36
- font-size: 20px;
37
- background-color: getColor('background');
38
- bottom: -2px;
39
- left: 8px;
40
- }
41
- }
42
- &:hover:not(.is-disabled) {
43
- color: getColor('background') !important;
44
- cursor: pointer;
45
- }
31
+ &.is-active {
32
+ border-bottom-color: currentColor;
33
+ }
46
34
 
47
- &:focus-visible {
48
- border-color: getColor('background');
49
- }
35
+ #{$hoverSelector} {
36
+ color: getColor('background') !important;
37
+ cursor: pointer;
38
+ }
39
+
40
+ &:focus-visible {
41
+ border-color: getColor('background');
42
+ }
50
43
 
51
- &.is-disabled {
52
- color: getColor('grey-light');
53
- }
54
44
  }
55
45
  }
56
46
 
@@ -68,15 +58,15 @@
68
58
  display: inline-flex;
69
59
 
70
60
  &.is-centered {
71
- justify-content: center;
61
+ justify-content: center;
72
62
  }
73
63
 
74
64
  &.is-right {
75
- justify-content: flex-end;
65
+ justify-content: flex-end;
76
66
  }
77
67
 
78
68
  &.is-left {
79
- justify-content: flex-start;
69
+ justify-content: flex-start;
80
70
  }
81
71
 
82
72
 
@@ -98,7 +88,7 @@
98
88
  }
99
89
 
100
90
  @include mobile {
101
- justify-content: flex-start ;
91
+ justify-content: flex-start;
102
92
  > .tab:first-child {
103
93
  margin-left: 24px;
104
94
  }
@@ -112,14 +102,10 @@
112
102
  font-family: $body-family;
113
103
  text-decoration: none;
114
104
  outline: none;
115
- padding: 6px;
105
+ padding: 6px 14px;
116
106
  font-size: $text-14;
117
- border: 2px solid transparent;
118
- border-radius: 4px;
119
-
120
- &:not(:last-child) {
121
- margin-right: 16px;
122
- }
107
+ border: 0px solid transparent;
108
+ border-bottom: 2px solid getBGColor('font');
123
109
 
124
110
  .tab-icon {
125
111
  margin-top: 2px;
@@ -127,7 +113,7 @@
127
113
 
128
114
  &:not(button) {
129
115
  .tab-icon {
130
- margin-top: 4px;
116
+ margin-top: 4px;
131
117
  }
132
118
  }
133
119
 
@@ -136,27 +122,16 @@
136
122
  }
137
123
 
138
124
 
139
-
140
125
  &.is-active {
141
- color: getColor('alternate');
126
+ color: getColor('main');
142
127
  font-weight: $weight-semibold;
143
128
  position: relative;
129
+ border-bottom-color: getColor('main');
144
130
 
145
- &::after {
146
- content: "";
147
- width: calc(100% - 16px);
148
- height: 2px;
149
- border-radius: 2px;
150
- font-size: 20px;
151
- background-color: getColor('alternate');
152
- position: absolute;
153
- bottom: -2px;
154
- left: 8px
155
- }
156
131
  }
157
132
 
158
133
  &:hover:not(.is-disabled) {
159
- color: getColor('alternate');
134
+ color: getColor('main');
160
135
  cursor: pointer;
161
136
 
162
137
  .icon.is-small [class^=tri-]::before, .icon.is-small [class*=" tri-"]::before {
@@ -165,23 +140,23 @@
165
140
  }
166
141
  }
167
142
 
168
- &:focus-visible{
143
+ &:focus-visible {
169
144
  border-color: currentColor;
170
- color: getColor('alternate');
145
+ color: getColor('main');
171
146
  }
172
147
 
173
148
  .icon {
174
149
  height: 0;
175
150
  }
176
151
 
177
- .icon.is-small, .icon.is-small{
152
+ .icon.is-small, .icon.is-small {
178
153
  font-size: 22px;
179
154
  }
180
155
 
181
- &.is-disabled {
182
- color: getColor('grey');
183
- cursor: default;
156
+ &[disabled], &[aria-disabled=true] {
157
+ background-color: transparent !important;
184
158
  }
159
+
185
160
  }
186
161
  }
187
162
 
@@ -192,6 +167,7 @@
192
167
  .tab-panel {
193
168
  transition: opacity 2s ease-in-out;
194
169
  transition-delay: 1s;
170
+
195
171
  &:not(.is-active) {
196
172
  display: none;
197
173
  }
@@ -199,6 +175,7 @@
199
175
  &.is-active {
200
176
  animation: fade-in 250ms;
201
177
  }
178
+
202
179
  @keyframes fade-in {
203
180
  from {
204
181
  opacity: 0;
@@ -1,13 +1,12 @@
1
1
  @use 'sass:math';
2
2
  @import "../utilities/spacing";
3
3
 
4
- $timeline-marker-color: getColor('grey-lighter') !default;
4
+ $timeline-marker-color: getBGColor('neutral') !default;
5
5
  $timeline-marker-icon-size: 2.85em !default;
6
- $timeline-line-color: getColor('grey-lighter') !default;
6
+ $timeline-line-color: getBGColor('neutral') !default;
7
7
  $timeline-marker-size: 0.8em !default;
8
8
  $timeline-marker-border-size: 0.1em !default;
9
- $timeline-marker-border: $timeline-marker-border-size solid
10
- $timeline-marker-color !default;
9
+ $timeline-marker-border: $timeline-marker-border-size solid $timeline-marker-color !default;
11
10
  $timeline-line-width: 0.125em !default;
12
11
  $timeline-line-style: solid !default;
13
12
  $timeline-line: $timeline-line-width $timeline-line-style $timeline-line-color !default;
@@ -32,6 +31,18 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
32
31
  margin-left: 0;
33
32
  }
34
33
 
34
+ &::before {
35
+ content: '';
36
+ display: block;
37
+ width: $timeline-line-width;
38
+ position: absolute;
39
+ top: 49.80px;
40
+ left: 3rem;
41
+ bottom: 8px;
42
+ height: auto;
43
+ border-radius: 2px;
44
+ }
45
+
35
46
  .timeline-item,
36
47
  .undone {
37
48
  display: flex;
@@ -42,42 +53,32 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
42
53
  padding-bottom: $spacing-2;
43
54
 
44
55
  &::before {
45
- content: '';
46
- background-color: getColor('grey-lighter');
47
- display: block;
48
- width: $timeline-line-width;
49
- position: absolute;
50
- top: 49.80px;
51
- left: 3rem;
52
- bottom: 8px;
53
- height: auto;
54
- border-radius: 2px;
56
+ background-color: getBGColor('neutral');
55
57
  }
56
58
 
57
59
  .timeline-marker.is-icon {
58
- background-color: getColor('alternate');
59
- .icon {
60
- color: aside;
61
- }
60
+ background-color: getColor('main');
61
+ color: getColor('font');
62
62
  }
63
63
 
64
-
65
-
66
64
  &.active {
67
65
  .timeline-marker.is-icon {
68
- background-color: getColor('alternate');
66
+ background-color: getColor('main');
67
+
69
68
  .icon {
70
69
  color: getColor('background');
71
70
  }
72
71
  }
72
+
73
73
  .timeline-content {
74
74
  p.main-content {
75
75
  font-weight: 800;
76
76
  }
77
77
  }
78
+
78
79
  &::before {
79
80
  content: '';
80
- background-color: getColor('alternate');
81
+ background-color: getColor('main');
81
82
  display: block;
82
83
  width: $timeline-line-width;
83
84
  position: absolute;
@@ -89,13 +90,16 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
89
90
  }
90
91
 
91
92
  }
93
+
92
94
  &.done {
93
95
  .timeline-marker.is-icon {
94
96
  background-color: getColor('font');
97
+
95
98
  .icon {
96
99
  color: getColor('background')
97
100
  }
98
101
  }
102
+
99
103
  &::before {
100
104
  content: '';
101
105
  background-color: getColor('font');
@@ -112,14 +116,13 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
112
116
 
113
117
  &.cancel {
114
118
  .timeline-marker.is-icon {
115
- background-color: getColor('grey-light');
116
- .icon {
117
- color: getColor('grey-darker');
118
- }
119
+ background-color: getColor('neutral-dark');
120
+ color: getBGColor('neutral');
119
121
  }
122
+
120
123
  &::before {
121
124
  content: '';
122
- background-color: getColor('grey-light');
125
+ background-color: getBGColor('neutral-dark');
123
126
  display: block;
124
127
  width: $timeline-line-width;
125
128
  position: absolute;
@@ -199,13 +202,12 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
199
202
 
200
203
  .heading {
201
204
  font-size: $text-12;
202
- color: getColor('grey');
205
+ color: getColor('font');
203
206
  font-family: $family-sans-serif;
204
207
  text-transform: none;
205
208
  letter-spacing: 0;
206
209
  line-height: 15px;
207
210
  font-weight: 500;
208
- color: #707070;
209
211
  }
210
212
 
211
213
  p {
@@ -314,6 +316,7 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
314
316
  .timeline-item {
315
317
  flex-direction: column;
316
318
  width: 100%;
319
+
317
320
  &:not(:last-child) {
318
321
  margin-right: 16px;
319
322
  }
@@ -330,32 +333,36 @@ $timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
330
333
  height: 2px;
331
334
  border-radius: 2px;
332
335
  }
333
- &.active::before {
334
- background-color: getColor('alternate');
336
+
337
+ &.active::before {
338
+ background-color: getColor('main');
335
339
  }
336
- &.undone
337
- {
338
- i {
339
- background-color: getColor('font');
340
- }
341
- &::before {
342
- background-color: getColor('grey-lighter');
340
+
341
+ &.undone {
342
+
343
+ &::before {
344
+ background-color: getBGColor('neutral');
343
345
  }
344
346
  }
347
+
345
348
  &.done::before {
346
349
  background-color: getColor('font');
347
350
  }
351
+
348
352
  &.cancel::before {
349
- background-color: getColor('grey-light');
353
+ background-color: getBGColor('neutral-dark');
350
354
  }
355
+
351
356
  .timeline-marker {
352
- position: static ;
353
- margin-left:0
357
+ position: static;
358
+ margin-left: 0
354
359
  }
360
+
355
361
  .timeline-content {
356
362
  margin-left: 0;
357
- padding:0;
363
+ padding: 0;
358
364
  margin-top: 8px;
365
+
359
366
  .main-content {
360
367
  margin-left: 0;
361
368
  }
@@ -1,3 +1,4 @@
1
+ /* @todo validate a.alert exist */
1
2
  a.alert {
2
3
  cursor: pointer;
3
4
  transition: box-shadow $animation-duration;
@@ -47,12 +48,10 @@ a.alert {
47
48
  color: currentColor;
48
49
  }
49
50
 
50
- @each $name, $pair in $colors-feedback {
51
- $bg-color: nth($pair, 1);
52
-
51
+ @each $name in $colors-feedback {
53
52
  &.is-#{$name} {
54
- background-color: getColor($bg-color);
55
- border: 2px solid getColor($name);
53
+ background-color: getBGColor($name);
54
+ border: 1px solid getColor($name);
56
55
 
57
56
  .icon {
58
57
  color: getColor($name);
@@ -7,7 +7,6 @@
7
7
  @import 'button';
8
8
  @import 'chips';
9
9
  @import 'checkbox';
10
- @import 'checkradio';
11
10
  @import 'container';
12
11
  @import 'dot';
13
12
  @import 'entry';
@@ -19,7 +18,6 @@
19
18
  @import 'list';
20
19
  @import 'notification';
21
20
  @import 'toaster';
22
- @import 'options';
23
21
  @import 'progress';
24
22
  @import 'paragraph';
25
23
  @import 'radio';