@trilogy-ds/styles 0.0.1-alpha-prompt
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/README.md +47 -0
- package/dist/default/assets/icons/all/alert.svg +1 -0
- package/dist/default/assets/icons/all/arrow-down.svg +1 -0
- package/dist/default/assets/icons/all/arrow-left.svg +1 -0
- package/dist/default/assets/icons/all/arrow-right.svg +1 -0
- package/dist/default/assets/icons/all/arrow-up.svg +1 -0
- package/dist/default/assets/icons/all/attachment.svg +1 -0
- package/dist/default/assets/icons/all/bell.svg +1 -0
- package/dist/default/assets/icons/all/calendar.svg +1 -0
- package/dist/default/assets/icons/all/check-circle.svg +1 -0
- package/dist/default/assets/icons/all/check.svg +1 -0
- package/dist/default/assets/icons/all/exclamation-circle.svg +1 -0
- package/dist/default/assets/icons/all/eye-slash.svg +1 -0
- package/dist/default/assets/icons/all/eye.svg +1 -0
- package/dist/default/assets/icons/all/file-attached.svg +1 -0
- package/dist/default/assets/icons/all/infos-circle.svg +1 -0
- package/dist/default/assets/icons/all/micro.svg +1 -0
- package/dist/default/assets/icons/all/search.svg +1 -0
- package/dist/default/assets/icons/all/times.svg +1 -0
- package/dist/default/assets/icons/all/trash.svg +1 -0
- package/dist/default/trilogy-mangled.css +1 -0
- package/dist/default/trilogy-partials.css +1 -0
- package/dist/default/trilogy.css +1 -0
- package/framework/src/_all.scss +8 -0
- package/framework/src/base/_all.scss +9 -0
- package/framework/src/base/_color.scss +7 -0
- package/framework/src/base/_elements.scss +34 -0
- package/framework/src/base/_fonts.scss +2 -0
- package/framework/src/base/_generic.scss +76 -0
- package/framework/src/base/_helpers.scss +875 -0
- package/framework/src/base/_loading.scss +109 -0
- package/framework/src/base/_reset.scss +148 -0
- package/framework/src/components/_accordion.scss +144 -0
- package/framework/src/components/_autocomplete.scss +38 -0
- package/framework/src/components/_autolayout.scss +332 -0
- package/framework/src/components/_badge.scss +87 -0
- package/framework/src/components/_box.scss +168 -0
- package/framework/src/components/_breadcrumb.scss +36 -0
- package/framework/src/components/_button.scss +79 -0
- package/framework/src/components/_calendar.scss +129 -0
- package/framework/src/components/_card.scss +244 -0
- package/framework/src/components/_checkbox.scss +71 -0
- package/framework/src/components/_chips.scss +84 -0
- package/framework/src/components/_container.scss +69 -0
- package/framework/src/components/_countdown.scss +57 -0
- package/framework/src/components/_date-picker.scss +58 -0
- package/framework/src/components/_divider.scss +52 -0
- package/framework/src/components/_dropdown.scss +195 -0
- package/framework/src/components/_fab.scss +47 -0
- package/framework/src/components/_flex-box.scss +994 -0
- package/framework/src/components/_icon.scss +384 -0
- package/framework/src/components/_image.scss +69 -0
- package/framework/src/components/_index.scss +51 -0
- package/framework/src/components/_link.scss +58 -0
- package/framework/src/components/_list.scss +66 -0
- package/framework/src/components/_loader.scss +126 -0
- package/framework/src/components/_modal.scss +232 -0
- package/framework/src/components/_otp.scss +73 -0
- package/framework/src/components/_pagination.scss +83 -0
- package/framework/src/components/_popover.scss +340 -0
- package/framework/src/components/_price.scss +184 -0
- package/framework/src/components/_product-tour.scss +129 -0
- package/framework/src/components/_prompt.scss +125 -0
- package/framework/src/components/_radio.scss +82 -0
- package/framework/src/components/_range.scss +85 -0
- package/framework/src/components/_scroll-view.scss +19 -0
- package/framework/src/components/_segmented-control.scss +62 -0
- package/framework/src/components/_select.scss +131 -0
- package/framework/src/components/_stepper.scss +217 -0
- package/framework/src/components/_sticker.scss +148 -0
- package/framework/src/components/_switch.scss +115 -0
- package/framework/src/components/_table.scss +244 -0
- package/framework/src/components/_tabs.scss +228 -0
- package/framework/src/components/_tag.scss +114 -0
- package/framework/src/components/_text.scss +55 -0
- package/framework/src/components/_textarea.scss +46 -0
- package/framework/src/components/_timeline.scss +282 -0
- package/framework/src/components/_title.scss +151 -0
- package/framework/src/components/alert/_alert.scss +94 -0
- package/framework/src/components/alert/_index.scss +2 -0
- package/framework/src/components/alert/_toaster.scss +124 -0
- package/framework/src/components/input/_entry.scss +135 -0
- package/framework/src/components/input/_form.scss +602 -0
- package/framework/src/components/input/_index.scss +4 -0
- package/framework/src/components/input/_input-gauge.scss +44 -0
- package/framework/src/components/input/_input-icons.scss +55 -0
- package/framework/src/components/progress/_index.scss +2 -0
- package/framework/src/components/progress/_progress-radial.scss +28 -0
- package/framework/src/components/progress/_progress.scss +223 -0
- package/framework/src/elements/_index.scss +5 -0
- package/framework/src/elements/_other.scss +3 -0
- package/framework/src/elements/_plus-symbol.scss +32 -0
- package/framework/src/grid/_all.scss +3 -0
- package/framework/src/grid/_columns.scss +467 -0
- package/framework/src/grid/_rows.scss +54 -0
- package/framework/src/grid/_tiles.scss +78 -0
- package/framework/src/layout/_all.scss +5 -0
- package/framework/src/layout/_hero.scss +146 -0
- package/framework/src/layout/_main.scss +36 -0
- package/framework/src/layout/_section.scss +46 -0
- package/framework/src/theming/_all.scss +3 -0
- package/framework/src/theming/buttons_partial.scss +32 -0
- package/framework/src/theming/common_partials.scss +10 -0
- package/framework/src/theming/links_partial.scss +20 -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/_a11y.scss +13 -0
- package/framework/src/utilities/_all.scss +13 -0
- package/framework/src/utilities/_animations.scss +71 -0
- package/framework/src/utilities/_background.scss +21 -0
- package/framework/src/utilities/_controls.scss +56 -0
- package/framework/src/utilities/_derived-variables.scss +1 -0
- package/framework/src/utilities/_functions.scss +94 -0
- package/framework/src/utilities/_initial-variables.scss +10 -0
- package/framework/src/utilities/_post.scss +6 -0
- package/framework/src/utilities/_pre.scss +8 -0
- package/framework/src/utilities/_spacing.scss +10 -0
- package/framework/src/utilities/_tools.scss +3 -0
- 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 +294 -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 +174 -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/variables/_color.scss +85 -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 +28 -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,602 @@
|
|
|
1
|
+
$file-radius: $radius;
|
|
2
|
+
$file-name-max-width: 16em;
|
|
3
|
+
$field-margin: 20px;
|
|
4
|
+
$help-size: $size-small;
|
|
5
|
+
$label-weight: $weight-bold;
|
|
6
|
+
|
|
7
|
+
.field {
|
|
8
|
+
&.is-fullwidth {
|
|
9
|
+
div.control {
|
|
10
|
+
flex: 1;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
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
|
+
|
|
24
|
+
@include mobile {
|
|
25
|
+
&.is-very-short,
|
|
26
|
+
&.is-short {
|
|
27
|
+
width: 50%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.is-long,
|
|
31
|
+
&.is-very-long {
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@include tablet {
|
|
37
|
+
&.is-very-short {
|
|
38
|
+
width: 130px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.is-short {
|
|
42
|
+
width: 270px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.is-long {
|
|
46
|
+
width: 400px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.is-very-long {
|
|
50
|
+
width: 500px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.select {
|
|
55
|
+
@extend .is-fullwidth;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.has-addons {
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: flex-start;
|
|
61
|
+
|
|
62
|
+
.control {
|
|
63
|
+
&:not(:last-child) {
|
|
64
|
+
margin-right: -1px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:not(:first-child):not(:last-child) {
|
|
68
|
+
.button,
|
|
69
|
+
.input,
|
|
70
|
+
.select select {
|
|
71
|
+
border-radius: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&:first-child {
|
|
76
|
+
.button,
|
|
77
|
+
.input,
|
|
78
|
+
.select select {
|
|
79
|
+
border-bottom-right-radius: 0;
|
|
80
|
+
border-top-right-radius: 0;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:last-child {
|
|
85
|
+
.button,
|
|
86
|
+
.input,
|
|
87
|
+
.select select {
|
|
88
|
+
border-bottom-left-radius: 0;
|
|
89
|
+
border-top-left-radius: 0;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.button,
|
|
94
|
+
.input,
|
|
95
|
+
.textarea,
|
|
96
|
+
.select select {
|
|
97
|
+
&:hover {
|
|
98
|
+
z-index: zindex('tiny');
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&:focus,
|
|
102
|
+
&:active {
|
|
103
|
+
z-index: zindex('small');
|
|
104
|
+
|
|
105
|
+
&:hover {
|
|
106
|
+
z-index: zindex('medium');
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&.is-expanded {
|
|
112
|
+
flex-grow: 1;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&.has-addons-centered {
|
|
117
|
+
justify-content: center;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&.has-addons-right {
|
|
121
|
+
justify-content: flex-end;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.has-addons-fullwidth {
|
|
125
|
+
.control {
|
|
126
|
+
flex-grow: 1;
|
|
127
|
+
flex-shrink: 0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.is-grouped {
|
|
133
|
+
display: flex;
|
|
134
|
+
justify-content: flex-start;
|
|
135
|
+
|
|
136
|
+
& > .control {
|
|
137
|
+
flex-shrink: 0;
|
|
138
|
+
|
|
139
|
+
&:not(:last-child) {
|
|
140
|
+
margin-bottom: 0;
|
|
141
|
+
margin-right: 7.5px;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&.is-expanded {
|
|
145
|
+
flex-grow: 1;
|
|
146
|
+
flex-shrink: 1;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&.is-grouped-centered {
|
|
151
|
+
justify-content: center;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&.is-grouped-right {
|
|
155
|
+
justify-content: flex-end;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.is-grouped-multiline {
|
|
159
|
+
flex-wrap: wrap;
|
|
160
|
+
|
|
161
|
+
& > .control {
|
|
162
|
+
&:last-child,
|
|
163
|
+
&:not(:last-child) {
|
|
164
|
+
margin-bottom: 7.5px;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&:last-child {
|
|
169
|
+
margin-bottom: -7.5px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:not(:last-child) {
|
|
173
|
+
margin-bottom: 0;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&.is-horizontal {
|
|
179
|
+
@include tablet {
|
|
180
|
+
display: flex;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.control {
|
|
186
|
+
font-size: $size-normal;
|
|
187
|
+
position: relative;
|
|
188
|
+
text-align: left;
|
|
189
|
+
|
|
190
|
+
&.has-icons-left,
|
|
191
|
+
&.has-icons-right {
|
|
192
|
+
.input,
|
|
193
|
+
.textarea,
|
|
194
|
+
.select {
|
|
195
|
+
&:focus {
|
|
196
|
+
& ~ .icon {
|
|
197
|
+
color: getColor('font');
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
~ .icon {
|
|
202
|
+
[class^='tri-'],
|
|
203
|
+
[class*=' tri-'] {
|
|
204
|
+
font-size: 20px;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.icon {
|
|
210
|
+
color: getColor('font');
|
|
211
|
+
position: absolute;
|
|
212
|
+
top: 0;
|
|
213
|
+
height: 100%;
|
|
214
|
+
width: 40px;
|
|
215
|
+
pointer-events: auto;
|
|
216
|
+
z-index: zindex('void');
|
|
217
|
+
padding: 10px;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.input {
|
|
221
|
+
@each $name, $pair in $colors-feedback {
|
|
222
|
+
&.is-#{$name} {
|
|
223
|
+
~ .icon {
|
|
224
|
+
color: fadeColor($name);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&.is-error {
|
|
230
|
+
border-color: getColor('error');
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.textarea {
|
|
235
|
+
@each $name, $pair in $colors-feedback {
|
|
236
|
+
&.is-#{$name} {
|
|
237
|
+
~ .icon {
|
|
238
|
+
color: fadeColor($name);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
&.is-error {
|
|
244
|
+
border-color: getColor('error');
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&.has-icons-left {
|
|
250
|
+
.input,
|
|
251
|
+
.textarea,
|
|
252
|
+
.select select {
|
|
253
|
+
padding-left: 45px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.icon {
|
|
257
|
+
left: 0;
|
|
258
|
+
border-top-left-radius: $radius;
|
|
259
|
+
border-bottom-left-radius: $radius;
|
|
260
|
+
padding: 0 24px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
& .textarea + label {
|
|
264
|
+
left: 5rem;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
& .textarea + label + .icon {
|
|
268
|
+
display: inherit;
|
|
269
|
+
padding-top: $spacing-4;
|
|
270
|
+
margin: 0 16px;
|
|
271
|
+
width: auto;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.textarea-counter {
|
|
275
|
+
position: absolute;
|
|
276
|
+
bottom: 5px;
|
|
277
|
+
right: 16px;
|
|
278
|
+
font-size: $text-10;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.is-error ~ .textarea-counter {
|
|
282
|
+
bottom: 28px;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&.has-icons-right {
|
|
287
|
+
.input,
|
|
288
|
+
.textarea,
|
|
289
|
+
.select select {
|
|
290
|
+
padding-right: 45px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.icon {
|
|
294
|
+
right: 0;
|
|
295
|
+
border-top-right-radius: $radius;
|
|
296
|
+
border-bottom-right-radius: $radius;
|
|
297
|
+
padding: 0 24px;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
/** Dynamic placeholders **/
|
|
302
|
+
&.has-dynamic-placeholder {
|
|
303
|
+
|
|
304
|
+
::placeholder {
|
|
305
|
+
color: black;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
textarea:not(:placeholder-shown) {
|
|
310
|
+
padding-top: $spacing-5;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
.input ~ label {
|
|
315
|
+
top: 10px;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.icon {
|
|
319
|
+
color: getColor('font');
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
label {
|
|
323
|
+
position: absolute;
|
|
324
|
+
top: 10px;
|
|
325
|
+
left: 16px;
|
|
326
|
+
border-left: transparent 1px solid;
|
|
327
|
+
font-size: $text-12;
|
|
328
|
+
color: getColor('font');
|
|
329
|
+
filter: grayscale(1);
|
|
330
|
+
transform: translateY(0);
|
|
331
|
+
transition: all 0.2s ease-out;
|
|
332
|
+
z-index: zindex('small');
|
|
333
|
+
white-space: nowrap;
|
|
334
|
+
text-overflow: ellipsis;
|
|
335
|
+
max-width: calc(100% - 4em);
|
|
336
|
+
overflow: hidden;
|
|
337
|
+
pointer-events: none;
|
|
338
|
+
user-select: none;
|
|
339
|
+
line-height: 14px;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&.has-icons-left label {
|
|
343
|
+
left: 45px;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
select:not(.no-label) {
|
|
347
|
+
padding-top: 19px;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.input {
|
|
351
|
+
padding-top: 19px;
|
|
352
|
+
|
|
353
|
+
&:placeholder-shown {
|
|
354
|
+
padding-top: 0.375em;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
&:-ms-input-placeholder {
|
|
358
|
+
padding-top: 0.375em;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
textarea {
|
|
363
|
+
padding-top: $spacing-4;
|
|
364
|
+
padding-bottom: $spacing-2 !important;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
input:placeholder-shown ~ label,
|
|
368
|
+
textarea:placeholder-shown ~ label {
|
|
369
|
+
visibility: hidden;
|
|
370
|
+
opacity: 0;
|
|
371
|
+
font-size: $size-normal;
|
|
372
|
+
transform: translateY(10px);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
input:-ms-input-placeholder ~ label {
|
|
376
|
+
visibility: hidden;
|
|
377
|
+
opacity: 0;
|
|
378
|
+
font-size: $size-normal;
|
|
379
|
+
transform: translateY(10px);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
&.has-icons-left.has-dynamic-placeholder .textarea + label {
|
|
384
|
+
left: 50px;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
&.has-password-discover {
|
|
388
|
+
.input {
|
|
389
|
+
~ .icon:not(:last-child) {
|
|
390
|
+
color: getColor('neutral');
|
|
391
|
+
background-color: transparent;
|
|
392
|
+
right: 45px;
|
|
393
|
+
cursor: pointer;
|
|
394
|
+
|
|
395
|
+
&:hover,
|
|
396
|
+
&:focus {
|
|
397
|
+
color: getColor('neutral');
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
+ .help {
|
|
404
|
+
font-size: $text-12;
|
|
405
|
+
font-weight: $weight-medium;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.is-searching {
|
|
409
|
+
background-color: transparent;
|
|
410
|
+
border-top-right-radius: $radius;
|
|
411
|
+
border-bottom-right-radius: $radius;
|
|
412
|
+
height: 100%;
|
|
413
|
+
position: absolute;
|
|
414
|
+
right: 0;
|
|
415
|
+
top: 0;
|
|
416
|
+
width: 45px;
|
|
417
|
+
|
|
418
|
+
&::after {
|
|
419
|
+
@include spinner();
|
|
420
|
+
@include center(1em);
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
&.is-loading {
|
|
425
|
+
&::after {
|
|
426
|
+
@include spinner();
|
|
427
|
+
|
|
428
|
+
position: absolute !important;
|
|
429
|
+
right: 0.625em;
|
|
430
|
+
top: 0.625em;
|
|
431
|
+
z-index: zindex('small');
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
&.is-small::after {
|
|
435
|
+
font-size: $size-small;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
&.is-large::after {
|
|
439
|
+
font-size: $size-large;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
&:has(input[disabled]), &:has(select[disabled]), &:has(textarea[disabled]) {
|
|
444
|
+
@include disabledRulesWithoutBG;
|
|
445
|
+
.icon {
|
|
446
|
+
color: getColor('disabled');
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.field-label {
|
|
452
|
+
.label {
|
|
453
|
+
font-size: inherit;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
@include mobile {
|
|
457
|
+
margin-bottom: 5px;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
@include tablet {
|
|
461
|
+
flex-basis: 0;
|
|
462
|
+
flex-grow: 1;
|
|
463
|
+
flex-shrink: 0;
|
|
464
|
+
margin-right: 16px;
|
|
465
|
+
text-align: right;
|
|
466
|
+
|
|
467
|
+
&.is-small {
|
|
468
|
+
font-size: $size-small;
|
|
469
|
+
padding-top: 0.375em;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
&.is-normal {
|
|
473
|
+
padding-top: 0.375em;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
&.is-large {
|
|
477
|
+
font-size: $size-large;
|
|
478
|
+
padding-top: 0.375em;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.field-body {
|
|
484
|
+
.field .field {
|
|
485
|
+
margin-bottom: 0;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
@include tablet {
|
|
489
|
+
display: flex;
|
|
490
|
+
flex-basis: 0;
|
|
491
|
+
flex-grow: 5;
|
|
492
|
+
flex-shrink: 1;
|
|
493
|
+
|
|
494
|
+
.field {
|
|
495
|
+
margin-bottom: 0;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
& > .field {
|
|
499
|
+
flex-shrink: 1;
|
|
500
|
+
|
|
501
|
+
&:not(.is-narrow) {
|
|
502
|
+
flex-grow: 1;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
&:not(:last-child) {
|
|
506
|
+
margin-right: 7.5px;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.file {
|
|
513
|
+
@include unselectable;
|
|
514
|
+
|
|
515
|
+
align-items: stretch;
|
|
516
|
+
display: flex;
|
|
517
|
+
justify-content: flex-start;
|
|
518
|
+
position: relative;
|
|
519
|
+
|
|
520
|
+
// Sizes
|
|
521
|
+
&.is-small {
|
|
522
|
+
font-size: $size-small;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
&.is-large {
|
|
526
|
+
font-size: $size-large;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
&.is-centered {
|
|
530
|
+
justify-content: center;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
&.is-right {
|
|
534
|
+
justify-content: flex-end;
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.is-horizontal {
|
|
539
|
+
.field:not(:first-child) {
|
|
540
|
+
margin-top: 0;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
&.is-mobile {
|
|
544
|
+
@include mobile {
|
|
545
|
+
.field-body {
|
|
546
|
+
display: flex;
|
|
547
|
+
|
|
548
|
+
.field {
|
|
549
|
+
margin-bottom: 0;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
& > .field {
|
|
553
|
+
&:not(:last-child) {
|
|
554
|
+
margin-right: 7.5px;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.label {
|
|
563
|
+
color: getColor('neutral');
|
|
564
|
+
display: block;
|
|
565
|
+
font-size: $size-normal;
|
|
566
|
+
font-weight: $label-weight;
|
|
567
|
+
|
|
568
|
+
&:not(:last-child) {
|
|
569
|
+
margin-bottom: 0.5em;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
// Sizes
|
|
573
|
+
&.is-small {
|
|
574
|
+
font-size: $size-small;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
&.is-large {
|
|
578
|
+
font-size: $size-large;
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.help {
|
|
583
|
+
display: block;
|
|
584
|
+
font-size: $help-size;
|
|
585
|
+
margin-top: 2.5px;
|
|
586
|
+
|
|
587
|
+
@each $name, $pair in $colors-brand-functionnal {
|
|
588
|
+
$color: getColor($name);
|
|
589
|
+
$brandName: getColorBrandName($name);
|
|
590
|
+
|
|
591
|
+
&.is-#{$brandName} {
|
|
592
|
+
color: $color;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
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,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,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
|
+
}
|