@trilogy-ds/styles 4.15.0-timepicker-circular-native → 4.15.0
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/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/components/_accordion.scss +0 -8
- package/framework/src/components/_button.scss +3 -0
- package/framework/src/components/_checkbox.scss +2 -2
- package/framework/src/components/_flex-box.scss +36 -25
- package/framework/src/components/_index.scss +3 -0
- package/framework/src/components/_prompt.scss +143 -0
- package/framework/src/components/_radio.scss +3 -7
- package/framework/src/components/_stepper.scss +22 -142
- package/framework/src/components/_timepicker-circular.scss +71 -0
- package/framework/src/components/_timepicker.scss +79 -0
- package/framework/src/utilities/mixins/_mixins.scss +121 -82
- package/package.json +1 -1
|
@@ -35,7 +35,10 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
@include mobile {
|
|
38
|
-
&:has(>.flex-item):not([class*='is-direction']) {
|
|
38
|
+
&:has(>.flex-item):not([class*='is-direction']):not(.is-mobile) {
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
}
|
|
41
|
+
&:has(>.flex-item):not([class*='is-direction']):not(.is-mobile) {
|
|
39
42
|
flex-direction: column;
|
|
40
43
|
}
|
|
41
44
|
|
|
@@ -139,7 +142,7 @@
|
|
|
139
142
|
}
|
|
140
143
|
|
|
141
144
|
@include container-mobile {
|
|
142
|
-
&:has(>.flex-item):not([class*='is-direction']) {
|
|
145
|
+
&:has(>.flex-item):not([class*='is-direction']):not(.is-mobile) {
|
|
143
146
|
flex-direction: column;
|
|
144
147
|
}
|
|
145
148
|
|
|
@@ -705,7 +708,7 @@
|
|
|
705
708
|
margin-bottom: auto !important;
|
|
706
709
|
}
|
|
707
710
|
|
|
708
|
-
.flex-item {
|
|
711
|
+
> .flex-item {
|
|
709
712
|
scroll-snap-align: center;
|
|
710
713
|
}
|
|
711
714
|
}
|
|
@@ -830,11 +833,7 @@
|
|
|
830
833
|
}
|
|
831
834
|
|
|
832
835
|
&.is-gapless {
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
> .flex-item {
|
|
836
|
-
--ColumnGap: 1px;
|
|
837
|
-
}
|
|
836
|
+
--ColumnGap: 0;
|
|
838
837
|
}
|
|
839
838
|
|
|
840
839
|
$itemWidth: calc((100% / (var(--ColumnFraction))) - ((((var(--ColumnFraction)) - 1) / (var(--ColumnFraction))) * var(--ColumnGap)));
|
|
@@ -856,8 +855,10 @@
|
|
|
856
855
|
);
|
|
857
856
|
|
|
858
857
|
// SIZE
|
|
859
|
-
.flex-item {
|
|
858
|
+
> .flex-item {
|
|
860
859
|
flex-grow: 1;
|
|
860
|
+
flex-shrink: 1;
|
|
861
|
+
flex-basis: 0;
|
|
861
862
|
&.is-narrow {
|
|
862
863
|
flex: none;
|
|
863
864
|
width: auto;
|
|
@@ -877,17 +878,27 @@
|
|
|
877
878
|
}
|
|
878
879
|
}
|
|
879
880
|
}
|
|
881
|
+
&.is-mobile{
|
|
882
|
+
@each $key, $value in $itemSize {
|
|
883
|
+
> .flex-item.is-#{$key} {
|
|
884
|
+
flex: none;
|
|
885
|
+
--ColumnFraction: #{$value};
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}
|
|
880
889
|
|
|
881
|
-
@
|
|
882
|
-
|
|
883
|
-
flex
|
|
884
|
-
|
|
890
|
+
@include tablet {
|
|
891
|
+
@each $key, $value in $itemSize {
|
|
892
|
+
> .flex-item.is-#{$key} {
|
|
893
|
+
flex: none;
|
|
894
|
+
--ColumnFraction: #{$value};
|
|
895
|
+
}
|
|
885
896
|
}
|
|
886
897
|
}
|
|
887
898
|
|
|
888
899
|
@include mobile {
|
|
889
900
|
@each $key, $value in $itemSize {
|
|
890
|
-
.flex-item.is-#{$key}-mobile {
|
|
901
|
+
> .flex-item.is-#{$key}-mobile {
|
|
891
902
|
flex: none;
|
|
892
903
|
--ColumnFraction: #{$value};
|
|
893
904
|
}
|
|
@@ -895,7 +906,7 @@
|
|
|
895
906
|
}
|
|
896
907
|
@include tablet {
|
|
897
908
|
@each $key, $value in $itemSize {
|
|
898
|
-
.flex-item.is-#{$key}-tablet {
|
|
909
|
+
> .flex-item.is-#{$key}-tablet {
|
|
899
910
|
flex: none;
|
|
900
911
|
--ColumnFraction: #{$value};
|
|
901
912
|
}
|
|
@@ -903,7 +914,7 @@
|
|
|
903
914
|
}
|
|
904
915
|
@include touch {
|
|
905
916
|
@each $key, $value in $itemSize {
|
|
906
|
-
.flex-item.is-#{$key}-touch {
|
|
917
|
+
> .flex-item.is-#{$key}-touch {
|
|
907
918
|
flex: none;
|
|
908
919
|
--ColumnFraction: #{$value};
|
|
909
920
|
}
|
|
@@ -911,7 +922,7 @@
|
|
|
911
922
|
}
|
|
912
923
|
@include desktop {
|
|
913
924
|
@each $key, $value in $itemSize {
|
|
914
|
-
.flex-item.is-#{$key}-desktop {
|
|
925
|
+
> .flex-item.is-#{$key}-desktop {
|
|
915
926
|
flex: none;
|
|
916
927
|
--ColumnFraction: #{$value};
|
|
917
928
|
}
|
|
@@ -919,7 +930,7 @@
|
|
|
919
930
|
}
|
|
920
931
|
@include widescreen {
|
|
921
932
|
@each $key, $value in $itemSize {
|
|
922
|
-
.flex-item.is-#{$key}-widescreen {
|
|
933
|
+
> .flex-item.is-#{$key}-widescreen {
|
|
923
934
|
flex: none;
|
|
924
935
|
--ColumnFraction: #{$value};
|
|
925
936
|
}
|
|
@@ -927,7 +938,7 @@
|
|
|
927
938
|
}
|
|
928
939
|
@include fullhd {
|
|
929
940
|
@each $key, $value in $itemSize {
|
|
930
|
-
.flex-item.is-#{$key}-fullhd {
|
|
941
|
+
> .flex-item.is-#{$key}-fullhd {
|
|
931
942
|
flex: none;
|
|
932
943
|
--ColumnFraction: #{$value};
|
|
933
944
|
}
|
|
@@ -936,7 +947,7 @@
|
|
|
936
947
|
|
|
937
948
|
@include container-mobile {
|
|
938
949
|
@each $key, $value in $itemSize {
|
|
939
|
-
.flex-item.is-#{$key}-mobile {
|
|
950
|
+
> .flex-item.is-#{$key}-mobile {
|
|
940
951
|
flex: none;
|
|
941
952
|
--ColumnFraction: #{$value};
|
|
942
953
|
}
|
|
@@ -946,7 +957,7 @@
|
|
|
946
957
|
|
|
947
958
|
@include container-tablet {
|
|
948
959
|
@each $key, $value in $itemSize {
|
|
949
|
-
.flex-item.is-#{$key}-tablet {
|
|
960
|
+
> .flex-item.is-#{$key}-tablet {
|
|
950
961
|
flex: none;
|
|
951
962
|
--ColumnFraction: #{$value};
|
|
952
963
|
}
|
|
@@ -956,7 +967,7 @@
|
|
|
956
967
|
|
|
957
968
|
@include container-touch {
|
|
958
969
|
@each $key, $value in $itemSize {
|
|
959
|
-
.flex-item.is-#{$key}-touch {
|
|
970
|
+
> .flex-item.is-#{$key}-touch {
|
|
960
971
|
flex: none;
|
|
961
972
|
--ColumnFraction: #{$value};
|
|
962
973
|
}
|
|
@@ -966,7 +977,7 @@
|
|
|
966
977
|
|
|
967
978
|
@include container-desktop {
|
|
968
979
|
@each $key, $value in $itemSize {
|
|
969
|
-
.flex-item.is-#{$key}-desktop {
|
|
980
|
+
> .flex-item.is-#{$key}-desktop {
|
|
970
981
|
flex: none;
|
|
971
982
|
--ColumnFraction: #{$value};
|
|
972
983
|
}
|
|
@@ -976,7 +987,7 @@
|
|
|
976
987
|
|
|
977
988
|
@include container-widescreen {
|
|
978
989
|
@each $key, $value in $itemSize {
|
|
979
|
-
.flex-item.is-#{$key}-widescreen {
|
|
990
|
+
> .flex-item.is-#{$key}-widescreen {
|
|
980
991
|
flex: none;
|
|
981
992
|
--ColumnFraction: #{$value};
|
|
982
993
|
}
|
|
@@ -985,7 +996,7 @@
|
|
|
985
996
|
|
|
986
997
|
@include container-fullhd {
|
|
987
998
|
@each $key, $value in $itemSize {
|
|
988
|
-
.flex-item.is-#{$key}-fullhd {
|
|
999
|
+
> .flex-item.is-#{$key}-fullhd {
|
|
989
1000
|
flex: none;
|
|
990
1001
|
--ColumnFraction: #{$value};
|
|
991
1002
|
}
|
|
@@ -0,0 +1,143 @@
|
|
|
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] {
|
|
9
|
+
background-color: getColor('background') !important;
|
|
10
|
+
}
|
|
11
|
+
* {
|
|
12
|
+
margin-bottom: 0px !important;
|
|
13
|
+
}
|
|
14
|
+
&:focus-within {
|
|
15
|
+
box-shadow: 0 0 0 2px currentColor;
|
|
16
|
+
}
|
|
17
|
+
&.is-disabled {
|
|
18
|
+
box-shadow: 0 0 0 1px getColor('disabled') !important;
|
|
19
|
+
}
|
|
20
|
+
&-textarea {
|
|
21
|
+
textarea {
|
|
22
|
+
outline: none !important;
|
|
23
|
+
border: 0px !important;
|
|
24
|
+
background-color: initial !important;
|
|
25
|
+
min-height: 20px !important;
|
|
26
|
+
max-height: 180px !important;
|
|
27
|
+
transition: height 0.1s ease;
|
|
28
|
+
padding: 16px !important;
|
|
29
|
+
height: auto;
|
|
30
|
+
resize: none;
|
|
31
|
+
&[disabled] {
|
|
32
|
+
background-color: getColor('background') !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
&-files {
|
|
37
|
+
padding: 16px 16px 0px 16px !important;
|
|
38
|
+
margin:0 !important;
|
|
39
|
+
&-img {
|
|
40
|
+
border-radius: 8px;
|
|
41
|
+
}
|
|
42
|
+
&-file {
|
|
43
|
+
width: $height-prompt-item;
|
|
44
|
+
height: $height-prompt-item;
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
47
|
+
&-file-name {
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
}
|
|
52
|
+
&-doc {
|
|
53
|
+
width: fit-content;
|
|
54
|
+
max-width: 264px;
|
|
55
|
+
&-preview {
|
|
56
|
+
width: 40px;
|
|
57
|
+
height: 40px;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
box-shadow: none;
|
|
62
|
+
.box-content {
|
|
63
|
+
margin: 0px !important;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&-preview-content {
|
|
68
|
+
max-width: calc(100% - 56px);
|
|
69
|
+
}
|
|
70
|
+
&-card-content {
|
|
71
|
+
padding:8px !important
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
&-delete {
|
|
75
|
+
background-color: getColor('main-fade');
|
|
76
|
+
border-radius: 100px;
|
|
77
|
+
height: 20px;
|
|
78
|
+
width: 20px;
|
|
79
|
+
}
|
|
80
|
+
&-delete-img {
|
|
81
|
+
position: absolute;
|
|
82
|
+
top: 2px;
|
|
83
|
+
right: 2px;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
&-toolbar {
|
|
87
|
+
display: flex;
|
|
88
|
+
gap: 16px;
|
|
89
|
+
padding: 0px 16px 16px 16px;
|
|
90
|
+
align-items: center;
|
|
91
|
+
justify-content: flex-end;
|
|
92
|
+
&-tools {
|
|
93
|
+
display: flex;
|
|
94
|
+
gap: 16px;
|
|
95
|
+
align-items: end;
|
|
96
|
+
margin-right: auto;
|
|
97
|
+
}
|
|
98
|
+
&-tool {
|
|
99
|
+
height: 36px;
|
|
100
|
+
select {
|
|
101
|
+
height: 36px;
|
|
102
|
+
border-width: 0px !important;
|
|
103
|
+
max-width: 180px;
|
|
104
|
+
&:focus {
|
|
105
|
+
padding-left: 16px !important;
|
|
106
|
+
}
|
|
107
|
+
@include mobile {
|
|
108
|
+
max-width: 110px;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
.field .control::after {
|
|
112
|
+
right: 0px !important;
|
|
113
|
+
}
|
|
114
|
+
&.active {
|
|
115
|
+
background-color: getColor('main') !important;
|
|
116
|
+
.icon i {
|
|
117
|
+
background-color: getColor('background');
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
&[disabled], &.is-disabled {
|
|
121
|
+
background-color: getColor('disabled-fade') !important;
|
|
122
|
+
cursor: not-allowed;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
&-tool.icon_only {
|
|
126
|
+
width: 36px !important;
|
|
127
|
+
}
|
|
128
|
+
&-microphone {
|
|
129
|
+
border-radius: 100px;
|
|
130
|
+
}
|
|
131
|
+
&-tool-submit.streaming {
|
|
132
|
+
padding: 0;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&-stop_streaming {
|
|
138
|
+
background-color: getColor('background');
|
|
139
|
+
height: 16px;
|
|
140
|
+
width: 16px;
|
|
141
|
+
border-radius: 3px;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
@use "sass:math";
|
|
2
2
|
|
|
3
|
-
.stepper-
|
|
3
|
+
.stepper-items {
|
|
4
4
|
display: flex;
|
|
5
5
|
position: relative;
|
|
6
6
|
justify-content: space-between;
|
|
7
7
|
min-height: 44px;
|
|
8
|
-
gap: $spacing-
|
|
9
|
-
|
|
10
|
-
@include touch {
|
|
11
|
-
gap : $spacing-2;
|
|
12
|
-
}
|
|
8
|
+
gap: $spacing-2;
|
|
9
|
+
margin-top: $spacing-3;
|
|
13
10
|
}
|
|
14
11
|
|
|
15
12
|
.stepper-item {
|
|
16
13
|
display: flex;
|
|
17
14
|
flex-direction: column;
|
|
18
15
|
width: 100%;
|
|
19
|
-
|
|
20
16
|
&:before {
|
|
21
17
|
content: "";
|
|
22
18
|
display: block;
|
|
@@ -27,181 +23,65 @@
|
|
|
27
23
|
}
|
|
28
24
|
|
|
29
25
|
&.is-error {
|
|
30
|
-
|
|
31
26
|
&:before {
|
|
32
27
|
background-color: getColor('error') !important;
|
|
33
|
-
|
|
34
28
|
}
|
|
29
|
+
|
|
35
30
|
&.is-current{
|
|
36
31
|
&:before{
|
|
37
32
|
animation: progress 1s;
|
|
38
33
|
}
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.step-bars {
|
|
43
|
-
background: getColor('error') !important;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
color: getColor('font');
|
|
47
|
-
|
|
48
|
-
.step-label {
|
|
49
|
-
|
|
50
|
-
&::before {
|
|
51
|
-
content: "";
|
|
52
|
-
mask-image: url('./assets/icons/all/times.svg') !important;
|
|
53
|
-
background-color: getColor('error') !important;
|
|
54
|
-
border-width: 0;
|
|
55
|
-
mask-size: 20px;
|
|
56
|
-
width: 20px;
|
|
57
|
-
height: 20px;
|
|
58
|
-
align-self: baseline;
|
|
59
|
-
margin-top: 2px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.icon {
|
|
63
|
-
display: none;
|
|
64
|
-
}
|
|
65
34
|
}
|
|
66
35
|
}
|
|
67
36
|
|
|
68
37
|
&.is-done {
|
|
69
|
-
|
|
70
38
|
&:before {
|
|
71
39
|
background-color: getColor('font');
|
|
72
40
|
}
|
|
73
|
-
|
|
74
|
-
.step-bars {
|
|
75
|
-
background: getColor('font');
|
|
76
|
-
transition: background-color 1s ease-in-out;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.step-label {
|
|
80
|
-
&::before {
|
|
81
|
-
content: "";
|
|
82
|
-
mask-image: url('./assets/icons/all/check-circle.svg');
|
|
83
|
-
background-color: getColor('success');
|
|
84
|
-
border-width: 0;
|
|
85
|
-
min-width: 20px;
|
|
86
|
-
mask-size: 20px;
|
|
87
|
-
height: 20px;
|
|
88
|
-
align-self: baseline;
|
|
89
|
-
margin-top: 2px;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
41
|
}
|
|
93
42
|
|
|
94
43
|
&.is-current,
|
|
95
44
|
&.is-active {
|
|
96
|
-
|
|
97
45
|
&:before {
|
|
98
46
|
background-color: getColor('main');
|
|
99
47
|
animation: progress 1s;
|
|
100
48
|
}
|
|
101
|
-
|
|
102
|
-
.step-bars {
|
|
103
|
-
background: getColor('main');
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.step-label {
|
|
107
|
-
font-style: normal;
|
|
108
|
-
font-weight: 600;
|
|
109
|
-
font-size: 20px;
|
|
110
|
-
line-height: 22px;
|
|
111
|
-
width: max-content;
|
|
112
|
-
|
|
113
|
-
.icon [class^=tri-], .icon [class*=" tri-"] {
|
|
114
|
-
height: 22px;
|
|
115
|
-
width: 22px;
|
|
116
|
-
margin: 0 4px 0 -4px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@include tablet-only {
|
|
120
|
-
width: 90% !important;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@include mobile {
|
|
124
|
-
font-size: 18px;
|
|
125
|
-
width: 90%;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
49
|
}
|
|
129
50
|
}
|
|
130
51
|
|
|
131
|
-
.step-
|
|
132
|
-
|
|
133
|
-
background: getColor('disabled');
|
|
134
|
-
border-radius: var(--radius-small);
|
|
135
|
-
display: none;
|
|
52
|
+
.step-count {
|
|
53
|
+
margin-bottom: $spacing-2 !important;
|
|
136
54
|
}
|
|
137
55
|
|
|
138
56
|
.step-label {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
color: getColor('font');
|
|
142
|
-
font-style: normal;
|
|
143
|
-
font-weight: 400;
|
|
144
|
-
font-size: 16px;
|
|
145
|
-
line-height: 24px;
|
|
146
|
-
padding-top: $spacing-2;
|
|
147
|
-
gap: $spacing-1;
|
|
148
|
-
.icon {
|
|
149
|
-
font-size: 20px;
|
|
150
|
-
height: auto;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
@include touch {
|
|
154
|
-
position: absolute;
|
|
155
|
-
top: 10px;
|
|
156
|
-
left: 0;
|
|
157
|
-
}
|
|
57
|
+
transition: opacity 0.3s ease-in-out;
|
|
58
|
+
animation: fadeInLabel 0.4s ease-out;
|
|
158
59
|
}
|
|
159
60
|
|
|
160
|
-
@
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
@include mobile {
|
|
167
|
-
.step-count {
|
|
168
|
-
position: absolute;
|
|
169
|
-
top: 23px;
|
|
170
|
-
right: 8px;
|
|
171
|
-
font-size: 14px;
|
|
172
|
-
line-height: 18px;
|
|
173
|
-
font-weight: 600;
|
|
61
|
+
@keyframes fadeInLabel {
|
|
62
|
+
0% {
|
|
63
|
+
opacity: 0;
|
|
174
64
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
display: flex;
|
|
178
|
-
|
|
179
|
-
.step-label {
|
|
180
|
-
display: none;
|
|
181
|
-
}
|
|
65
|
+
100% {
|
|
66
|
+
opacity: 1;
|
|
182
67
|
}
|
|
183
68
|
}
|
|
184
69
|
|
|
185
|
-
@include
|
|
70
|
+
@include mobile{
|
|
186
71
|
.step-count {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
72
|
+
font-size: 12px !important;
|
|
73
|
+
line-height: 18px !important;
|
|
74
|
+
}
|
|
75
|
+
.step-label {
|
|
76
|
+
font-size: 14px !important;
|
|
77
|
+
line-height: 18px !important;
|
|
193
78
|
}
|
|
194
79
|
|
|
195
|
-
.stepper-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
.step-label {
|
|
199
|
-
display: none;
|
|
200
|
-
}
|
|
80
|
+
.stepper-wrapper .icon {
|
|
81
|
+
font-size: 16px !important;
|
|
201
82
|
}
|
|
202
83
|
}
|
|
203
84
|
|
|
204
|
-
|
|
205
85
|
@keyframes progress {
|
|
206
86
|
0%, 100% {
|
|
207
87
|
background-image: linear-gradient(to right, transparent 0, transparent 50%, getColor('neutral') 50%, getColor('neutral') 100%);
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
$CIRCLE_SIZE: 172px;
|
|
2
|
+
$CURSOR_SIZE: 30px;
|
|
3
|
+
|
|
4
|
+
.timepicker-circular {
|
|
5
|
+
|
|
6
|
+
.circle_container {
|
|
7
|
+
width: $CIRCLE_SIZE;
|
|
8
|
+
height: $CIRCLE_SIZE;
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
11
|
+
&-cursor {
|
|
12
|
+
position: absolute;
|
|
13
|
+
width: $CURSOR_SIZE;
|
|
14
|
+
height: $CURSOR_SIZE;
|
|
15
|
+
border-radius: 50%;
|
|
16
|
+
background-color: getColor('neutral-fade');
|
|
17
|
+
border: 2px solid getColor('main');
|
|
18
|
+
z-index: 20;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&-inputs {
|
|
22
|
+
position: absolute;
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction:row;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
z-index: 30;
|
|
28
|
+
left: 50%;
|
|
29
|
+
top: 50%;
|
|
30
|
+
transform: translate(-50%, -50%);
|
|
31
|
+
cursor:default;
|
|
32
|
+
pointer-events:none;
|
|
33
|
+
gap: $spacing-1;
|
|
34
|
+
|
|
35
|
+
&-wrapper {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
width: 40px;
|
|
40
|
+
gap: $spacing-1;
|
|
41
|
+
pointer-events: auto
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-wrapper-input {
|
|
45
|
+
@include input;
|
|
46
|
+
width: 36px;
|
|
47
|
+
height: 36px;
|
|
48
|
+
text-align: center;
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
cursor: default;
|
|
53
|
+
pointer-events: auto
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&-separator {
|
|
57
|
+
height: 36px;
|
|
58
|
+
margin-bottom: 10px
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.non_draggable_zone {
|
|
64
|
+
position: absolute;
|
|
65
|
+
width: 120px;
|
|
66
|
+
height: 120px;
|
|
67
|
+
border-radius: 50%;
|
|
68
|
+
z-index: 25;
|
|
69
|
+
cursor: default;
|
|
70
|
+
}
|
|
71
|
+
}
|