@egovernments/digit-ui-components-css 0.0.2-beta.10 → 0.0.2-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.
- package/CHANGELOG.md +88 -84
- package/README.md +80 -80
- package/dist/index.css +612 -26
- package/dist/index.min.css +2 -2
- package/package.json +69 -69
- package/src/digitv2/components/FormComposerV2.scss +118 -118
- package/src/digitv2/components/actionbarV2.scss +207 -0
- package/src/digitv2/components/backLinkV2.scss +36 -36
- package/src/digitv2/components/bodyContainerV2.scss +39 -39
- package/src/digitv2/components/breadcrumbV2.scss +56 -56
- package/src/digitv2/components/buttonsV2.scss +451 -426
- package/src/digitv2/components/cardV2.scss +497 -484
- package/src/digitv2/components/cardbasedoptionsV2.scss +46 -46
- package/src/digitv2/components/cardlabelV2.scss +7 -7
- package/src/digitv2/components/checkboxV2.scss +83 -83
- package/src/digitv2/components/chipV2.scss +129 -129
- package/src/digitv2/components/dividerV2.scss +10 -10
- package/src/digitv2/components/errorMessageV2.scss +20 -20
- package/src/digitv2/components/fieldV1.scss +96 -96
- package/src/digitv2/components/headerdropdownV2.scss +152 -0
- package/src/digitv2/components/infoCardV2.scss +139 -139
- package/src/digitv2/components/infobuttonV2.scss +75 -75
- package/src/digitv2/components/labelFieldPairV2.scss +66 -66
- package/src/digitv2/components/mobileNumberV2.scss +65 -65
- package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
- package/src/digitv2/components/panelCardV2.scss +160 -160
- package/src/digitv2/components/panelV2.scss +114 -114
- package/src/digitv2/components/popUpV2.scss +330 -319
- package/src/digitv2/components/radiobtnV2.scss +115 -115
- package/src/digitv2/components/selectDropdownV2.scss +364 -364
- package/src/digitv2/components/stepperV2.scss +147 -147
- package/src/digitv2/components/textInputV2.scss +462 -462
- package/src/digitv2/components/textareaV2.scss +99 -99
- package/src/digitv2/components/textblockV2.scss +46 -46
- package/src/digitv2/components/timelineV2.scss +171 -159
- package/src/digitv2/components/toastV2.scss +80 -80
- package/src/digitv2/components/toggleV2.scss +72 -72
- package/src/digitv2/components/topbarV2.scss +388 -0
- package/src/digitv2/components/treeSelectV2.scss +132 -132
- package/src/digitv2/components/uploaderV2.scss +556 -556
- package/src/digitv2/components/viewCardFieldPairV2.scss +44 -44
- package/src/digitv2/index.scss +169 -168
- package/src/digitv2/pages/employee/index.scss +1 -1
- package/src/digitv2/pages/employee/workbench.scss +615 -615
- package/src/digitv2/typography.scss +638 -638
- package/src/index.scss +681 -681
- package/src/pages/employee/index.scss +625 -625
- package/src/pages/employee/login.scss +220 -220
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
.digit-toast-success {
|
|
2
|
-
@apply fixed flex z-20 w-full max-w-full left-0 items-center;
|
|
3
|
-
bottom: -(theme(digitv2.spacers.spacer12));
|
|
4
|
-
gap: theme(digitv2.spacers.spacer2);
|
|
5
|
-
height: theme(digitv2.spacers.spacer12);
|
|
6
|
-
padding: theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer3) !important;
|
|
7
|
-
background-color: theme(digitv2.lightTheme.alert-success);
|
|
8
|
-
transition: bottom 0.5s ease;
|
|
9
|
-
|
|
10
|
-
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
11
|
-
@apply w-auto max-w-full;
|
|
12
|
-
min-width: 30rem;
|
|
13
|
-
left:50%;
|
|
14
|
-
transform: translate(-50%);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@media (max-aspect-ratio: 9/16) {
|
|
18
|
-
@apply w-full;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@media (min-aspect-ratio: 3/4){
|
|
22
|
-
@apply w-auto max-w-full;
|
|
23
|
-
min-width: 50rem;
|
|
24
|
-
left:50%;
|
|
25
|
-
transform: translate(-50%);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.digit-error {
|
|
29
|
-
background-color: theme(digitv2.lightTheme.alert-error);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.digit-warning {
|
|
33
|
-
background-color: #F19100;
|
|
34
|
-
|
|
35
|
-
&.digit-warning-buttons {
|
|
36
|
-
@apply block;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.toast-label {
|
|
41
|
-
@extend .typography.caption-s;
|
|
42
|
-
@apply text-left overflow-hidden whitespace-no-wrap flex-grow flex items-center h-6;
|
|
43
|
-
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
44
|
-
color: theme(digitv2.lightTheme.paper-primary);
|
|
45
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
46
|
-
text-overflow: ellipsis;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&.digit-info {
|
|
50
|
-
background-color: theme(digitv2.lightTheme.alert-info);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.digit-warning-button-container {
|
|
54
|
-
@apply w-full flex justify-end;
|
|
55
|
-
|
|
56
|
-
button {
|
|
57
|
-
margin-left: 0.625rem;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.digit-toast-sub-container {
|
|
62
|
-
@apply flex;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
svg {
|
|
66
|
-
@apply flex-shrink-0;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@keyframes slideInFromBottom {
|
|
71
|
-
from {
|
|
72
|
-
bottom: -(theme(digitv2.spacers.spacer12));
|
|
73
|
-
}
|
|
74
|
-
to {
|
|
75
|
-
bottom: 4rem;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.digit-toast-success.animate {
|
|
80
|
-
animation: slideInFromBottom 0.5s ease forwards;
|
|
1
|
+
.digit-toast-success {
|
|
2
|
+
@apply fixed flex z-20 w-full max-w-full left-0 items-center;
|
|
3
|
+
bottom: -(theme(digitv2.spacers.spacer12));
|
|
4
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
5
|
+
height: theme(digitv2.spacers.spacer12);
|
|
6
|
+
padding: theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer3) !important;
|
|
7
|
+
background-color: theme(digitv2.lightTheme.alert-success);
|
|
8
|
+
transition: bottom 0.5s ease;
|
|
9
|
+
|
|
10
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
11
|
+
@apply w-auto max-w-full;
|
|
12
|
+
min-width: 30rem;
|
|
13
|
+
left:50%;
|
|
14
|
+
transform: translate(-50%);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media (max-aspect-ratio: 9/16) {
|
|
18
|
+
@apply w-full;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media (min-aspect-ratio: 3/4){
|
|
22
|
+
@apply w-auto max-w-full;
|
|
23
|
+
min-width: 50rem;
|
|
24
|
+
left:50%;
|
|
25
|
+
transform: translate(-50%);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.digit-error {
|
|
29
|
+
background-color: theme(digitv2.lightTheme.alert-error);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.digit-warning {
|
|
33
|
+
background-color: #F19100;
|
|
34
|
+
|
|
35
|
+
&.digit-warning-buttons {
|
|
36
|
+
@apply block;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.toast-label {
|
|
41
|
+
@extend .typography.caption-s;
|
|
42
|
+
@apply text-left overflow-hidden whitespace-no-wrap flex-grow flex items-center h-6;
|
|
43
|
+
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
44
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
45
|
+
margin: theme(digitv2.spacers.spacer0);
|
|
46
|
+
text-overflow: ellipsis;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.digit-info {
|
|
50
|
+
background-color: theme(digitv2.lightTheme.alert-info);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.digit-warning-button-container {
|
|
54
|
+
@apply w-full flex justify-end;
|
|
55
|
+
|
|
56
|
+
button {
|
|
57
|
+
margin-left: 0.625rem;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.digit-toast-sub-container {
|
|
62
|
+
@apply flex;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
svg {
|
|
66
|
+
@apply flex-shrink-0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes slideInFromBottom {
|
|
71
|
+
from {
|
|
72
|
+
bottom: -(theme(digitv2.spacers.spacer12));
|
|
73
|
+
}
|
|
74
|
+
to {
|
|
75
|
+
bottom: 4rem;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.digit-toast-success.animate {
|
|
80
|
+
animation: slideInFromBottom 0.5s ease forwards;
|
|
81
81
|
}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
@import url("../index.scss");
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.digit-toggle-toolbar {
|
|
5
|
-
@apply flex justify-start w-full;
|
|
6
|
-
max-width: 37.5rem;
|
|
7
|
-
min-width: 7.5rem;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.toggle-option-container {
|
|
12
|
-
@apply inline-flex items-center;
|
|
13
|
-
gap: theme(digitv2.spacers.spacer2);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.digit-toggle-btn-wrap {
|
|
17
|
-
@apply flex items-center justify-center cursor-pointer bg-white overflow-hidden text-center;
|
|
18
|
-
padding: 0.125rem theme(digitv2.spacers.spacer0);
|
|
19
|
-
width: 7rem;
|
|
20
|
-
height: theme(digitv2.spacers.spacer8);
|
|
21
|
-
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
22
|
-
text-overflow: ellipsis;
|
|
23
|
-
|
|
24
|
-
.digit-toggle-label {
|
|
25
|
-
@extend .typography.body-xs;
|
|
26
|
-
@apply w-full overflow-hidden whitespace-no-wrap;
|
|
27
|
-
color: theme(digitv2.lightTheme.text-disabled);
|
|
28
|
-
text-overflow: ellipsis;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&:hover,
|
|
32
|
-
&:active {
|
|
33
|
-
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
34
|
-
background: theme(digitv2.lightTheme.paper-primary);
|
|
35
|
-
width: 7.125rem;
|
|
36
|
-
color: theme(digitv2.lightTheme.primary-1);
|
|
37
|
-
|
|
38
|
-
.digit-toggle-label {
|
|
39
|
-
color: theme(digitv2.lightTheme.primary-1) !important;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&:active {
|
|
44
|
-
box-shadow: theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0) 0.375rem theme(digitv2.spacers.spacer0) #F4773840;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
input:checked+.digit-toggle-label {
|
|
48
|
-
@extend .typography.heading-s;
|
|
49
|
-
background-color: theme(digitv2.lightTheme.primary-1);
|
|
50
|
-
color: theme(digitv2.lightTheme.paper-primary) !important;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.checked {
|
|
54
|
-
background-color: theme(digitv2.lightTheme.primary-1);
|
|
55
|
-
width: 7.125rem;
|
|
56
|
-
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
57
|
-
|
|
58
|
-
.digit-toggle-label {
|
|
59
|
-
@extend .typography.heading-s;
|
|
60
|
-
color: theme(digitv2.lightTheme.paper-primary);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
.digit-toggle-input {
|
|
67
|
-
@apply absolute opacity-0;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.digit-toggle-label {
|
|
71
|
-
color: theme(digitv2.lightTheme.text-disabled);
|
|
72
|
-
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3);
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.digit-toggle-toolbar {
|
|
5
|
+
@apply flex justify-start w-full;
|
|
6
|
+
max-width: 37.5rem;
|
|
7
|
+
min-width: 7.5rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
.toggle-option-container {
|
|
12
|
+
@apply inline-flex items-center;
|
|
13
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.digit-toggle-btn-wrap {
|
|
17
|
+
@apply flex items-center justify-center cursor-pointer bg-white overflow-hidden text-center;
|
|
18
|
+
padding: 0.125rem theme(digitv2.spacers.spacer0);
|
|
19
|
+
width: 7rem;
|
|
20
|
+
height: theme(digitv2.spacers.spacer8);
|
|
21
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
22
|
+
text-overflow: ellipsis;
|
|
23
|
+
|
|
24
|
+
.digit-toggle-label {
|
|
25
|
+
@extend .typography.body-xs;
|
|
26
|
+
@apply w-full overflow-hidden whitespace-no-wrap;
|
|
27
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
28
|
+
text-overflow: ellipsis;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:hover,
|
|
32
|
+
&:active {
|
|
33
|
+
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
34
|
+
background: theme(digitv2.lightTheme.paper-primary);
|
|
35
|
+
width: 7.125rem;
|
|
36
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
37
|
+
|
|
38
|
+
.digit-toggle-label {
|
|
39
|
+
color: theme(digitv2.lightTheme.primary-1) !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:active {
|
|
44
|
+
box-shadow: theme(digitv2.spacers.spacer0) theme(digitv2.spacers.spacer0) 0.375rem theme(digitv2.spacers.spacer0) #F4773840;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
input:checked+.digit-toggle-label {
|
|
48
|
+
@extend .typography.heading-s;
|
|
49
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
50
|
+
color: theme(digitv2.lightTheme.paper-primary) !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.checked {
|
|
54
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
55
|
+
width: 7.125rem;
|
|
56
|
+
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
57
|
+
|
|
58
|
+
.digit-toggle-label {
|
|
59
|
+
@extend .typography.heading-s;
|
|
60
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
.digit-toggle-input {
|
|
67
|
+
@apply absolute opacity-0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.digit-toggle-label {
|
|
71
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
72
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3);
|
|
73
73
|
}
|
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
.topbar {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
padding: 0.625rem 1.5rem;
|
|
6
|
+
background: white;
|
|
7
|
+
box-shadow: rgba(0, 0, 0, 0.24) 0 0.063rem 0.25rem;
|
|
8
|
+
z-index: 9999999;
|
|
9
|
+
@apply flex items-center;
|
|
10
|
+
|
|
11
|
+
img {
|
|
12
|
+
display: inline;
|
|
13
|
+
|
|
14
|
+
&.city {
|
|
15
|
+
margin-right: 0.5rem;
|
|
16
|
+
height: 3rem;
|
|
17
|
+
width: 3rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.state {
|
|
21
|
+
height: 1.25rem;
|
|
22
|
+
max-height: 1.25rem;
|
|
23
|
+
width: auto;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ulb {
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
display: inline-block;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.right {
|
|
33
|
+
float: right;
|
|
34
|
+
margin-top: 0.75rem;
|
|
35
|
+
position: relative;
|
|
36
|
+
|
|
37
|
+
svg {
|
|
38
|
+
display: inline;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.user-img-txt {
|
|
42
|
+
background: theme(colors.primary.main);
|
|
43
|
+
padding: 0.625rem 0.938rem;
|
|
44
|
+
border-radius: 50%;
|
|
45
|
+
color: white;
|
|
46
|
+
font-weight: 700;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.left {
|
|
51
|
+
float: left;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.w-80 {
|
|
55
|
+
width: 70%;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.width-20 {
|
|
59
|
+
width: 30%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.margin-top-6 {
|
|
63
|
+
margin-top: 0.375rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.margin-right-30 {
|
|
67
|
+
margin-right: 1.875rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.margin-top-10 {
|
|
71
|
+
margin-top: 0.625rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.icon {
|
|
75
|
+
display: block;
|
|
76
|
+
color: rgb(117, 117, 117);
|
|
77
|
+
fill: rgb(117, 117, 117);
|
|
78
|
+
height: 1.313rem;
|
|
79
|
+
width: 1.313rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.column-gap-15 {
|
|
83
|
+
column-gap: 0.938rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.column-gap-5 {
|
|
87
|
+
column-gap: 0.313rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.select-wrap,
|
|
91
|
+
.employee-select-wrap {
|
|
92
|
+
margin-bottom: 0rem;
|
|
93
|
+
|
|
94
|
+
.profile-dropdown--item {
|
|
95
|
+
span {
|
|
96
|
+
white-space: pre;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.digit-employee-select-wrap {
|
|
102
|
+
margin-bottom: 0rem;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.digit-topbar-container {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: space-between;
|
|
109
|
+
width: 100%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@media screen and (min-width: 40.063rem) {
|
|
113
|
+
.digit-hamburger-class {
|
|
114
|
+
display: none !important;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media screen and (max-width: 40rem) {
|
|
119
|
+
|
|
120
|
+
.ulb {
|
|
121
|
+
font-size: 0.875rem;
|
|
122
|
+
display: inline-block;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.flex-right {
|
|
126
|
+
display: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.digit-employee-select-wrap {
|
|
130
|
+
right: 0;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.cp {
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
|
|
138
|
+
.hamburger {
|
|
139
|
+
display: none;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@media (max-width: 48.75rem) {
|
|
143
|
+
.hamburger {
|
|
144
|
+
display: none;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.citizen {
|
|
150
|
+
.right {
|
|
151
|
+
margin-top: 0.313rem;
|
|
152
|
+
margin-bottom: 0.313rem;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.topbar-select-wrap {
|
|
156
|
+
margin-bottom: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.flex-between {
|
|
160
|
+
@apply flex items-center justify-between;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.profile-dropdown--item {
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-direction: row;
|
|
167
|
+
padding: 0.625rem;
|
|
168
|
+
column-gap: 0.625rem;
|
|
169
|
+
color: theme(colors.text.secondary);
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
background: theme(colors.grey.mid);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.flex-right {
|
|
177
|
+
@apply flex items-center justify-end;
|
|
178
|
+
min-width: 5.313rem;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
video::-webkit-media-controls-panel {
|
|
182
|
+
top: 55%;
|
|
183
|
+
position: absolute;
|
|
184
|
+
width: 100%;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.topbarOptionsClassName {
|
|
188
|
+
right: -3rem !important
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.digit-topbar {
|
|
192
|
+
@apply w-full max-w-full fixed items-center;
|
|
193
|
+
top: 0;
|
|
194
|
+
left: 0;
|
|
195
|
+
z-index: 9999999;
|
|
196
|
+
display: flex;
|
|
197
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
198
|
+
height: 4rem;
|
|
199
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer10) theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer10);
|
|
200
|
+
|
|
201
|
+
.margin-top-10 {
|
|
202
|
+
margin-top: 0.625rem;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.digit-dropdown-select-wrap ,
|
|
206
|
+
.digit-dropdown-employee-select-wrap {
|
|
207
|
+
margin-bottom: 0rem;
|
|
208
|
+
|
|
209
|
+
.digit-dropdown-item {
|
|
210
|
+
span {
|
|
211
|
+
white-space: pre;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.digit-employee-select-wrap {
|
|
217
|
+
margin-bottom: 0rem;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
.digit-dropdown-item {
|
|
222
|
+
display: flex;
|
|
223
|
+
flex-direction: row;
|
|
224
|
+
padding: 0.625rem;
|
|
225
|
+
column-gap: 0.625rem;
|
|
226
|
+
color: theme(colors.text.secondary);
|
|
227
|
+
|
|
228
|
+
&:hover {
|
|
229
|
+
background: theme(colors.grey.mid);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
@media (min-width: 48rem) {
|
|
234
|
+
justify-content: space-between;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
238
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer6) theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer6);
|
|
239
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
@media (max-width: 30rem) {
|
|
243
|
+
height: 3.5rem;
|
|
244
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
245
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&.light {
|
|
249
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.digit-logo-ulb-wrapper {
|
|
253
|
+
display: flex !important;
|
|
254
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
255
|
+
align-items: center !important;
|
|
256
|
+
max-width: calc(50%-(theme(digitv2.spacers.spacer6)));
|
|
257
|
+
|
|
258
|
+
@media (min-width: 48rem) {
|
|
259
|
+
height: theme(digitv2.spacers.spacer8);
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
263
|
+
height: theme(digitv2.spacers.spacer8);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
@media (max-width: 30rem) {}
|
|
267
|
+
|
|
268
|
+
.digit-topbar-logo {
|
|
269
|
+
flex-shrink: 0;
|
|
270
|
+
height: theme(digitv2.spacers.spacer8);
|
|
271
|
+
width: 1.291rem;
|
|
272
|
+
|
|
273
|
+
&.clickable {
|
|
274
|
+
cursor: pointer;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.digit-topbar-ulb {
|
|
279
|
+
@extend .typography.heading-s;
|
|
280
|
+
@apply whitespace-no-wrap overflow-hidden;
|
|
281
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
282
|
+
text-overflow: ellipsis;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&.dark {
|
|
287
|
+
background-color: theme(digitv2.lightTheme.primary-2);
|
|
288
|
+
|
|
289
|
+
.digit-logo-ulb-wrapper {
|
|
290
|
+
.digit-topbar-ulb {
|
|
291
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.digit-header-action-fields {
|
|
296
|
+
.individual-action-field {
|
|
297
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
298
|
+
|
|
299
|
+
.digit-dropdown-employee-select-wrap,
|
|
300
|
+
.digit-dropdown-select-wrap{
|
|
301
|
+
background:none;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.digit-header-action-fields {
|
|
308
|
+
@apply items-center overflow-hidden;
|
|
309
|
+
display: flex !important;
|
|
310
|
+
height: theme(digitv2.spacers.spacer8);
|
|
311
|
+
max-width: 50%;
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
@media (min-width: 48rem) {
|
|
315
|
+
gap: theme(digitv2.spacers.spacer8);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
319
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.digit-header-img {
|
|
323
|
+
&.clickable {
|
|
324
|
+
cursor: pointer;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.digit-topbar-hamburger {
|
|
330
|
+
width: theme(digitv2.spacers.spacer6);
|
|
331
|
+
height: theme(digitv2.spacers.spacer6);
|
|
332
|
+
|
|
333
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
334
|
+
width: theme(digitv2.spacers.spacer8);
|
|
335
|
+
height: theme(digitv2.spacers.spacer8);
|
|
336
|
+
|
|
337
|
+
svg {
|
|
338
|
+
width: theme(digitv2.spacers.spacer8);
|
|
339
|
+
height: theme(digitv2.spacers.spacer8);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
&.clickable {
|
|
344
|
+
cursor: pointer;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.digit-header-img-ulb-wrapper-mobileview {
|
|
350
|
+
display: flex;
|
|
351
|
+
align-items: center;
|
|
352
|
+
height: theme(digitv2.spacers.spacer6);
|
|
353
|
+
max-width: calc(100%-(theme(digitv2.spacers.spacer6)));
|
|
354
|
+
|
|
355
|
+
.digit-header-img {
|
|
356
|
+
margin-right: theme(digitv2.spacers.spacer2);
|
|
357
|
+
margin-bottom: 0.156rem;
|
|
358
|
+
|
|
359
|
+
&.clickable {
|
|
360
|
+
cursor: pointer;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.topbar-divider {
|
|
365
|
+
height: theme(digitv2.spacers.spacer6);
|
|
366
|
+
width: 0.063rem;
|
|
367
|
+
border: 0.063rem solid theme(digitv2.lightTheme.text-primary);
|
|
368
|
+
margin-right: 0.625rem;
|
|
369
|
+
|
|
370
|
+
&.dark {
|
|
371
|
+
border: 0.063rem solid theme(digitv2.lightTheme.paper-primary);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.digit-topbar-ulb-mobileview {
|
|
377
|
+
@apply overflow-hidden whitespace-no-wrap;
|
|
378
|
+
@extend .typography.body-s;
|
|
379
|
+
text-overflow: ellipsis;
|
|
380
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
381
|
+
|
|
382
|
+
&.dark {
|
|
383
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
}
|
|
388
|
+
}
|