@egovernments/digit-ui-components-css 0.0.1-pucar.3 → 0.0.2-1
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 +34 -0
- package/dist/index.css +6391 -4208
- package/dist/index.min.css +2 -2
- package/package.json +4 -2
- package/src/digitv2/components/actionbarV2.scss +207 -0
- package/src/digitv2/components/backLinkV2.scss +37 -0
- package/src/digitv2/components/breadcrumbV2.scss +57 -0
- package/src/digitv2/components/buttonsV2.scss +45 -2
- package/src/digitv2/components/cardV2.scss +498 -0
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/cardlabelV2.scss +8 -0
- package/src/digitv2/components/checkboxV2.scss +4 -0
- package/src/digitv2/components/{removeableTagV2.scss → chipV2.scss} +5 -0
- package/src/digitv2/components/dividerV2.scss +11 -0
- package/src/digitv2/components/errorMessageV2.scss +2 -0
- package/src/digitv2/components/fieldV1.scss +1 -1
- package/src/digitv2/components/headerdropdownV2.scss +152 -0
- package/src/digitv2/components/infoCardV2.scss +1 -4
- package/src/digitv2/components/labelFieldPairV2.scss +20 -11
- package/src/digitv2/components/mobileNumberV2.scss +1 -1
- package/src/digitv2/components/mobilesidebarV2.scss +439 -0
- package/src/digitv2/components/multiSelectDropdownV2.scss +1 -1
- package/src/digitv2/components/popUpV2.scss +29 -7
- package/src/digitv2/components/radiobtnV2.scss +6 -4
- package/src/digitv2/components/selectDropdownV2.scss +3 -3
- package/src/digitv2/components/sidebarV2.scss +409 -0
- package/src/digitv2/components/stepperV2.scss +30 -9
- package/src/digitv2/components/textInputV2.scss +1 -1
- package/src/digitv2/components/textareaV2.scss +1 -1
- package/src/digitv2/components/timelineV2.scss +55 -11
- package/src/digitv2/components/tooltipwrapperV2.scss +96 -0
- package/src/digitv2/components/topbarV2.scss +388 -0
- package/src/digitv2/components/uploaderV2.scss +98 -10
- package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
- package/src/digitv2/index.scss +14 -4
- package/src/digitv2/typography.scss +1 -1
- package/src/index.scss +0 -4
- package/src/pages/employee/index.scss +1 -1
- package/img/browser-icon.png +0 -0
- package/img/m_seva_white_logo.png +0 -0
- package/img/mseva-demo.png +0 -0
- package/svg/arrowdown.svg +0 -1
- package/svg/arrowleft.svg +0 -1
- package/svg/calendar.svg +0 -1
- package/svg/camera.svg +0 -4
- package/svg/check.svg +0 -4
- package/svg/close.svg +0 -4
- package/svg/error.svg +0 -4
- package/svg/error2.svg +0 -5
- package/svg/searchicon.svg +0 -4
- package/svg/starempty.svg +0 -4
- package/svg/starfilled.svg +0 -5
- package/svg/success.svg +0 -4
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
.header-dropdown-profile {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
width: theme(digitv2.spacers.spacer8);
|
|
6
|
+
height: theme(digitv2.spacers.spacer8);
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
border-radius: 50%;
|
|
9
|
+
|
|
10
|
+
&.text {
|
|
11
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
12
|
+
font-weight: 700;
|
|
13
|
+
background: theme(digitv2.lightTheme.primary-2);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.dark {
|
|
17
|
+
&.text {
|
|
18
|
+
background: theme(digitv2.lightTheme.paper-primary);
|
|
19
|
+
font-weight: 700;
|
|
20
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
img {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: auto;
|
|
27
|
+
display: block;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.header-dropdown-label {
|
|
32
|
+
@extend .typography.body-s;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
37
|
+
position: relative;
|
|
38
|
+
|
|
39
|
+
&.dark {
|
|
40
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.header-dropdown-arrow {
|
|
45
|
+
margin-left: theme(digitv2.spacers.spacer2);
|
|
46
|
+
width: theme(digitv2.spacers.spacer6);
|
|
47
|
+
height: theme(digitv2.spacers.spacer6);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.header-dropdown-menu {
|
|
51
|
+
width: fit-content !important;
|
|
52
|
+
box-shadow: theme(digitv2.spacers.spacer0) 0.063rem 0.275rem theme(digitv2.spacers.spacer0) #00000026;
|
|
53
|
+
max-height: 80%;
|
|
54
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
55
|
+
margin-top: theme(digitv2.spacers.spacer5);
|
|
56
|
+
position: fixed;
|
|
57
|
+
min-width: 14rem;
|
|
58
|
+
max-width: 25rem;
|
|
59
|
+
@apply z-30 overflow-y-auto overflow-x-hidden;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.header-dropdown-search-container {
|
|
63
|
+
height: 3.5rem;
|
|
64
|
+
min-width: 14rem;
|
|
65
|
+
max-width: 25rem;
|
|
66
|
+
width: auto;
|
|
67
|
+
padding: theme(digitv2.spacers.spacer3) !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.header-dropdown-search {
|
|
71
|
+
height: theme(digitv2.spacers.spacer8) !important;
|
|
72
|
+
min-width: 12.5rem;
|
|
73
|
+
max-width: 23.5rem;
|
|
74
|
+
|
|
75
|
+
.digit-text-input-customIcon {
|
|
76
|
+
height: theme(digitv2.spacers.spacer5);
|
|
77
|
+
width: theme(digitv2.spacers.spacer5);
|
|
78
|
+
top: 0.4rem;
|
|
79
|
+
right: theme(digitv2.spacers.spacer4);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.input-container {
|
|
83
|
+
max-height: 100%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
input {
|
|
87
|
+
max-height: 100%;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.header-dropdown-options {
|
|
92
|
+
max-height: 12.5rem;
|
|
93
|
+
overflow-y: auto;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.header-dropdown-option {
|
|
97
|
+
@extend .typography.body-s;
|
|
98
|
+
@apply whitespace-no-wrap w-full max-w-full overflow-hidden;
|
|
99
|
+
padding: theme(digitv2.spacers.spacer4) 0.625rem;
|
|
100
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
101
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
102
|
+
height: theme(digitv2.spacers.spacer10);
|
|
103
|
+
display: flex;
|
|
104
|
+
align-items: center;
|
|
105
|
+
word-break: break-word;
|
|
106
|
+
text-overflow: ellipsis;
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
|
|
109
|
+
svg {
|
|
110
|
+
flex-shrink: 0;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.header-dropdown-option:not(:hover):not(:active):nth-of-type(2n +1) {
|
|
115
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.header-dropdown-nooption {
|
|
119
|
+
@extend .typography.body-s;
|
|
120
|
+
padding: theme(digitv2.spacers.spacer2);
|
|
121
|
+
pointer-events: none;
|
|
122
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
123
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.header-dropdown-option:hover,
|
|
127
|
+
.header-dropdown-option.keyChange {
|
|
128
|
+
background: theme(digitv2.lightTheme.primary-bg) !important;
|
|
129
|
+
border: 0.031rem solid theme(digitv2.lightTheme.primary-1);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.header-dropdown-option:active,
|
|
133
|
+
.header-dropdown-option.activeIndex {
|
|
134
|
+
@extend .typography.heading-s;
|
|
135
|
+
background: theme(digitv2.lightTheme.primary-1) !important;
|
|
136
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.header-dropdown-options::-webkit-scrollbar {
|
|
140
|
+
width: theme(digitv2.spacers.spacer2);
|
|
141
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.header-dropdown-options::-webkit-scrollbar-track {
|
|
145
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
146
|
+
border-radius: 0.563rem;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.header-dropdown-options::-webkit-scrollbar-thumb {
|
|
150
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
151
|
+
border-radius: 0.563rem;
|
|
152
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@import url("../typography.scss");
|
|
3
3
|
|
|
4
4
|
.digit-infobanner-wrap {
|
|
5
|
-
@apply
|
|
5
|
+
@apply p-md flex flex-col;
|
|
6
6
|
top: theme(digitv2.spacers.spacer5);
|
|
7
7
|
left: theme(digitv2.spacers.spacer5);
|
|
8
8
|
gap: theme(digitv2.spacers.spacer2);
|
|
@@ -86,19 +86,16 @@
|
|
|
86
86
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
87
87
|
/* Media query for tablets */
|
|
88
88
|
max-width: 44.5rem;
|
|
89
|
-
min-width: 22.5rem;
|
|
90
89
|
}
|
|
91
90
|
|
|
92
91
|
@media (max-aspect-ratio: 9/16) {
|
|
93
92
|
/* Media query for mobile */
|
|
94
93
|
max-width: 21.5rem;
|
|
95
|
-
min-width: 15rem;
|
|
96
94
|
}
|
|
97
95
|
|
|
98
96
|
@media (min-aspect-ratio: 3/4) {
|
|
99
97
|
/* Media query for desktop */
|
|
100
98
|
max-width: 87rem;
|
|
101
|
-
min-width: 25rem;
|
|
102
99
|
}
|
|
103
100
|
|
|
104
101
|
&.inline {
|
|
@@ -3,40 +3,49 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
@media (min-aspect-ratio: 9/16) {
|
|
6
|
-
|
|
6
|
+
@apply items-start;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
10
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
7
11
|
}
|
|
8
12
|
|
|
9
13
|
@media (max-aspect-ratio: 9/16) {
|
|
10
|
-
|
|
14
|
+
@apply flex-col items-start;
|
|
15
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@media (min-aspect-ratio: 3/4) {
|
|
19
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
11
20
|
}
|
|
12
21
|
|
|
13
|
-
&.vertical{
|
|
14
|
-
|
|
22
|
+
&.vertical {
|
|
23
|
+
@apply flex-col items-start;
|
|
24
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
15
25
|
}
|
|
16
26
|
|
|
17
27
|
& .label,
|
|
18
28
|
& header {
|
|
19
|
-
margin-right: theme(digitv2.spacers.spacer6);
|
|
20
29
|
width: 33%;
|
|
21
30
|
|
|
22
31
|
@media (max-aspect-ratio: 9/16) {
|
|
23
|
-
|
|
24
|
-
|
|
32
|
+
@apply w-full;
|
|
33
|
+
}
|
|
25
34
|
}
|
|
26
35
|
|
|
27
36
|
& .digit-field {
|
|
28
37
|
width: 60%;
|
|
29
38
|
|
|
30
39
|
@media (max-aspect-ratio: 9/16) {
|
|
31
|
-
|
|
32
|
-
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
33
42
|
}
|
|
34
43
|
}
|
|
35
44
|
|
|
36
|
-
@screen dt {
|
|
45
|
+
@screen dt {
|
|
37
46
|
.digit-employee-card {
|
|
38
47
|
.digit-label-field-pair {
|
|
39
|
-
@apply mb-lg flex
|
|
48
|
+
@apply mb-lg flex;
|
|
40
49
|
|
|
41
50
|
h2 {
|
|
42
51
|
width: 30%;
|
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
.msb-sidebar {
|
|
2
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
3
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
transition: width 0.3s;
|
|
7
|
+
position: fixed;
|
|
8
|
+
height: 100%;
|
|
9
|
+
overflow-x: hidden;
|
|
10
|
+
left: 0;
|
|
11
|
+
top: 0;
|
|
12
|
+
min-width: 17.5rem;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
|
|
15
|
+
&.dark {
|
|
16
|
+
background-color: theme(digitv2.lightTheme.primary-2);
|
|
17
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.msb-profile {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: theme(digitv2.spacers.spacer3);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.msb-profile-icon {
|
|
30
|
+
width: 3.875rem;
|
|
31
|
+
height: 4rem;
|
|
32
|
+
margin-right: theme(digitv2.spacers.spacer4);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.msb-profile-details {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
39
|
+
;
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.msb-profile-name {
|
|
44
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
45
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
46
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
47
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
48
|
+
|
|
49
|
+
@media (max-aspect-ratio: 9/16) {
|
|
50
|
+
/* Media query for mobile */
|
|
51
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
55
|
+
/* Media query for tablets */
|
|
56
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@media (min-aspect-ratio: 3/4) {
|
|
60
|
+
/* Media query for desktop */
|
|
61
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
65
|
+
|
|
66
|
+
&.dark {
|
|
67
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.msb-profile-phone {
|
|
72
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
73
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
74
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
75
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
76
|
+
|
|
77
|
+
@media (max-aspect-ratio: 9/16) {
|
|
78
|
+
/* Media query for mobile */
|
|
79
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
83
|
+
/* Media query for tablets */
|
|
84
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (min-aspect-ratio: 3/4) {
|
|
88
|
+
/* Media query for desktop */
|
|
89
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
93
|
+
|
|
94
|
+
&.dark {
|
|
95
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.msb-sidebar-items {
|
|
100
|
+
flex: 1;
|
|
101
|
+
overflow-y: auto;
|
|
102
|
+
overflow-x: hidden;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.msb-item-child-wrapper {
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
height: theme(digitv2.spacers.spacer12);
|
|
109
|
+
padding: theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer6);
|
|
110
|
+
;
|
|
111
|
+
justify-content: space-between;
|
|
112
|
+
border-top: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.msb-item-child-wrapper:last-child,
|
|
116
|
+
.msb-item-child-wrapper.expanded {
|
|
117
|
+
border-bottom: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.msb-item-child-wrapper:not(.dark):nth-child(2n+1) {
|
|
121
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.msb-item-child-wrapper.expanded {
|
|
125
|
+
height: auto;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.msb-sidebar-item {
|
|
129
|
+
display: flex;
|
|
130
|
+
align-items: center;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.msb-sidebar-item.msb-parentLevel {
|
|
135
|
+
height: theme(digitv2.spacers.spacer6);
|
|
136
|
+
|
|
137
|
+
.msb-item-label {
|
|
138
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
139
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
140
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
141
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
142
|
+
|
|
143
|
+
@media (max-aspect-ratio: 9/16) {
|
|
144
|
+
/* Media query for mobile */
|
|
145
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
149
|
+
/* Media query for tablets */
|
|
150
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@media (min-aspect-ratio: 3/4) {
|
|
154
|
+
/* Media query for desktop */
|
|
155
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.msb-sidebar-item .msb-icon {
|
|
161
|
+
margin-right: theme(digitv2.spacers.spacer4);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.msb-expand-icon {
|
|
165
|
+
margin-left: auto;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.msb-sidebar-children {
|
|
169
|
+
width: "100%";
|
|
170
|
+
transition: height 0.3s ease;
|
|
171
|
+
|
|
172
|
+
.inner-level-child {
|
|
173
|
+
margin-left: 3.5rem;
|
|
174
|
+
border-left: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
175
|
+
|
|
176
|
+
&.dark {
|
|
177
|
+
border-left: 0.063rem solid theme(digitv2.lightTheme.paper-primary);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
.msb-sidebar-children.expanded {
|
|
184
|
+
height: auto;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
.mb-search-container {
|
|
189
|
+
height: 4.5rem;
|
|
190
|
+
min-width: 15rem;
|
|
191
|
+
width: auto;
|
|
192
|
+
padding: theme(digitv2.spacers.spacer4) !important;
|
|
193
|
+
|
|
194
|
+
.mb-search {
|
|
195
|
+
height: theme(digitv2.spacers.spacer10) !important;
|
|
196
|
+
min-width: 13rem;
|
|
197
|
+
|
|
198
|
+
.digit-text-input-customIcon {
|
|
199
|
+
height: theme(digitv2.spacers.spacer6);
|
|
200
|
+
width: theme(digitv2.spacers.spacer6);
|
|
201
|
+
top: theme(digitv2.spacers.spacer2);
|
|
202
|
+
right: theme(digitv2.spacers.spacer2);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.input-container {
|
|
206
|
+
max-height: 100%;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
input {
|
|
210
|
+
max-height: 100%;
|
|
211
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
212
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
213
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
214
|
+
height: theme(digitv2.spacers.spacer8) !important;
|
|
215
|
+
|
|
216
|
+
::placeholder {
|
|
217
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.input-container:focus-within {
|
|
222
|
+
input {
|
|
223
|
+
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider) !important;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
::placeholder {
|
|
229
|
+
content: attr(placeholder);
|
|
230
|
+
@extend .typography.body-s;
|
|
231
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.mb-search-container.dark {
|
|
236
|
+
height: 4.5rem;
|
|
237
|
+
min-width: 15rem;
|
|
238
|
+
width: auto;
|
|
239
|
+
padding: theme(digitv2.spacers.spacer4) !important;
|
|
240
|
+
|
|
241
|
+
.mb-search {
|
|
242
|
+
height: theme(digitv2.spacers.spacer10) !important;
|
|
243
|
+
min-width: 13rem;
|
|
244
|
+
|
|
245
|
+
.digit-text-input-customIcon {
|
|
246
|
+
height: theme(digitv2.spacers.spacer6);
|
|
247
|
+
width: theme(digitv2.spacers.spacer6);
|
|
248
|
+
top: theme(digitv2.spacers.spacer2);
|
|
249
|
+
right: theme(digitv2.spacers.spacer2);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.input-container {
|
|
253
|
+
max-height: 100%;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
input {
|
|
257
|
+
max-height: 100%;
|
|
258
|
+
background-color: transparent;
|
|
259
|
+
border: 0.063rem solid theme(digitv2.lightTheme.paper-secondary);
|
|
260
|
+
color: theme(digitv2.lightTheme.generic-background);
|
|
261
|
+
|
|
262
|
+
::placeholder {
|
|
263
|
+
color: theme(digitv2.lightTheme.generic-background);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.input-container:focus-within {
|
|
268
|
+
input {
|
|
269
|
+
border: 0.063rem solid theme(digitv2.lightTheme.paper-secondary) !important;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
::placeholder {
|
|
275
|
+
content: attr(placeholder);
|
|
276
|
+
@extend .typography.body-s;
|
|
277
|
+
color: theme(digitv2.lightTheme.generic-background);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.msb-sidebar-bottom {
|
|
282
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
283
|
+
z-index: 5;
|
|
284
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
285
|
+
display: flex;
|
|
286
|
+
flex-direction: column;
|
|
287
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
288
|
+
border-top: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
289
|
+
height: 4rem;
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
button {
|
|
293
|
+
width: 100%;
|
|
294
|
+
|
|
295
|
+
.icon-label-container .digit-button-customIcon {
|
|
296
|
+
width: theme(digitv2.spacers.spacer5);
|
|
297
|
+
height: theme(digitv2.spacers.spacer5);
|
|
298
|
+
;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
&.dark {
|
|
303
|
+
background-color: theme(digitv2.lightTheme.primary-2);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.icon-msb {
|
|
308
|
+
margin-right: theme(digitv2.spacers.spacer3);
|
|
309
|
+
width: theme(digitv2.spacers.spacer6);
|
|
310
|
+
height: theme(digitv2.spacers.spacer6);
|
|
311
|
+
margin-left: theme(digitv2.spacers.spacer7);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.item-label-msb {
|
|
315
|
+
|
|
316
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
317
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
318
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
319
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
320
|
+
|
|
321
|
+
@media (max-aspect-ratio: 9/16) {
|
|
322
|
+
/* Media query for mobile */
|
|
323
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
327
|
+
/* Media query for tablets */
|
|
328
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@media (min-aspect-ratio: 3/4) {
|
|
332
|
+
/* Media query for desktop */
|
|
333
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.expand-icon-msb {
|
|
338
|
+
width: theme(digitv2.spacers.spacer6);
|
|
339
|
+
height: theme(digitv2.spacers.spacer6);
|
|
340
|
+
margin-left: auto !important;
|
|
341
|
+
|
|
342
|
+
&.child-level{
|
|
343
|
+
margin-right:1.5rem;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.sidebar-item-msb {
|
|
348
|
+
display: flex;
|
|
349
|
+
align-items: center;
|
|
350
|
+
text-decoration: none;
|
|
351
|
+
transition: background-color 0.3s;
|
|
352
|
+
cursor: pointer;
|
|
353
|
+
outline: none;
|
|
354
|
+
height: 100%;
|
|
355
|
+
width: 100%;
|
|
356
|
+
position: relative;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
.item-child-wrapper-msb {
|
|
361
|
+
width: 100%;
|
|
362
|
+
height: theme(digitv2.spacers.spacer12);
|
|
363
|
+
display: flex;
|
|
364
|
+
align-items: center;
|
|
365
|
+
justify-content: center;
|
|
366
|
+
|
|
367
|
+
.sidebar-item-msb:hover {
|
|
368
|
+
background-color: #FFFFFF4D;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.sidebar-item-msb:active,
|
|
372
|
+
.sidebar-item-msb.selected,
|
|
373
|
+
.sidebar-item-msb.selectedAsParent {
|
|
374
|
+
background: #c84c0e1a;
|
|
375
|
+
|
|
376
|
+
.item-label-msb {
|
|
377
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.sidebar-item-msb.selected::before,
|
|
382
|
+
.sidebar-item-msb:active::before,
|
|
383
|
+
.sidebar-item-msb:active:hover::before,
|
|
384
|
+
.sidebar-item-msb.selected:hover::before,
|
|
385
|
+
.sidebar-item-msb.selectedAsParent::before,
|
|
386
|
+
.sidebar-item-msb.selectedAsParent:hover::before {
|
|
387
|
+
content: '';
|
|
388
|
+
position: absolute;
|
|
389
|
+
top: 0.062rem;
|
|
390
|
+
left: 0;
|
|
391
|
+
bottom: 0.063rem;
|
|
392
|
+
width: theme(digitv2.spacers.spacer2);
|
|
393
|
+
background: theme(digitv2.lightTheme.primary-1);
|
|
394
|
+
border-top-right-radius: theme(digitv2.spacers.spacer1);
|
|
395
|
+
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.sidebar-item-msb.dark:active,
|
|
399
|
+
.sidebar-item-msb.dark.selected,
|
|
400
|
+
.sidebar-item-msb.dark.selectedAsParent {
|
|
401
|
+
background: theme(digitv2.lightTheme.primary-1);
|
|
402
|
+
.item-label-msb {
|
|
403
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.sidebar-item-msb.dark.selected::before,
|
|
408
|
+
.sidebar-item-msb.dark:active::before,
|
|
409
|
+
.sidebar-item-msb.dark.selectedAsParent::before,
|
|
410
|
+
.sidebar-item-msb.dark:active:hover::before,
|
|
411
|
+
.sidebar-item-msb.dark.selected:hover::before,
|
|
412
|
+
.sidebar-item-msb.dark.selectedAsParent:hover::before {
|
|
413
|
+
content: '';
|
|
414
|
+
position: absolute;
|
|
415
|
+
top: 0.062rem;
|
|
416
|
+
left: 0;
|
|
417
|
+
bottom: 0.063rem;
|
|
418
|
+
width: theme(digitv2.spacers.spacer2);
|
|
419
|
+
background: theme(digitv2.lightTheme.paper-primary);
|
|
420
|
+
border-top-right-radius: theme(digitv2.spacers.spacer1);
|
|
421
|
+
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
.msb-sidebar-items::-webkit-scrollbar {
|
|
427
|
+
width: 0.375rem;
|
|
428
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.msb-sidebar-items::-webkit-scrollbar-track {
|
|
432
|
+
background-color: theme(digitv2.lightTheme.generic-background);
|
|
433
|
+
border-radius: 0.563rem;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.msb-sidebar-items::-webkit-scrollbar-thumb {
|
|
437
|
+
background-color: theme(digitv2.lightTheme.generic-divider);
|
|
438
|
+
border-radius: 0.563rem;
|
|
439
|
+
}
|