@trilogy-ds/styles 0.0.3-calendar → 0.0.3-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.
- package/dist/default/assets/icons/all/arrow-high.svg +1 -0
- package/dist/default/assets/icons/all/calendar.svg +1 -0
- package/dist/default/assets/icons/all/clock.svg +1 -0
- package/dist/default/assets/icons/all/file-attached.svg +1 -0
- package/dist/default/assets/icons/all/micro.svg +1 -0
- package/dist/default/assets/icons/all/paperclip.svg +1 -0
- package/dist/default/trilogy-mangled.css +1 -1
- package/dist/default/trilogy-partials.css +1 -1
- package/dist/default/trilogy.css +1 -1
- package/framework/src/base/_all.scss +0 -1
- package/framework/src/components/_accordion.scss +1 -9
- package/framework/src/components/_autocomplete.scss +5 -0
- package/framework/src/components/_autolayout.scss +12 -6
- package/framework/src/components/_box.scss +1 -1
- package/framework/src/components/_button.scss +7 -0
- package/framework/src/components/_calendar.scss +11 -10
- package/framework/src/components/_card.scss +3 -3
- package/framework/src/components/_checkbox.scss +6 -4
- package/framework/src/components/_container.scss +0 -7
- package/framework/src/components/_date-picker.scss +58 -0
- package/framework/src/components/_divider.scss +28 -4
- package/framework/src/components/_dropdown.scss +195 -0
- package/framework/src/components/_flex-box.scss +590 -42
- package/framework/src/components/_icon.scss +9 -8
- package/framework/src/components/_index.scss +5 -0
- package/framework/src/components/_link.scss +4 -0
- package/framework/src/components/_prompt.scss +156 -0
- package/framework/src/components/_radio.scss +8 -5
- package/framework/src/components/_stepper.scss +46 -9
- package/framework/src/components/_sticker.scss +14 -6
- package/framework/src/components/_table.scss +8 -8
- package/framework/src/components/_tabs.scss +14 -1
- package/framework/src/components/_timepicker-circular.scss +88 -0
- package/framework/src/components/_timepicker.scss +79 -0
- package/framework/src/components/alert/_alert.scss +2 -2
- package/framework/src/components/input/_input-icons.scss +2 -2
- package/framework/src/components/progress/_progress.scss +0 -2
- package/framework/src/theming/buttons_partial.scss +2 -2
- package/framework/src/trilogy.scss +1 -0
- package/framework/src/utilities/mixins/_mixins.scss +97 -18
- package/framework/src/utilities/mixins/_responsiveness.scss +99 -9
- package/framework/src/utilities/variables/_color.scss +1 -0
- package/framework/src/utilities/variables/_responsiveness.scss +4 -4
- package/package.json +6 -1
|
@@ -7,20 +7,20 @@ $icon-padding-default: 8px;
|
|
|
7
7
|
$icon-dimensions-default: 15px;
|
|
8
8
|
|
|
9
9
|
$size: (
|
|
10
|
-
'
|
|
11
|
-
container: 20px, icon:
|
|
10
|
+
'smaller': (
|
|
11
|
+
container: 20px, icon:16px, radius: var(--radius-small)
|
|
12
12
|
),
|
|
13
13
|
'small': (
|
|
14
|
-
container: 32px, icon: 20px
|
|
14
|
+
container: 32px, icon: 20px, radius: var(--radius-small)
|
|
15
15
|
),
|
|
16
16
|
'medium': (
|
|
17
|
-
container: 48px, icon: 32px
|
|
17
|
+
container: 48px, icon: 32px, radius: var(--radius-medium)
|
|
18
18
|
),
|
|
19
19
|
'large': (
|
|
20
|
-
container: 66px, icon: 44px
|
|
20
|
+
container: 66px, icon: 44px, radius: var(--radius-medium)
|
|
21
21
|
),
|
|
22
22
|
'huge': (
|
|
23
|
-
container: 99px, icon: 66px
|
|
23
|
+
container: 99px, icon: 66px, radius: var(--radius-large)
|
|
24
24
|
)
|
|
25
25
|
);
|
|
26
26
|
|
|
@@ -31,7 +31,7 @@ $size: (
|
|
|
31
31
|
font-size: inherit;
|
|
32
32
|
width: 1.5em;
|
|
33
33
|
height: 1.5em;
|
|
34
|
-
|
|
34
|
+
border-radius: var(--radius-small);
|
|
35
35
|
[class^="tri-"],
|
|
36
36
|
[class*=" tri-"] {
|
|
37
37
|
&::before {
|
|
@@ -53,6 +53,7 @@ $size: (
|
|
|
53
53
|
@each $name, $sizeConfig in $size {
|
|
54
54
|
&.is-#{$name} {
|
|
55
55
|
font-size: map.get($sizeConfig, 'icon');
|
|
56
|
+
border-radius: map.get($sizeConfig, 'radius');
|
|
56
57
|
[class^="tri-picto-"],
|
|
57
58
|
[class*=" tri-picto-"] {
|
|
58
59
|
min-height: 1.5em !important;
|
|
@@ -91,7 +92,7 @@ $size: (
|
|
|
91
92
|
|
|
92
93
|
&.is-stretched {
|
|
93
94
|
transform: skewX(-#{$icon-stretching-level});
|
|
94
|
-
border-
|
|
95
|
+
border-radius: 0 9px 0 0;
|
|
95
96
|
background-color: getColor('font');
|
|
96
97
|
|
|
97
98
|
[class^="tri-"],
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
@import 'chips';
|
|
16
16
|
@import 'container';
|
|
17
17
|
@import 'countdown';
|
|
18
|
+
@import 'date-picker';
|
|
19
|
+
@import 'dropdown';
|
|
18
20
|
@import 'divider';
|
|
19
21
|
@import 'fab';
|
|
20
22
|
@import 'flex-box';
|
|
@@ -46,3 +48,6 @@
|
|
|
46
48
|
@import 'textarea';
|
|
47
49
|
@import 'timeline';
|
|
48
50
|
@import 'title';
|
|
51
|
+
@import 'prompt';
|
|
52
|
+
@import 'timepicker-circular';
|
|
53
|
+
@import 'timepicker'
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
$height-prompt-item: 64px;
|
|
2
|
+
|
|
3
|
+
.prompt {
|
|
4
|
+
box-shadow: 0 0 0 1px var(--color-stroke);
|
|
5
|
+
border-radius: var(--radius-small);
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
background-color: getColor('background');
|
|
8
|
+
&[aria-disabled=true] {
|
|
9
|
+
background-color: getColor('disabled-fade') !important;
|
|
10
|
+
border: 1px solid getColor('disabled');
|
|
11
|
+
}
|
|
12
|
+
* {
|
|
13
|
+
margin-bottom: 0px !important;
|
|
14
|
+
}
|
|
15
|
+
&:focus-within {
|
|
16
|
+
box-shadow: 0 0 0 2px currentColor;
|
|
17
|
+
}
|
|
18
|
+
&.is-disabled {
|
|
19
|
+
box-shadow: 0 0 0 1px getColor('disabled') !important;
|
|
20
|
+
}
|
|
21
|
+
&-textarea {
|
|
22
|
+
textarea {
|
|
23
|
+
outline: none !important;
|
|
24
|
+
border: 0px !important;
|
|
25
|
+
background-color: initial !important;
|
|
26
|
+
min-height: 20px !important;
|
|
27
|
+
max-height: 180px !important;
|
|
28
|
+
transition: height 0.1s ease;
|
|
29
|
+
padding: 16px !important;
|
|
30
|
+
height: auto;
|
|
31
|
+
resize: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&-files {
|
|
35
|
+
padding: 16px 16px 0px 16px !important;
|
|
36
|
+
margin:0 !important;
|
|
37
|
+
&-img {
|
|
38
|
+
border-radius: 8px;
|
|
39
|
+
}
|
|
40
|
+
&-file {
|
|
41
|
+
width: $height-prompt-item;
|
|
42
|
+
height: $height-prompt-item;
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
45
|
+
&-file-name {
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
text-overflow: ellipsis;
|
|
49
|
+
}
|
|
50
|
+
&-doc {
|
|
51
|
+
width: fit-content;
|
|
52
|
+
max-width: 264px;
|
|
53
|
+
&-preview {
|
|
54
|
+
width: 40px;
|
|
55
|
+
height: 40px;
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
box-shadow: none;
|
|
60
|
+
.box-content {
|
|
61
|
+
margin: 0px !important;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-preview-content {
|
|
66
|
+
max-width: calc(100% - 56px);
|
|
67
|
+
}
|
|
68
|
+
&-card-content {
|
|
69
|
+
padding:8px !important
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
&-delete {
|
|
73
|
+
background-color: getColor('main-fade');
|
|
74
|
+
border-radius: 100px;
|
|
75
|
+
height: 20px;
|
|
76
|
+
width: 20px;
|
|
77
|
+
}
|
|
78
|
+
&-delete-img {
|
|
79
|
+
position: absolute;
|
|
80
|
+
top: 2px;
|
|
81
|
+
right: 2px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
&-toolbar {
|
|
85
|
+
display: flex;
|
|
86
|
+
gap: 16px;
|
|
87
|
+
padding: 0px 16px 16px 16px;
|
|
88
|
+
align-items: center;
|
|
89
|
+
justify-content: flex-end;
|
|
90
|
+
&-tools {
|
|
91
|
+
display: flex;
|
|
92
|
+
gap: 16px;
|
|
93
|
+
align-items: end;
|
|
94
|
+
margin-right: auto;
|
|
95
|
+
}
|
|
96
|
+
&-tool {
|
|
97
|
+
height: 36px;
|
|
98
|
+
select {
|
|
99
|
+
height: 36px;
|
|
100
|
+
border-width: 0px !important;
|
|
101
|
+
max-width: 180px;
|
|
102
|
+
&:focus {
|
|
103
|
+
padding-left: 16px !important;
|
|
104
|
+
}
|
|
105
|
+
@include mobile {
|
|
106
|
+
max-width: 110px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
.field .control::after {
|
|
110
|
+
right: 0px !important;
|
|
111
|
+
}
|
|
112
|
+
&.active {
|
|
113
|
+
background-color: getColor('main') !important;
|
|
114
|
+
.icon i {
|
|
115
|
+
background-color: getColor('background');
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
&[disabled], &.is-disabled {
|
|
119
|
+
background-color: getColor('disabled-fade') !important;
|
|
120
|
+
cursor: not-allowed;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
&-tool.icon_only {
|
|
124
|
+
width: 36px !important;
|
|
125
|
+
}
|
|
126
|
+
&-microphone {
|
|
127
|
+
border-radius: 100px;
|
|
128
|
+
}
|
|
129
|
+
&-tool-submit.streaming {
|
|
130
|
+
padding: 0;
|
|
131
|
+
}
|
|
132
|
+
&-tool-submit:not(.active):not(:disabled) {
|
|
133
|
+
background-color: getColor('disabled-fade') !important;
|
|
134
|
+
&:hover {
|
|
135
|
+
filter: brightness(1) !important;
|
|
136
|
+
cursor: default !important;
|
|
137
|
+
}
|
|
138
|
+
i {
|
|
139
|
+
background-color: getColor('disabled') !important;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
&-tool-submit:disabled {
|
|
143
|
+
background-color: getColor('disabled') !important;
|
|
144
|
+
i {
|
|
145
|
+
background-color: getColor('disabled-fade') !important;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&-stop_streaming {
|
|
151
|
+
background-color: getColor('background');
|
|
152
|
+
height: 16px;
|
|
153
|
+
width: 16px;
|
|
154
|
+
border-radius: 3px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
|
|
32
32
|
.radio,
|
|
33
33
|
.radio-tile {
|
|
34
|
-
input:checked ~ label.radio-label
|
|
34
|
+
input:checked ~ label.radio-label,
|
|
35
|
+
input:checked ~ .radio-container {
|
|
35
36
|
cursor: default;
|
|
36
37
|
|
|
37
38
|
&:after {
|
|
@@ -41,7 +42,8 @@
|
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
|
|
44
|
-
label.radio-label
|
|
45
|
+
label.radio-label,
|
|
46
|
+
.radio-container {
|
|
45
47
|
&:before,
|
|
46
48
|
&:after {
|
|
47
49
|
border-radius: 9999px;
|
|
@@ -61,18 +63,19 @@
|
|
|
61
63
|
@include hoverRules()
|
|
62
64
|
}
|
|
63
65
|
}
|
|
64
|
-
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
.radio-tile {
|
|
68
|
-
input:checked ~ label.radio-label
|
|
69
|
+
input:checked ~ label.radio-label,
|
|
70
|
+
input:checked ~ .radio-container {
|
|
69
71
|
&:after {
|
|
70
72
|
top: 18px;
|
|
71
73
|
left: 18px;
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
|
|
75
|
-
input:checked:disabled ~ label.radio-label
|
|
77
|
+
input:checked:disabled ~ label.radio-label,
|
|
78
|
+
input:checked:disabled ~ .radio-container {
|
|
76
79
|
&:after {
|
|
77
80
|
background-color: getColor('neutral');
|
|
78
81
|
top: 19px;
|
|
@@ -143,20 +143,36 @@
|
|
|
143
143
|
font-weight: 400;
|
|
144
144
|
font-size: 16px;
|
|
145
145
|
line-height: 24px;
|
|
146
|
-
padding-top: $spacing-2;
|
|
147
146
|
gap: $spacing-1;
|
|
148
147
|
.icon {
|
|
149
148
|
font-size: 20px;
|
|
150
149
|
height: auto;
|
|
151
150
|
}
|
|
151
|
+
}
|
|
152
152
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
153
|
+
.stepper-wrapper > .stepper-item > .step-label {
|
|
154
|
+
padding-top: $spacing-2;
|
|
155
|
+
@include touch {
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: 10px;
|
|
158
|
+
left: 0;
|
|
159
|
+
}
|
|
158
160
|
}
|
|
159
161
|
|
|
162
|
+
.stepper-container > .stepper-content > .step-label {
|
|
163
|
+
transition: opacity 0.3s ease-in-out;
|
|
164
|
+
animation: fadeInLabel 0.4s ease-out;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.stepper-content {
|
|
168
|
+
margin-bottom: $spacing-3 !important;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.stepper-steps {
|
|
172
|
+
margin-bottom: $spacing-2 !important;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
|
|
160
176
|
@include desktop {
|
|
161
177
|
.step-count {
|
|
162
178
|
display: none;
|
|
@@ -180,6 +196,20 @@
|
|
|
180
196
|
display: none;
|
|
181
197
|
}
|
|
182
198
|
}
|
|
199
|
+
|
|
200
|
+
.stepper-container > .stepper-steps {
|
|
201
|
+
font-size: 12px !important;
|
|
202
|
+
line-height: 18px !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.stepper-container > .stepper-content > .step-label {
|
|
206
|
+
font-size: 14px !important;
|
|
207
|
+
line-height: 18px !important;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.stepper-container > .stepper-content > .icon {
|
|
211
|
+
font-size: 16px !important;
|
|
212
|
+
}
|
|
183
213
|
}
|
|
184
214
|
|
|
185
215
|
@include tablet-only {
|
|
@@ -194,9 +224,9 @@
|
|
|
194
224
|
|
|
195
225
|
.stepper-item:not(.is-current) {
|
|
196
226
|
display: flex;
|
|
197
|
-
|
|
227
|
+
|
|
198
228
|
.step-label {
|
|
199
|
-
|
|
229
|
+
display: none;
|
|
200
230
|
}
|
|
201
231
|
}
|
|
202
232
|
}
|
|
@@ -214,4 +244,11 @@
|
|
|
214
244
|
}
|
|
215
245
|
}
|
|
216
246
|
|
|
217
|
-
|
|
247
|
+
@keyframes fadeInLabel {
|
|
248
|
+
0% {
|
|
249
|
+
opacity: 0;
|
|
250
|
+
}
|
|
251
|
+
100% {
|
|
252
|
+
opacity: 1;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
@@ -14,25 +14,29 @@ $sticker-height: 35px;
|
|
|
14
14
|
max-height: 36px;
|
|
15
15
|
|
|
16
16
|
.icon {
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
font-size: 20px;
|
|
18
|
+
width: auto;
|
|
19
|
+
height: auto;
|
|
20
|
+
margin-right: $spacing-2;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
&.is-small {
|
|
22
24
|
.icon {
|
|
23
|
-
margin-right:
|
|
25
|
+
margin-right: $spacing-1;
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
&:not(.is-hat) {
|
|
28
30
|
width: fit-content;
|
|
29
|
-
|
|
30
31
|
@include mobile {
|
|
31
32
|
font-size: 12px;
|
|
32
33
|
padding: $spacing-1 $spacing-2;
|
|
33
34
|
height: auto;
|
|
34
35
|
line-height: 15px;
|
|
35
|
-
|
|
36
|
+
.icon {
|
|
37
|
+
font-size: 16px;
|
|
38
|
+
margin-right: $spacing-1;
|
|
39
|
+
}
|
|
36
40
|
}
|
|
37
41
|
}
|
|
38
42
|
|
|
@@ -59,7 +63,11 @@ $sticker-height: 35px;
|
|
|
59
63
|
padding: $spacing-1 $spacing-2;
|
|
60
64
|
height: auto;
|
|
61
65
|
line-height: 15px;
|
|
62
|
-
|
|
66
|
+
.icon {
|
|
67
|
+
font-size: 16px;
|
|
68
|
+
height: 15px;
|
|
69
|
+
margin-right: $spacing-1;
|
|
70
|
+
}
|
|
63
71
|
}
|
|
64
72
|
|
|
65
73
|
// deprecated
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
td,
|
|
28
28
|
th {
|
|
29
|
-
border:
|
|
29
|
+
border: 1px solid #{getColor('stroke-fade')};
|
|
30
30
|
border-width: 0;
|
|
31
31
|
padding: 20px;
|
|
32
32
|
vertical-align: top;
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
td {
|
|
74
|
-
border-bottom:
|
|
74
|
+
border-bottom: 1px solid #{getColor('stroke-fade')};
|
|
75
75
|
|
|
76
76
|
> p {
|
|
77
77
|
margin: 0;
|
|
@@ -153,15 +153,15 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
&.has-border-all {
|
|
156
|
-
border:
|
|
156
|
+
border: 1px solid #{getColor('stroke-fade')};
|
|
157
157
|
|
|
158
158
|
th {
|
|
159
|
-
border-right:
|
|
159
|
+
border-right: 1px solid #{getColor('stroke-fade')};
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
td {
|
|
163
163
|
&:not(:last-child) {
|
|
164
|
-
border-right:
|
|
164
|
+
border-right: 1px solid #{getColor('stroke-fade')};
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
@@ -169,13 +169,13 @@
|
|
|
169
169
|
&.has-border-inner {
|
|
170
170
|
th {
|
|
171
171
|
&:not(:last-child) {
|
|
172
|
-
border-right:
|
|
172
|
+
border-right: 1px solid #{getColor('stroke-fade')};
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
td {
|
|
177
177
|
&:not(:last-child) {
|
|
178
|
-
border-right:
|
|
178
|
+
border-right: 1px solid #{getColor('stroke-fade')};
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
}
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
|
|
216
216
|
tr:not(:first-child) {
|
|
217
217
|
td {
|
|
218
|
-
border-top:
|
|
218
|
+
border-top: 1px solid #{getColor('stroke-fade')};
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
|
|
@@ -64,7 +64,7 @@ $height-arrow-small:30px;
|
|
|
64
64
|
.arrow-prev, .arrow-next {
|
|
65
65
|
background-color: getColor('font');
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
&:has(.tab-list.is-aligned-start) {
|
|
@@ -174,6 +174,12 @@ $height-arrow-small:30px;
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
+
&.is-fullwidth .tab-list {
|
|
178
|
+
display: flex;
|
|
179
|
+
> .tab {
|
|
180
|
+
flex:1;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
177
183
|
|
|
178
184
|
&.is-small{
|
|
179
185
|
|
|
@@ -194,6 +200,13 @@ $height-arrow-small:30px;
|
|
|
194
200
|
transition: opacity 2s ease-in-out;
|
|
195
201
|
transition-delay: 1s;
|
|
196
202
|
|
|
203
|
+
* {
|
|
204
|
+
-webkit-user-select: text;
|
|
205
|
+
-moz-user-select: text;
|
|
206
|
+
-ms-user-select: text;
|
|
207
|
+
user-select: text;
|
|
208
|
+
}
|
|
209
|
+
|
|
197
210
|
&:not(.is-active) {
|
|
198
211
|
display: none;
|
|
199
212
|
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
$CIRCLE_SIZE: 172px;
|
|
2
|
+
$CURSOR_SIZE: 30px;
|
|
3
|
+
|
|
4
|
+
.timepicker-circular {
|
|
5
|
+
|
|
6
|
+
&_dot-hour {
|
|
7
|
+
background-color: getColor('neutral');
|
|
8
|
+
&.is-filled {
|
|
9
|
+
background-color: getColor('main');
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&_progress {
|
|
14
|
+
stroke: getColor('main');
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&_progress-container {
|
|
18
|
+
stroke: getColor('main-fade');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.circle_container {
|
|
22
|
+
width: $CIRCLE_SIZE;
|
|
23
|
+
height: $CIRCLE_SIZE;
|
|
24
|
+
position: relative;
|
|
25
|
+
|
|
26
|
+
&-cursor {
|
|
27
|
+
position: absolute;
|
|
28
|
+
width: $CURSOR_SIZE;
|
|
29
|
+
height: $CURSOR_SIZE;
|
|
30
|
+
border-radius: 50%;
|
|
31
|
+
background-color: getColor('neutral-fade');
|
|
32
|
+
border: 2px solid getColor('main');
|
|
33
|
+
z-index: 20;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
&-inputs {
|
|
39
|
+
position: absolute;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction:row;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
z-index: 30;
|
|
45
|
+
left: 50%;
|
|
46
|
+
top: 50%;
|
|
47
|
+
transform: translate(-50%, -50%);
|
|
48
|
+
cursor:default;
|
|
49
|
+
pointer-events:none;
|
|
50
|
+
gap: $spacing-1;
|
|
51
|
+
|
|
52
|
+
&-wrapper {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
width: 40px;
|
|
57
|
+
gap: $spacing-1;
|
|
58
|
+
pointer-events: auto
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&-wrapper-input {
|
|
62
|
+
@include input;
|
|
63
|
+
width: 36px;
|
|
64
|
+
height: 36px;
|
|
65
|
+
text-align: center;
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
cursor: default;
|
|
70
|
+
pointer-events: auto
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-separator {
|
|
74
|
+
height: 36px;
|
|
75
|
+
margin-bottom: 10px
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.non_draggable_zone {
|
|
81
|
+
position: absolute;
|
|
82
|
+
width: 120px;
|
|
83
|
+
height: 120px;
|
|
84
|
+
border-radius: 50%;
|
|
85
|
+
z-index: 25;
|
|
86
|
+
cursor: default;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
$CIRCLE_SIZE: 172px;
|
|
2
|
+
$CURSOR_SIZE: 30px;
|
|
3
|
+
|
|
4
|
+
.timepicker {
|
|
5
|
+
|
|
6
|
+
&-menu {
|
|
7
|
+
position: absolute;
|
|
8
|
+
left: 0;
|
|
9
|
+
right: 0;
|
|
10
|
+
background-color: getColor('background');
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
padding: 16px;
|
|
13
|
+
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
|
|
14
|
+
z-index: 1000;
|
|
15
|
+
max-height: 300px;
|
|
16
|
+
max-width: 450px;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
gap: 8px;
|
|
21
|
+
|
|
22
|
+
&-title {
|
|
23
|
+
flex:1
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.flex-box {
|
|
28
|
+
margin-bottom: 0px !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&-divider {
|
|
32
|
+
position: absolute;
|
|
33
|
+
left: 50%;
|
|
34
|
+
top: 50%;
|
|
35
|
+
transform: translate(-50%, -50%);
|
|
36
|
+
height: 90%;
|
|
37
|
+
background-color: getColor('neutral');
|
|
38
|
+
width: 1px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-selector {
|
|
43
|
+
overflow-y: auto;
|
|
44
|
+
overflow-x: hidden,;
|
|
45
|
+
padding: 8px 0px;
|
|
46
|
+
scrollbar-width: none;
|
|
47
|
+
-ms-overflow-style: none;
|
|
48
|
+
flex: 1;
|
|
49
|
+
gap: 8px;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
|
|
53
|
+
&-item {
|
|
54
|
+
padding: 12px;
|
|
55
|
+
border-radius: 8px;
|
|
56
|
+
text-align: center;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
user-select: none;
|
|
59
|
+
height: 36px;
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
|
|
64
|
+
&.is-active {
|
|
65
|
+
background-color: getColor('main');
|
|
66
|
+
color: getColor('background');
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:hover:not(.is-active) {
|
|
70
|
+
@include hoverRules();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
div::-webkit-scrollbar {
|
|
76
|
+
display: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
}
|
|
@@ -41,7 +41,7 @@ a.alert {
|
|
|
41
41
|
padding-bottom: 0 !important;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
&-icon {
|
|
45
45
|
padding: 0;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -58,7 +58,7 @@ a.alert {
|
|
|
58
58
|
background-color: fadeColor($name);
|
|
59
59
|
border: 1px solid getColor($name);
|
|
60
60
|
|
|
61
|
-
.icon {
|
|
61
|
+
.alert-icon {
|
|
62
62
|
color: getColor($name);
|
|
63
63
|
}
|
|
64
64
|
}
|