@trilogy-ds/styles 0.0.1-beta-1
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/framework/src/_all.scss +8 -0
- package/framework/src/base/_all.scss +9 -0
- package/framework/src/base/_color.scss +58 -0
- package/framework/src/base/_elements.scss +34 -0
- package/framework/src/base/_fonts.scss +2 -0
- package/framework/src/base/_generic.scss +68 -0
- package/framework/src/base/_helpers.scss +880 -0
- package/framework/src/base/_loading.scss +102 -0
- package/framework/src/base/_reset.scss +138 -0
- package/framework/src/components/_accordion.scss +178 -0
- package/framework/src/components/_all.scss +30 -0
- package/framework/src/components/_autolayout2.scss +38 -0
- package/framework/src/components/_breadcrumb.scss +45 -0
- package/framework/src/components/_card.scss +298 -0
- package/framework/src/components/_countdown.scss +55 -0
- package/framework/src/components/_disclaimer.scss +84 -0
- package/framework/src/components/_divider.scss +18 -0
- package/framework/src/components/_dropdown.scss +128 -0
- package/framework/src/components/_fab.scss +60 -0
- package/framework/src/components/_level.scss +120 -0
- package/framework/src/components/_media.scss +64 -0
- package/framework/src/components/_menu.scss +213 -0
- package/framework/src/components/_modal.scss +201 -0
- package/framework/src/components/_otp.scss +92 -0
- package/framework/src/components/_pagination.scss +182 -0
- package/framework/src/components/_plus-symbol.scss +32 -0
- package/framework/src/components/_popover.scss +340 -0
- package/framework/src/components/_price.scss +209 -0
- package/framework/src/components/_product-tour.scss +131 -0
- package/framework/src/components/_progress-radial.scss +23 -0
- package/framework/src/components/_range.scss +84 -0
- package/framework/src/components/_scroll-view.scss +19 -0
- package/framework/src/components/_search-modal.scss +197 -0
- package/framework/src/components/_segmented-control.scss +60 -0
- package/framework/src/components/_slices.scss +316 -0
- package/framework/src/components/_slider.scss +92 -0
- package/framework/src/components/_stepper.scss +397 -0
- package/framework/src/components/_switch.scss +209 -0
- package/framework/src/components/_tabs.scss +212 -0
- package/framework/src/components/_timeline.scss +367 -0
- package/framework/src/elements/_alert.scss +91 -0
- package/framework/src/elements/_all.scss +35 -0
- package/framework/src/elements/_badge.scss +81 -0
- package/framework/src/elements/_box.scss +267 -0
- package/framework/src/elements/_button.scss +192 -0
- package/framework/src/elements/_checkbox.scss +39 -0
- package/framework/src/elements/_checkradio.scss +173 -0
- package/framework/src/elements/_chips.scss +100 -0
- package/framework/src/elements/_container.scss +108 -0
- package/framework/src/elements/_dot.scss +6 -0
- package/framework/src/elements/_entry.scss +109 -0
- package/framework/src/elements/_form.scss +593 -0
- package/framework/src/elements/_icon.scss +384 -0
- package/framework/src/elements/_image.scss +59 -0
- package/framework/src/elements/_input-gauge.scss +37 -0
- package/framework/src/elements/_input-icons.scss +41 -0
- package/framework/src/elements/_link.scss +79 -0
- package/framework/src/elements/_list.scss +61 -0
- package/framework/src/elements/_loader.scss +126 -0
- package/framework/src/elements/_notification.scss +151 -0
- package/framework/src/elements/_options.scss +146 -0
- package/framework/src/elements/_other.scss +44 -0
- package/framework/src/elements/_paragraph.scss +101 -0
- package/framework/src/elements/_progress.scss +212 -0
- package/framework/src/elements/_radio.scss +67 -0
- package/framework/src/elements/_select.scss +315 -0
- package/framework/src/elements/_sticker.scss +151 -0
- package/framework/src/elements/_switch.scss +108 -0
- package/framework/src/elements/_table.scss +298 -0
- package/framework/src/elements/_tag.scss +131 -0
- package/framework/src/elements/_textarea.scss +125 -0
- package/framework/src/elements/_timeline.scss +283 -0
- package/framework/src/elements/_title.scss +139 -0
- package/framework/src/elements/_toaster.scss +128 -0
- package/framework/src/grid/_all.scss +3 -0
- package/framework/src/grid/_columns.scss +952 -0
- package/framework/src/grid/_rows.scss +47 -0
- package/framework/src/grid/_tiles.scss +78 -0
- package/framework/src/layout/_all.scss +6 -0
- package/framework/src/layout/_hero.scss +268 -0
- package/framework/src/layout/_main.scss +36 -0
- package/framework/src/layout/_section.scss +65 -0
- package/framework/src/layout/_toolbar.scss +100 -0
- package/framework/src/trilogy-core.scss +16 -0
- package/framework/src/trilogy-mangled.scss +14 -0
- package/framework/src/trilogy-namespaced.scss +14 -0
- package/framework/src/trilogy.scss +8 -0
- package/framework/src/utilities/_all.scss +9 -0
- package/framework/src/utilities/_animations.scss +71 -0
- package/framework/src/utilities/_controls.scss +67 -0
- package/framework/src/utilities/_derived-variables.scss +104 -0
- package/framework/src/utilities/_functions.scss +94 -0
- package/framework/src/utilities/_initial-variables.scss +150 -0
- package/framework/src/utilities/_mixins.scss +745 -0
- package/framework/src/utilities/_post.scss +6 -0
- package/framework/src/utilities/_pre.scss +5 -0
- package/framework/src/utilities/_spacing.scss +10 -0
- package/framework/src/utilities/_tools.scss +3 -0
- package/package.json +22 -0
- package/themes/default/src/_all.scss +1 -0
- package/themes/default/src/assets.scss +11 -0
- package/themes/default/src/utilities/_all.scss +0 -0
- package/themes/default/src/utilities/_post.scss +0 -0
- package/themes/default/src/utilities/_pre.scss +3 -0
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
.tab-context {
|
|
2
|
+
@include overflow-touch;
|
|
3
|
+
@include unselectable;
|
|
4
|
+
|
|
5
|
+
align-items: stretch;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
font-weight: $weight-normal;
|
|
8
|
+
background: white;
|
|
9
|
+
width: 100%;
|
|
10
|
+
text-align: center;
|
|
11
|
+
overflow: scroll;
|
|
12
|
+
overflow: -moz-scrollbars-none !important;
|
|
13
|
+
-ms-overflow-style: none !important;
|
|
14
|
+
scrollbar-width: none;
|
|
15
|
+
|
|
16
|
+
@include mobile {
|
|
17
|
+
text-align: left;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&::-webkit-scrollbar {
|
|
21
|
+
width: 0 !important;
|
|
22
|
+
height: 0 !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.is-inverted {
|
|
26
|
+
background-color: getColor('font');
|
|
27
|
+
.tabs > .tab {
|
|
28
|
+
color: getColor('background') !important;
|
|
29
|
+
|
|
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
|
+
}
|
|
46
|
+
|
|
47
|
+
&:focus-visible {
|
|
48
|
+
border-color: getColor('background');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.is-disabled {
|
|
52
|
+
color: getColor('grey-light');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.has-text-left {
|
|
58
|
+
.tabs > .tab:first-child {
|
|
59
|
+
margin-left: 24px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.tabs {
|
|
64
|
+
background-color: transparent;
|
|
65
|
+
height: 48px;
|
|
66
|
+
overflow-x: auto;
|
|
67
|
+
white-space: nowrap;
|
|
68
|
+
display: inline-flex;
|
|
69
|
+
|
|
70
|
+
&.is-centered {
|
|
71
|
+
justify-content: center;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.is-right {
|
|
75
|
+
justify-content: flex-end;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.is-left {
|
|
79
|
+
justify-content: flex-start;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
&.is-fullwidth {
|
|
84
|
+
@include desktop {
|
|
85
|
+
> * {
|
|
86
|
+
flex-grow: 1;
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.is-clipped {
|
|
93
|
+
box-shadow: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.is-icons {
|
|
97
|
+
height: 64px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
@include mobile {
|
|
101
|
+
justify-content: flex-start ;
|
|
102
|
+
> .tab:first-child {
|
|
103
|
+
margin-left: 24px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
> .tab {
|
|
108
|
+
height: calc(100% - 4px);
|
|
109
|
+
background-color: transparent;
|
|
110
|
+
border: none;
|
|
111
|
+
color: getColor('font');
|
|
112
|
+
font-family: $body-family;
|
|
113
|
+
text-decoration: none;
|
|
114
|
+
outline: none;
|
|
115
|
+
padding: 6px;
|
|
116
|
+
font-size: $text-14;
|
|
117
|
+
border: 2px solid transparent;
|
|
118
|
+
border-radius: 4px;
|
|
119
|
+
|
|
120
|
+
&:not(:last-child) {
|
|
121
|
+
margin-right: 16px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.tab-icon {
|
|
125
|
+
margin-top: 2px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&:not(button) {
|
|
129
|
+
.tab-icon {
|
|
130
|
+
margin-top: 4px;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@include mobile {
|
|
135
|
+
font-size: $text-14;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
&.is-active {
|
|
141
|
+
color: getColor('alternate');
|
|
142
|
+
font-weight: $weight-semibold;
|
|
143
|
+
position: relative;
|
|
144
|
+
|
|
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
|
+
}
|
|
157
|
+
|
|
158
|
+
&:hover:not(.is-disabled) {
|
|
159
|
+
color: getColor('alternate');
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
|
|
162
|
+
.icon.is-small [class^=tri-]::before, .icon.is-small [class*=" tri-"]::before {
|
|
163
|
+
font-size: 22px !important;
|
|
164
|
+
background-color: currentColor;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&:focus-visible{
|
|
169
|
+
border-color: currentColor;
|
|
170
|
+
color: getColor('alternate');
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.icon {
|
|
174
|
+
height: 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.icon.is-small, .icon.is-small{
|
|
178
|
+
font-size: 22px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&.is-disabled {
|
|
182
|
+
color: getColor('grey');
|
|
183
|
+
cursor: default;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.tab-panels {
|
|
189
|
+
padding-top: $spacing-3;
|
|
190
|
+
padding-bottom: $spacing-3;
|
|
191
|
+
|
|
192
|
+
.tab-panel {
|
|
193
|
+
transition: opacity 2s ease-in-out;
|
|
194
|
+
transition-delay: 1s;
|
|
195
|
+
&:not(.is-active) {
|
|
196
|
+
display: none;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
&.is-active {
|
|
200
|
+
animation: fade-in 250ms;
|
|
201
|
+
}
|
|
202
|
+
@keyframes fade-in {
|
|
203
|
+
from {
|
|
204
|
+
opacity: 0;
|
|
205
|
+
}
|
|
206
|
+
to {
|
|
207
|
+
opacity: 1;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@import "../utilities/spacing";
|
|
3
|
+
|
|
4
|
+
$timeline-marker-color: getColor('grey-lighter') !default;
|
|
5
|
+
$timeline-marker-icon-size: 2.85em !default;
|
|
6
|
+
$timeline-line-color: getColor('grey-lighter') !default;
|
|
7
|
+
$timeline-marker-size: 0.8em !default;
|
|
8
|
+
$timeline-marker-border-size: 0.1em !default;
|
|
9
|
+
$timeline-marker-border: $timeline-marker-border-size solid
|
|
10
|
+
$timeline-marker-color !default;
|
|
11
|
+
$timeline-line-width: 0.125em !default;
|
|
12
|
+
$timeline-line-style: solid !default;
|
|
13
|
+
$timeline-line: $timeline-line-width $timeline-line-style $timeline-line-color !default;
|
|
14
|
+
$timeline-content-padding: 1em 0 0 16px !default;
|
|
15
|
+
$timeline-rtl-content-padding: 1em 2em 0 0 !default;
|
|
16
|
+
$timeline-icon-size: $size-small !default;
|
|
17
|
+
$timeline-header-width: 4em !default;
|
|
18
|
+
$timeline-image-dimensions: 16 24 32 48 64 96 128 !default;
|
|
19
|
+
|
|
20
|
+
.timeline {
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
|
|
24
|
+
.timeline-header {
|
|
25
|
+
width: $timeline-header-width;
|
|
26
|
+
min-width: $timeline-header-width;
|
|
27
|
+
max-width: $timeline-header-width * 2;
|
|
28
|
+
word-wrap: normal;
|
|
29
|
+
text-align: center;
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
margin-left: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.timeline-item,
|
|
36
|
+
.undone {
|
|
37
|
+
display: flex;
|
|
38
|
+
display: -ms-flexbox;
|
|
39
|
+
display: -webkit-flex;
|
|
40
|
+
position: relative;
|
|
41
|
+
margin-left: 0;
|
|
42
|
+
padding-bottom: $spacing-2;
|
|
43
|
+
|
|
44
|
+
&::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;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.timeline-marker.is-icon {
|
|
58
|
+
background-color: getColor('alternate');
|
|
59
|
+
.icon {
|
|
60
|
+
color: aside;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
&.active {
|
|
67
|
+
.timeline-marker.is-icon {
|
|
68
|
+
background-color: getColor('alternate');
|
|
69
|
+
.icon {
|
|
70
|
+
color: getColor('background');
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.timeline-content {
|
|
74
|
+
p.main-content {
|
|
75
|
+
font-weight: 800;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
&::before {
|
|
79
|
+
content: '';
|
|
80
|
+
background-color: getColor('alternate');
|
|
81
|
+
display: block;
|
|
82
|
+
width: $timeline-line-width;
|
|
83
|
+
position: absolute;
|
|
84
|
+
top: 49.80px;
|
|
85
|
+
left: 3rem;
|
|
86
|
+
bottom: 8px;
|
|
87
|
+
height: auto;
|
|
88
|
+
border-radius: 2px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
}
|
|
92
|
+
&.done {
|
|
93
|
+
.timeline-marker.is-icon {
|
|
94
|
+
background-color: getColor('font');
|
|
95
|
+
.icon {
|
|
96
|
+
color: getColor('background')
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
&::before {
|
|
100
|
+
content: '';
|
|
101
|
+
background-color: getColor('font');
|
|
102
|
+
display: block;
|
|
103
|
+
width: $timeline-line-width;
|
|
104
|
+
position: absolute;
|
|
105
|
+
top: 49.80px;
|
|
106
|
+
left: 3rem;
|
|
107
|
+
bottom: 8px;
|
|
108
|
+
height: auto;
|
|
109
|
+
border-radius: 2px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&.cancel {
|
|
114
|
+
.timeline-marker.is-icon {
|
|
115
|
+
background-color: getColor('grey-light');
|
|
116
|
+
.icon {
|
|
117
|
+
color: getColor('grey-darker');
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
&::before {
|
|
121
|
+
content: '';
|
|
122
|
+
background-color: getColor('grey-light');
|
|
123
|
+
display: block;
|
|
124
|
+
width: $timeline-line-width;
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: 49.80px;
|
|
127
|
+
left: 3rem;
|
|
128
|
+
bottom: 8px;
|
|
129
|
+
height: auto;
|
|
130
|
+
border-radius: 2px;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.timeline-marker {
|
|
135
|
+
position: absolute;
|
|
136
|
+
background: $timeline-marker-color;
|
|
137
|
+
border-radius: 100%;
|
|
138
|
+
content: '';
|
|
139
|
+
display: block;
|
|
140
|
+
height: $timeline-marker-size;
|
|
141
|
+
left: -($timeline-marker-size * 0.5 - $timeline-marker-border-size *
|
|
142
|
+
0.5);
|
|
143
|
+
top: 0;
|
|
144
|
+
width: $timeline-marker-size;
|
|
145
|
+
margin-left: 30px;
|
|
146
|
+
|
|
147
|
+
&.is-image {
|
|
148
|
+
@each $dimension in $timeline-image-dimensions {
|
|
149
|
+
&.is-#{$dimension}x#{$dimension} {
|
|
150
|
+
height: $dimension * 1px;
|
|
151
|
+
width: $dimension * 1px;
|
|
152
|
+
left: $dimension * 0.5 * -1px;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
background: $timeline-marker-color;
|
|
157
|
+
border-radius: 100%;
|
|
158
|
+
display: block;
|
|
159
|
+
overflow: hidden;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&.is-icon {
|
|
163
|
+
display: flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
height: $timeline-marker-icon-size;
|
|
167
|
+
width: $timeline-marker-icon-size;
|
|
168
|
+
left: -($timeline-marker-icon-size * 0.5 -
|
|
169
|
+
$timeline-marker-border-size * 0.5);
|
|
170
|
+
line-height: size(0.75rem);
|
|
171
|
+
padding: math.div($timeline-icon-size, 3);
|
|
172
|
+
background: $timeline-marker-color;
|
|
173
|
+
border-radius: 100%;
|
|
174
|
+
|
|
175
|
+
> i {
|
|
176
|
+
color: getColor('background');
|
|
177
|
+
font-size: $timeline-icon-size !important;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&.is-outlined {
|
|
182
|
+
.image {
|
|
183
|
+
background: getColor('background');
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&.is-icon {
|
|
187
|
+
background: getColor('background');
|
|
188
|
+
|
|
189
|
+
> i {
|
|
190
|
+
color: $timeline-marker-color;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.timeline-content {
|
|
197
|
+
margin-left: 3.7em;
|
|
198
|
+
padding: $spacing-3 0 $spacing-4 $spacing-4;
|
|
199
|
+
|
|
200
|
+
.heading {
|
|
201
|
+
font-size: $text-12;
|
|
202
|
+
color: getColor('grey');
|
|
203
|
+
font-family: $family-sans-serif;
|
|
204
|
+
text-transform: none;
|
|
205
|
+
letter-spacing: 0;
|
|
206
|
+
line-height: 15px;
|
|
207
|
+
font-weight: 500;
|
|
208
|
+
color: #707070;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
p {
|
|
212
|
+
margin-bottom: 4px;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@each $name in $colors-brand-funcionnal {
|
|
217
|
+
$color: getColor($name);
|
|
218
|
+
$brandName: getColorBrandName($name);
|
|
219
|
+
|
|
220
|
+
&.is-#{$brandName} {
|
|
221
|
+
&::before {
|
|
222
|
+
background-color: $color;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&.is-centered {
|
|
229
|
+
.timeline-header {
|
|
230
|
+
display: flex;
|
|
231
|
+
width: 100%;
|
|
232
|
+
align-self: center;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.timeline-item {
|
|
236
|
+
width: 50%;
|
|
237
|
+
align-self: flex-end;
|
|
238
|
+
|
|
239
|
+
&:nth-of-type(2n) {
|
|
240
|
+
align-self: flex-start;
|
|
241
|
+
margin-left: 0;
|
|
242
|
+
margin-right: $timeline-header-width * 0.5;
|
|
243
|
+
|
|
244
|
+
&::before {
|
|
245
|
+
right: -$timeline-line-width;
|
|
246
|
+
left: auto;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.timeline-marker {
|
|
250
|
+
left: auto;
|
|
251
|
+
right: -(
|
|
252
|
+
$timeline-marker-size * 0.5 -
|
|
253
|
+
$timeline-marker-border-size * 0.5
|
|
254
|
+
) - $timeline-line-width;
|
|
255
|
+
|
|
256
|
+
&.is-image {
|
|
257
|
+
@each $dimension in $timeline-image-dimensions {
|
|
258
|
+
&.is-#{$dimension}x#{$dimension} {
|
|
259
|
+
left: auto;
|
|
260
|
+
right: $dimension * 0.5 * -1px;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
&.is-icon {
|
|
266
|
+
left: auto;
|
|
267
|
+
right: -(
|
|
268
|
+
$timeline-marker-icon-size * 0.5 -
|
|
269
|
+
$timeline-marker-border-size * 0.5
|
|
270
|
+
) - $timeline-line-width;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.timeline-content {
|
|
275
|
+
padding: $timeline-rtl-content-padding;
|
|
276
|
+
text-align: right;
|
|
277
|
+
display: flex;
|
|
278
|
+
flex-direction: column;
|
|
279
|
+
align-items: flex-end;
|
|
280
|
+
flex-basis: 100%;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
&:nth-of-type(2n + 1) {
|
|
285
|
+
&::before {
|
|
286
|
+
content: '';
|
|
287
|
+
background-color: $timeline-line-color;
|
|
288
|
+
display: block;
|
|
289
|
+
width: $timeline-line-width;
|
|
290
|
+
height: 100%;
|
|
291
|
+
position: absolute;
|
|
292
|
+
top: 0;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
@each $name, $pair in $colors-brand-funcionnal {
|
|
297
|
+
$color: getColor($name);
|
|
298
|
+
$brandName: getColorBrandName($name);
|
|
299
|
+
|
|
300
|
+
&.is-#{$brandName} {
|
|
301
|
+
&::before {
|
|
302
|
+
background-color: $color;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@include desktop {
|
|
310
|
+
&.is-horizontal {
|
|
311
|
+
flex-direction: row;
|
|
312
|
+
justify-content: space-between;
|
|
313
|
+
|
|
314
|
+
.timeline-item {
|
|
315
|
+
flex-direction: column;
|
|
316
|
+
width: 100%;
|
|
317
|
+
&:not(:last-child) {
|
|
318
|
+
margin-right: 16px;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
&::before {
|
|
322
|
+
content: '';
|
|
323
|
+
background-color: $timeline-line-color;
|
|
324
|
+
display: block;
|
|
325
|
+
width: calc(100% - 58px);
|
|
326
|
+
position: absolute;
|
|
327
|
+
top: 22.89px;
|
|
328
|
+
left: 59px;
|
|
329
|
+
bottom: 8px;
|
|
330
|
+
height: 2px;
|
|
331
|
+
border-radius: 2px;
|
|
332
|
+
}
|
|
333
|
+
&.active::before {
|
|
334
|
+
background-color: getColor('alternate');
|
|
335
|
+
}
|
|
336
|
+
&.undone
|
|
337
|
+
{
|
|
338
|
+
i {
|
|
339
|
+
background-color: getColor('font');
|
|
340
|
+
}
|
|
341
|
+
&::before {
|
|
342
|
+
background-color: getColor('grey-lighter');
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
&.done::before {
|
|
346
|
+
background-color: getColor('font');
|
|
347
|
+
}
|
|
348
|
+
&.cancel::before {
|
|
349
|
+
background-color: getColor('grey-light');
|
|
350
|
+
}
|
|
351
|
+
.timeline-marker {
|
|
352
|
+
position: static ;
|
|
353
|
+
margin-left:0
|
|
354
|
+
}
|
|
355
|
+
.timeline-content {
|
|
356
|
+
margin-left: 0;
|
|
357
|
+
padding:0;
|
|
358
|
+
margin-top: 8px;
|
|
359
|
+
.main-content {
|
|
360
|
+
margin-left: 0;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
a.alert {
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
transition: box-shadow $animation-duration;
|
|
4
|
+
|
|
5
|
+
&:hover,
|
|
6
|
+
&:active,
|
|
7
|
+
&:focus {
|
|
8
|
+
box-shadow: $shadow;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.alert {
|
|
13
|
+
|
|
14
|
+
border-radius: $radius;
|
|
15
|
+
margin-bottom: 16px;
|
|
16
|
+
position: relative;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-self: flex-start;
|
|
19
|
+
box-shadow: none;
|
|
20
|
+
padding: $spacing-4;
|
|
21
|
+
|
|
22
|
+
.text:first-child,
|
|
23
|
+
.title:first-child {
|
|
24
|
+
line-height: normal;
|
|
25
|
+
font-size: $text-16 !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.title,
|
|
29
|
+
.text {
|
|
30
|
+
margin-bottom: 0 !important;
|
|
31
|
+
padding-bottom: $spacing-1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.text:last-child {
|
|
35
|
+
padding-bottom: 0 !important;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.icon {
|
|
39
|
+
padding: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@include mobile {
|
|
43
|
+
flex-wrap: wrap;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
strong {
|
|
47
|
+
color: currentColor;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@each $name, $pair in $colors-feedback {
|
|
51
|
+
$bg-color: nth($pair, 1);
|
|
52
|
+
|
|
53
|
+
&.is-#{$name} {
|
|
54
|
+
background-color: getColor($bg-color);
|
|
55
|
+
border: 2px solid getColor($name);
|
|
56
|
+
|
|
57
|
+
.icon {
|
|
58
|
+
color: getColor($name);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
> .icon {
|
|
64
|
+
flex: none;
|
|
65
|
+
align-self: flex-start;
|
|
66
|
+
|
|
67
|
+
[class^='tri-'],
|
|
68
|
+
[class*=' tri-'] {
|
|
69
|
+
font-size: 20px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
> .body {
|
|
74
|
+
align-self: center;
|
|
75
|
+
margin-bottom: 0;
|
|
76
|
+
flex-grow: 1;
|
|
77
|
+
padding: 1px $spacing-2; /* Fixes flex behavior on Safari mobile */
|
|
78
|
+
|
|
79
|
+
@include mobile {
|
|
80
|
+
flex: 1;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.title,
|
|
85
|
+
.text,
|
|
86
|
+
.paragraph {
|
|
87
|
+
font-size: $text-14;
|
|
88
|
+
text-align: left;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@charset "utf-8";
|
|
2
|
+
@import '../utilities/spacing';
|
|
3
|
+
|
|
4
|
+
@import 'alert';
|
|
5
|
+
@import 'badge';
|
|
6
|
+
@import 'box';
|
|
7
|
+
@import 'button';
|
|
8
|
+
@import 'chips';
|
|
9
|
+
@import 'checkbox';
|
|
10
|
+
@import 'checkradio';
|
|
11
|
+
@import 'container';
|
|
12
|
+
@import 'dot';
|
|
13
|
+
@import 'entry';
|
|
14
|
+
@import 'form';
|
|
15
|
+
@import 'icon';
|
|
16
|
+
@import 'image';
|
|
17
|
+
@import 'loader';
|
|
18
|
+
@import 'link';
|
|
19
|
+
@import 'list';
|
|
20
|
+
@import 'notification';
|
|
21
|
+
@import 'toaster';
|
|
22
|
+
@import 'options';
|
|
23
|
+
@import 'progress';
|
|
24
|
+
@import 'paragraph';
|
|
25
|
+
@import 'radio';
|
|
26
|
+
@import 'switch';
|
|
27
|
+
@import 'table';
|
|
28
|
+
@import 'tag';
|
|
29
|
+
@import 'title';
|
|
30
|
+
@import 'other';
|
|
31
|
+
@import 'select';
|
|
32
|
+
@import 'sticker';
|
|
33
|
+
@import 'textarea';
|
|
34
|
+
@import 'input-gauge';
|
|
35
|
+
@import 'input-icons';
|