@egovernments/digit-ui-components-css 0.0.2-beta.11 → 0.0.2-beta.12
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 -88
- package/README.md +80 -80
- package/package.json +69 -69
- package/src/digitv2/components/FormComposerV2.scss +118 -118
- package/src/digitv2/components/actionbarV2.scss +206 -206
- 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 -451
- package/src/digitv2/components/cardV2.scss +497 -497
- 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 +151 -151
- 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 -330
- 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 +170 -170
- package/src/digitv2/components/toastV2.scss +80 -80
- package/src/digitv2/components/toggleV2.scss +72 -72
- package/src/digitv2/components/topbarV2.scss +387 -387
- 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 -169
- 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,118 +1,118 @@
|
|
|
1
|
-
@import url("../index.scss");
|
|
2
|
-
|
|
3
|
-
.digit-field-container {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
@apply flex items-center;
|
|
7
|
-
|
|
8
|
-
.component-in-front {
|
|
9
|
-
@apply flex justify-center items-center;
|
|
10
|
-
@extend .light-background;
|
|
11
|
-
@extend .light-input-border;
|
|
12
|
-
margin-top: 0;
|
|
13
|
-
border: 1px solid;
|
|
14
|
-
border-right: none;
|
|
15
|
-
padding: 7px;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.card-date-input {
|
|
20
|
-
@extend .light-input-border;
|
|
21
|
-
@apply absolute top-0 left-0 w-3/4 bg-white pl-sm border border-input-border border-solid border-r-0;
|
|
22
|
-
outline: transparent solid 1px;
|
|
23
|
-
height: 2.5rem;
|
|
24
|
-
}
|
|
25
|
-
.text-input-width {
|
|
26
|
-
max-width: 540px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.text-input {
|
|
30
|
-
@apply relative w-full;
|
|
31
|
-
input {
|
|
32
|
-
background-color: transparent;
|
|
33
|
-
&:hover {
|
|
34
|
-
@extend .light-input-border;
|
|
35
|
-
@apply border-2 border-solid border-primary-main;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
.employee-card-input-error {
|
|
40
|
-
@extend .light-input-border;
|
|
41
|
-
@extend .alert-error;
|
|
42
|
-
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
43
|
-
}
|
|
44
|
-
.card-input-error {
|
|
45
|
-
@extend .light-input-border;
|
|
46
|
-
@extend .alert-error;
|
|
47
|
-
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.employee-card-input {
|
|
51
|
-
@extend .light-input-border;
|
|
52
|
-
@apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
53
|
-
}
|
|
54
|
-
.employee-card-input:disabled {
|
|
55
|
-
@extend .light-input-border;
|
|
56
|
-
@extend .light-text-color-disabled;
|
|
57
|
-
@apply border-grey-dark text-grey-dark !important;
|
|
58
|
-
pointer-events: none !important;
|
|
59
|
-
}
|
|
60
|
-
.employee-card-input--front {
|
|
61
|
-
@extend .light-background;
|
|
62
|
-
width: fit-content !important;
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
/* background: theme(colors.grey.mid); */
|
|
66
|
-
border-right: 0;
|
|
67
|
-
padding-right: 5px;
|
|
68
|
-
}
|
|
69
|
-
.employee-card-input-error {
|
|
70
|
-
@extend .light-input-border;
|
|
71
|
-
@extend .alert-error;
|
|
72
|
-
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.card-textarea,
|
|
76
|
-
.employee-card-textarea {
|
|
77
|
-
@extend .light-input-border;
|
|
78
|
-
@apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
|
|
79
|
-
}
|
|
80
|
-
.employee-card-textarea {
|
|
81
|
-
@apply w-full;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.citizen-card-input {
|
|
85
|
-
@extend .light-input-border;
|
|
86
|
-
@apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
87
|
-
}
|
|
88
|
-
.citizen-card-input--front {
|
|
89
|
-
@extend .light-background;
|
|
90
|
-
width: fit-content !important;
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
/* background: theme(colors.grey.mid); */
|
|
94
|
-
border-right: 0;
|
|
95
|
-
padding-right: 5px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.break-line {
|
|
99
|
-
@extend .light-input-border;
|
|
100
|
-
@apply border-border my-lg;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.primary-label-btn {
|
|
104
|
-
@extend .light-primary;
|
|
105
|
-
@apply flex;
|
|
106
|
-
cursor: pointer;
|
|
107
|
-
font-weight: 500;
|
|
108
|
-
width: fit-content;
|
|
109
|
-
gap: 10px;
|
|
110
|
-
|
|
111
|
-
svg {
|
|
112
|
-
fill: theme(colors.primary.main);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.digit-form-composer-header {
|
|
117
|
-
font-size: theme(digitv2.fontSize.heading-l-dt);
|
|
118
|
-
}
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
.digit-field-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
@apply flex items-center;
|
|
7
|
+
|
|
8
|
+
.component-in-front {
|
|
9
|
+
@apply flex justify-center items-center;
|
|
10
|
+
@extend .light-background;
|
|
11
|
+
@extend .light-input-border;
|
|
12
|
+
margin-top: 0;
|
|
13
|
+
border: 1px solid;
|
|
14
|
+
border-right: none;
|
|
15
|
+
padding: 7px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.card-date-input {
|
|
20
|
+
@extend .light-input-border;
|
|
21
|
+
@apply absolute top-0 left-0 w-3/4 bg-white pl-sm border border-input-border border-solid border-r-0;
|
|
22
|
+
outline: transparent solid 1px;
|
|
23
|
+
height: 2.5rem;
|
|
24
|
+
}
|
|
25
|
+
.text-input-width {
|
|
26
|
+
max-width: 540px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.text-input {
|
|
30
|
+
@apply relative w-full;
|
|
31
|
+
input {
|
|
32
|
+
background-color: transparent;
|
|
33
|
+
&:hover {
|
|
34
|
+
@extend .light-input-border;
|
|
35
|
+
@apply border-2 border-solid border-primary-main;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.employee-card-input-error {
|
|
40
|
+
@extend .light-input-border;
|
|
41
|
+
@extend .alert-error;
|
|
42
|
+
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
43
|
+
}
|
|
44
|
+
.card-input-error {
|
|
45
|
+
@extend .light-input-border;
|
|
46
|
+
@extend .alert-error;
|
|
47
|
+
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.employee-card-input {
|
|
51
|
+
@extend .light-input-border;
|
|
52
|
+
@apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
53
|
+
}
|
|
54
|
+
.employee-card-input:disabled {
|
|
55
|
+
@extend .light-input-border;
|
|
56
|
+
@extend .light-text-color-disabled;
|
|
57
|
+
@apply border-grey-dark text-grey-dark !important;
|
|
58
|
+
pointer-events: none !important;
|
|
59
|
+
}
|
|
60
|
+
.employee-card-input--front {
|
|
61
|
+
@extend .light-background;
|
|
62
|
+
width: fit-content !important;
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
/* background: theme(colors.grey.mid); */
|
|
66
|
+
border-right: 0;
|
|
67
|
+
padding-right: 5px;
|
|
68
|
+
}
|
|
69
|
+
.employee-card-input-error {
|
|
70
|
+
@extend .light-input-border;
|
|
71
|
+
@extend .alert-error;
|
|
72
|
+
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.card-textarea,
|
|
76
|
+
.employee-card-textarea {
|
|
77
|
+
@extend .light-input-border;
|
|
78
|
+
@apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
|
|
79
|
+
}
|
|
80
|
+
.employee-card-textarea {
|
|
81
|
+
@apply w-full;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.citizen-card-input {
|
|
85
|
+
@extend .light-input-border;
|
|
86
|
+
@apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
87
|
+
}
|
|
88
|
+
.citizen-card-input--front {
|
|
89
|
+
@extend .light-background;
|
|
90
|
+
width: fit-content !important;
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
/* background: theme(colors.grey.mid); */
|
|
94
|
+
border-right: 0;
|
|
95
|
+
padding-right: 5px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.break-line {
|
|
99
|
+
@extend .light-input-border;
|
|
100
|
+
@apply border-border my-lg;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.primary-label-btn {
|
|
104
|
+
@extend .light-primary;
|
|
105
|
+
@apply flex;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
font-weight: 500;
|
|
108
|
+
width: fit-content;
|
|
109
|
+
gap: 10px;
|
|
110
|
+
|
|
111
|
+
svg {
|
|
112
|
+
fill: theme(colors.primary.main);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.digit-form-composer-header {
|
|
117
|
+
font-size: theme(digitv2.fontSize.heading-l-dt);
|
|
118
|
+
}
|
|
@@ -1,207 +1,207 @@
|
|
|
1
|
-
@import url("../index.scss");
|
|
2
|
-
|
|
3
|
-
/*.digit-action-bar-wrap {
|
|
4
|
-
@extend .light-text-color-primary;
|
|
5
|
-
@extend .light-paper-primary;
|
|
6
|
-
box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
|
|
7
|
-
max-width: 100%;
|
|
8
|
-
z-index: 100;
|
|
9
|
-
|
|
10
|
-
@apply left-0 bottom-0 w-full bg-white py-sm px-sm fixed text-right;
|
|
11
|
-
|
|
12
|
-
div {
|
|
13
|
-
@apply w-full;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.digit-menu-wrap {
|
|
17
|
-
@extend .light-background;
|
|
18
|
-
@apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
|
|
19
|
-
bottom: 45px;
|
|
20
|
-
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
21
|
-
width: calc(100% - 16px);
|
|
22
|
-
right: 8px;
|
|
23
|
-
|
|
24
|
-
div {
|
|
25
|
-
@extend .light-primary;
|
|
26
|
-
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
27
|
-
|
|
28
|
-
&:hover {
|
|
29
|
-
@extend .light-background;
|
|
30
|
-
@apply bg-grey-mid w-full;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@screen dt {
|
|
37
|
-
.digit-action-bar-wrap {
|
|
38
|
-
box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
|
|
39
|
-
left: 0;
|
|
40
|
-
max-width: none;
|
|
41
|
-
z-index: 999;
|
|
42
|
-
|
|
43
|
-
@apply fixed bottom-0 bg-white py-sm pr-lg text-right;
|
|
44
|
-
|
|
45
|
-
div {
|
|
46
|
-
width: calc(100% - 16px);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.digit-menu-wrap {
|
|
50
|
-
bottom: 45px;
|
|
51
|
-
top: unset;
|
|
52
|
-
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
53
|
-
@apply absolute h-auto bg-white text-left mb-xs z-30;
|
|
54
|
-
width: 240px;
|
|
55
|
-
right: 24px;
|
|
56
|
-
|
|
57
|
-
div {
|
|
58
|
-
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
59
|
-
|
|
60
|
-
&:hover {
|
|
61
|
-
@apply bg-grey-mid w-full;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.digit-action-bar-wrap-registry {
|
|
69
|
-
div {
|
|
70
|
-
@apply w-full;
|
|
71
|
-
}
|
|
72
|
-
.digit-menu-wrap {
|
|
73
|
-
@extend .light-background;
|
|
74
|
-
@apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
|
|
75
|
-
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
76
|
-
width: 160px;
|
|
77
|
-
right: 60px;
|
|
78
|
-
|
|
79
|
-
div {
|
|
80
|
-
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
81
|
-
|
|
82
|
-
&:hover {
|
|
83
|
-
@extend .light-background;
|
|
84
|
-
@apply bg-grey-mid w-full;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.digit-search-add {
|
|
90
|
-
@extend .light-primary;
|
|
91
|
-
padding: 12px 16px;
|
|
92
|
-
color: rgb(244, 119, 56);
|
|
93
|
-
display: flex;
|
|
94
|
-
cursor: pointer;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.digit-search-add-icon {
|
|
98
|
-
@extend .light-primary-button;
|
|
99
|
-
background: rgb(244, 119, 56);
|
|
100
|
-
border-radius: 50%;
|
|
101
|
-
height: 24px;
|
|
102
|
-
width: 24px;
|
|
103
|
-
display: flex;
|
|
104
|
-
justify-content: center;
|
|
105
|
-
align-items: center;
|
|
106
|
-
margin-left: 10px;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
*/
|
|
110
|
-
|
|
111
|
-
.digit-action-bar-wrap{
|
|
112
|
-
width: 100%;
|
|
113
|
-
max-width: 100%;
|
|
114
|
-
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer8);
|
|
115
|
-
display: flex !important;
|
|
116
|
-
align-items: center;
|
|
117
|
-
justify-content: space-between;
|
|
118
|
-
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
|
|
119
|
-
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
120
|
-
height: 4.5rem;
|
|
121
|
-
position: fixed;
|
|
122
|
-
bottom: 0;
|
|
123
|
-
left: 0;
|
|
124
|
-
right: 0;
|
|
125
|
-
z-index: 100;
|
|
126
|
-
|
|
127
|
-
@media (min-width: 48rem) {
|
|
128
|
-
gap: theme(digitv2.spacers.spacer6);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
132
|
-
gap: theme(digitv2.spacers.spacer5);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
@media (max-width: 30rem) {
|
|
136
|
-
gap: theme(digitv2.spacers.spacer4);
|
|
137
|
-
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
138
|
-
height: 8rem;
|
|
139
|
-
padding: theme(digitv2.spacers.spacer4);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.digit-action-bar-fields{
|
|
143
|
-
display: flex;
|
|
144
|
-
justify-content: space-between;
|
|
145
|
-
flex-wrap: wrap;
|
|
146
|
-
|
|
147
|
-
@media (min-width: 48rem) {
|
|
148
|
-
gap: theme(digitv2.spacers.spacer6);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
152
|
-
gap: theme(digitv2.spacers.spacer5);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@media (max-width: 30rem) {
|
|
156
|
-
gap: theme(digitv2.spacers.spacer4);
|
|
157
|
-
flex-direction: column;
|
|
158
|
-
|
|
159
|
-
.action-bar-individual-action-field{
|
|
160
|
-
button{
|
|
161
|
-
width: 100%;
|
|
162
|
-
max-width: 100%;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&.toRight{
|
|
168
|
-
margin-left: auto;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
&.toLeft{
|
|
172
|
-
justify-content: unset;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.action-bar-individual-action-field{
|
|
176
|
-
button{
|
|
177
|
-
flex: 1;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&:not(.toRight){
|
|
182
|
-
width: 100%;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.digit-dropdown-select-wrap,
|
|
187
|
-
.digit-employee-dropdown-select-wrap{
|
|
188
|
-
margin-bottom: 0rem;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.header-dropdown-container {
|
|
192
|
-
position: relative;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.header-dropdown-menu {
|
|
196
|
-
@apply absolute z-30;
|
|
197
|
-
bottom: theme(digitv2.spacers.spacer10);
|
|
198
|
-
right: 0;
|
|
199
|
-
max-height: unset;
|
|
200
|
-
margin-top: unset;
|
|
201
|
-
|
|
202
|
-
&.showBottom{
|
|
203
|
-
bottom: unset;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
/*.digit-action-bar-wrap {
|
|
4
|
+
@extend .light-text-color-primary;
|
|
5
|
+
@extend .light-paper-primary;
|
|
6
|
+
box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
z-index: 100;
|
|
9
|
+
|
|
10
|
+
@apply left-0 bottom-0 w-full bg-white py-sm px-sm fixed text-right;
|
|
11
|
+
|
|
12
|
+
div {
|
|
13
|
+
@apply w-full;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.digit-menu-wrap {
|
|
17
|
+
@extend .light-background;
|
|
18
|
+
@apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
|
|
19
|
+
bottom: 45px;
|
|
20
|
+
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
21
|
+
width: calc(100% - 16px);
|
|
22
|
+
right: 8px;
|
|
23
|
+
|
|
24
|
+
div {
|
|
25
|
+
@extend .light-primary;
|
|
26
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
@extend .light-background;
|
|
30
|
+
@apply bg-grey-mid w-full;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@screen dt {
|
|
37
|
+
.digit-action-bar-wrap {
|
|
38
|
+
box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
|
|
39
|
+
left: 0;
|
|
40
|
+
max-width: none;
|
|
41
|
+
z-index: 999;
|
|
42
|
+
|
|
43
|
+
@apply fixed bottom-0 bg-white py-sm pr-lg text-right;
|
|
44
|
+
|
|
45
|
+
div {
|
|
46
|
+
width: calc(100% - 16px);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.digit-menu-wrap {
|
|
50
|
+
bottom: 45px;
|
|
51
|
+
top: unset;
|
|
52
|
+
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
53
|
+
@apply absolute h-auto bg-white text-left mb-xs z-30;
|
|
54
|
+
width: 240px;
|
|
55
|
+
right: 24px;
|
|
56
|
+
|
|
57
|
+
div {
|
|
58
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
@apply bg-grey-mid w-full;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.digit-action-bar-wrap-registry {
|
|
69
|
+
div {
|
|
70
|
+
@apply w-full;
|
|
71
|
+
}
|
|
72
|
+
.digit-menu-wrap {
|
|
73
|
+
@extend .light-background;
|
|
74
|
+
@apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
|
|
75
|
+
box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
|
|
76
|
+
width: 160px;
|
|
77
|
+
right: 60px;
|
|
78
|
+
|
|
79
|
+
div {
|
|
80
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
81
|
+
|
|
82
|
+
&:hover {
|
|
83
|
+
@extend .light-background;
|
|
84
|
+
@apply bg-grey-mid w-full;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.digit-search-add {
|
|
90
|
+
@extend .light-primary;
|
|
91
|
+
padding: 12px 16px;
|
|
92
|
+
color: rgb(244, 119, 56);
|
|
93
|
+
display: flex;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.digit-search-add-icon {
|
|
98
|
+
@extend .light-primary-button;
|
|
99
|
+
background: rgb(244, 119, 56);
|
|
100
|
+
border-radius: 50%;
|
|
101
|
+
height: 24px;
|
|
102
|
+
width: 24px;
|
|
103
|
+
display: flex;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
align-items: center;
|
|
106
|
+
margin-left: 10px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
.digit-action-bar-wrap{
|
|
112
|
+
width: 100%;
|
|
113
|
+
max-width: 100%;
|
|
114
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer8);
|
|
115
|
+
display: flex !important;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: space-between;
|
|
118
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
|
|
119
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
120
|
+
height: 4.5rem;
|
|
121
|
+
position: fixed;
|
|
122
|
+
bottom: 0;
|
|
123
|
+
left: 0;
|
|
124
|
+
right: 0;
|
|
125
|
+
z-index: 100;
|
|
126
|
+
|
|
127
|
+
@media (min-width: 48rem) {
|
|
128
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
132
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (max-width: 30rem) {
|
|
136
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
137
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
138
|
+
height: 8rem;
|
|
139
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.digit-action-bar-fields{
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: space-between;
|
|
145
|
+
flex-wrap: wrap;
|
|
146
|
+
|
|
147
|
+
@media (min-width: 48rem) {
|
|
148
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
152
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@media (max-width: 30rem) {
|
|
156
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
|
|
159
|
+
.action-bar-individual-action-field{
|
|
160
|
+
button{
|
|
161
|
+
width: 100%;
|
|
162
|
+
max-width: 100%;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&.toRight{
|
|
168
|
+
margin-left: auto;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&.toLeft{
|
|
172
|
+
justify-content: unset;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.action-bar-individual-action-field{
|
|
176
|
+
button{
|
|
177
|
+
flex: 1;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&:not(.toRight){
|
|
182
|
+
width: 100%;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.digit-dropdown-select-wrap,
|
|
187
|
+
.digit-employee-dropdown-select-wrap{
|
|
188
|
+
margin-bottom: 0rem;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.header-dropdown-container {
|
|
192
|
+
position: relative;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.header-dropdown-menu {
|
|
196
|
+
@apply absolute z-30;
|
|
197
|
+
bottom: theme(digitv2.spacers.spacer10);
|
|
198
|
+
right: 0;
|
|
199
|
+
max-height: unset;
|
|
200
|
+
margin-top: unset;
|
|
201
|
+
|
|
202
|
+
&.showBottom{
|
|
203
|
+
bottom: unset;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
207
|
}
|