@egovernments/digit-ui-components-css 0.0.1-pucar.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.
Files changed (191) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/README.md +81 -0
  3. package/dist/index.css +17004 -0
  4. package/dist/index.min.css +6 -0
  5. package/img/browser-icon.png +0 -0
  6. package/img/m_seva_white_logo.png +0 -0
  7. package/img/mseva-demo.png +0 -0
  8. package/package.json +67 -0
  9. package/src/components/CardBasedOptions.scss +46 -0
  10. package/src/components/CitizenHomeCard.scss +56 -0
  11. package/src/components/EllipsisMenu.scss +17 -0
  12. package/src/components/EventCalendarView.scss +10 -0
  13. package/src/components/FAQ.scss +64 -0
  14. package/src/components/OnGroundEventCard.scss +72 -0
  15. package/src/components/PageBasedInput.scss +29 -0
  16. package/src/components/PopupHeadingLabel.scss +15 -0
  17. package/src/components/PropertySearchForm.scss +58 -0
  18. package/src/components/SearchForm.scss +56 -0
  19. package/src/components/SearchOnRadioButton.scss +10 -0
  20. package/src/components/StandaloneSearchBar.scss +10 -0
  21. package/src/components/TimeLine.scss +68 -0
  22. package/src/components/WhatsNewCard.scss +13 -0
  23. package/src/components/actionLink.scss +3 -0
  24. package/src/components/actionbar.scss +97 -0
  25. package/src/components/bannercomponents.scss +136 -0
  26. package/src/components/body.scss +144 -0
  27. package/src/components/buttons.scss +101 -0
  28. package/src/components/card.scss +391 -0
  29. package/src/components/cardHeaderWithOptions.scss +14 -0
  30. package/src/components/changeLanguage.scss +3 -0
  31. package/src/components/charts.scss +186 -0
  32. package/src/components/checkbox.scss +53 -0
  33. package/src/components/checkpoint.scss +63 -0
  34. package/src/components/citizenInfoLabel.scss +14 -0
  35. package/src/components/custombtn.scss +11 -0
  36. package/src/components/datatable.scss +134 -0
  37. package/src/components/datewrap.scss +21 -0
  38. package/src/components/detailscard.scss +6 -0
  39. package/src/components/detailscontainer.scss +13 -0
  40. package/src/components/filters.scss +98 -0
  41. package/src/components/grey.scss +3 -0
  42. package/src/components/hoc/InboxComposer.scss +115 -0
  43. package/src/components/hoc/index.scss +1 -0
  44. package/src/components/howItWorks.scss +71 -0
  45. package/src/components/imageviewer.scss +33 -0
  46. package/src/components/inboxv2/InboxLinks.scss +59 -0
  47. package/src/components/inboxv2/horizontalNav.scss +224 -0
  48. package/src/components/inboxv2/inboxSearch.scss +116 -0
  49. package/src/components/inboxv2/inboxSearchComposer.scss +134 -0
  50. package/src/components/inboxv2/index.scss +5 -0
  51. package/src/components/inboxv2/searchComponentTable.scss +44 -0
  52. package/src/components/info-banner.scss +35 -0
  53. package/src/components/inputotp.scss +15 -0
  54. package/src/components/keynote.scss +27 -0
  55. package/src/components/languageSelector.scss +24 -0
  56. package/src/components/loader.scss +96 -0
  57. package/src/components/map.scss +30 -0
  58. package/src/components/menu.scss +0 -0
  59. package/src/components/metricsTable.scss +28 -0
  60. package/src/components/multiLink.scss +88 -0
  61. package/src/components/multiSelectDropdown.scss +77 -0
  62. package/src/components/navbar.scss +312 -0
  63. package/src/components/plusMinus.scss +15 -0
  64. package/src/components/popup.scss +16 -0
  65. package/src/components/radiobtn.scss +45 -0
  66. package/src/components/ratingstar.scss +33 -0
  67. package/src/components/roundedLabel.scss +10 -0
  68. package/src/components/searchAction.scss +20 -0
  69. package/src/components/sectionalDropdown.scss +43 -0
  70. package/src/components/selectdropdown.scss +174 -0
  71. package/src/components/sidebar.scss +141 -0
  72. package/src/components/staticDynamicMessages.scss +107 -0
  73. package/src/components/staticSideBar.scss +27 -0
  74. package/src/components/statushighlight.scss +17 -0
  75. package/src/components/submiterrors.scss +11 -0
  76. package/src/components/summary.scss +29 -0
  77. package/src/components/table.scss +201 -0
  78. package/src/components/tag.scss +27 -0
  79. package/src/components/telephone.scss +17 -0
  80. package/src/components/textfields.scss +96 -0
  81. package/src/components/toast.scss +31 -0
  82. package/src/components/toggleSwitch.scss +41 -0
  83. package/src/components/topbar.scss +153 -0
  84. package/src/components/uploadcomponents.scss +100 -0
  85. package/src/digitv2/components/CitizenHomeCardV2.scss +56 -0
  86. package/src/digitv2/components/ErrorMessage.scss +19 -0
  87. package/src/digitv2/components/FormComposerV2.scss +118 -0
  88. package/src/digitv2/components/PageBasedInputV2.scss +33 -0
  89. package/src/digitv2/components/WhatsNewCardV2.scss +13 -0
  90. package/src/digitv2/components/actionLinkV2.scss +9 -0
  91. package/src/digitv2/components/actionbarV2.scss +110 -0
  92. package/src/digitv2/components/appContainerV2.scss +49 -0
  93. package/src/digitv2/components/backButtonV2.scss +26 -0
  94. package/src/digitv2/components/bannerV2.scss +120 -0
  95. package/src/digitv2/components/bodyContainerV2.scss +39 -0
  96. package/src/digitv2/components/breadCrumbV2.scss +34 -0
  97. package/src/digitv2/components/breakLineV2.scss +6 -0
  98. package/src/digitv2/components/buttonsV2.scss +407 -0
  99. package/src/digitv2/components/cardBasedOptionsV2.scss +46 -0
  100. package/src/digitv2/components/cardLabelV2.scss +8 -0
  101. package/src/digitv2/components/cardV2.scss +383 -0
  102. package/src/digitv2/components/checkboxV2.scss +80 -0
  103. package/src/digitv2/components/checkpointV2.scss +71 -0
  104. package/src/digitv2/components/collapseAndExpandGroups.scss +60 -0
  105. package/src/digitv2/components/dateWrapV2.scss +17 -0
  106. package/src/digitv2/components/detailsCardV2.scss +17 -0
  107. package/src/digitv2/components/displayPhotosV2.scss +33 -0
  108. package/src/digitv2/components/fieldV1.scss +97 -0
  109. package/src/digitv2/components/footerV2.scss +55 -0
  110. package/src/digitv2/components/headerBarV2.scss +34 -0
  111. package/src/digitv2/components/headerV2.scss +12 -0
  112. package/src/digitv2/components/infoCardV2.scss +143 -0
  113. package/src/digitv2/components/infobuttons.scss +76 -0
  114. package/src/digitv2/components/keynoteV2.scss +35 -0
  115. package/src/digitv2/components/labelFieldPairV2.scss +58 -0
  116. package/src/digitv2/components/loaderV2.scss +85 -0
  117. package/src/digitv2/components/mobileNumberV2.scss +65 -0
  118. package/src/digitv2/components/modalV2.scss +46 -0
  119. package/src/digitv2/components/multiSelectDropdownV2.scss +316 -0
  120. package/src/digitv2/components/multiUploadWrapperV2.scss +6 -0
  121. package/src/digitv2/components/navbarV2.scss +9 -0
  122. package/src/digitv2/components/noresultsfoundV2.scss +11 -0
  123. package/src/digitv2/components/numeric.scss +47 -0
  124. package/src/digitv2/components/otpInputV2.scss +15 -0
  125. package/src/digitv2/components/panelcard.scss +161 -0
  126. package/src/digitv2/components/panels.scss +115 -0
  127. package/src/digitv2/components/paragraphV2.scss +5 -0
  128. package/src/digitv2/components/popUpV2.scss +309 -0
  129. package/src/digitv2/components/radiobtnV2.scss +114 -0
  130. package/src/digitv2/components/ratingV2.scss +33 -0
  131. package/src/digitv2/components/searchActionV2.scss +11 -0
  132. package/src/digitv2/components/searchFormV2.scss +76 -0
  133. package/src/digitv2/components/searchcomponent.scss +7 -0
  134. package/src/digitv2/components/selectdropdownV2.scss +361 -0
  135. package/src/digitv2/components/sidebarV2.scss +11 -0
  136. package/src/digitv2/components/stepper.scss +127 -0
  137. package/src/digitv2/components/tagV2.scss +121 -0
  138. package/src/digitv2/components/telephoneV2.scss +18 -0
  139. package/src/digitv2/components/textInputV2.scss +463 -0
  140. package/src/digitv2/components/textareaV2.scss +100 -0
  141. package/src/digitv2/components/textblock.scss +47 -0
  142. package/src/digitv2/components/timeline.scss +127 -0
  143. package/src/digitv2/components/toastV2.scss +81 -0
  144. package/src/digitv2/components/toggle.scss +73 -0
  145. package/src/digitv2/components/toggleswitchV2.scss +42 -0
  146. package/src/digitv2/components/topbarV2.scss +187 -0
  147. package/src/digitv2/components/treeSelectV2.scss +133 -0
  148. package/src/digitv2/components/uploadFileV2.scss +146 -0
  149. package/src/digitv2/components/uploader.scss +469 -0
  150. package/src/digitv2/index.scss +198 -0
  151. package/src/digitv2/pages/employee/index.scss +1 -0
  152. package/src/digitv2/pages/employee/workbench.scss +615 -0
  153. package/src/digitv2/typography.scss +658 -0
  154. package/src/index.scss +774 -0
  155. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +8 -0
  156. package/src/pages/citizen/DocumentList.scss +305 -0
  157. package/src/pages/citizen/Events.scss +47 -0
  158. package/src/pages/citizen/HomePageWrapper.scss +158 -0
  159. package/src/pages/citizen/SurveyList.scss +22 -0
  160. package/src/pages/citizen/citizenDocument.scss +22 -0
  161. package/src/pages/citizen/container.scss +19 -0
  162. package/src/pages/citizen/payment/payment-type.scss +3 -0
  163. package/src/pages/citizen/updatePropertyNumber.scss +46 -0
  164. package/src/pages/employee/EmployeeLogin.scss +7 -0
  165. package/src/pages/employee/cardfix.scss +13 -0
  166. package/src/pages/employee/container.scss +72 -0
  167. package/src/pages/employee/dss.scss +266 -0
  168. package/src/pages/employee/form-fields.scss +13 -0
  169. package/src/pages/employee/iframe.scss +66 -0
  170. package/src/pages/employee/inbox.scss +585 -0
  171. package/src/pages/employee/index.scss +626 -0
  172. package/src/pages/employee/login.scss +221 -0
  173. package/src/pages/employee/oldMobileInbox.scss +5 -0
  174. package/src/pages/employee/popupmodule.scss +34 -0
  175. package/src/pages/employee/response.scss +3 -0
  176. package/src/pages/employee/scroll-table.scss +119 -0
  177. package/src/pages/employee/surveys.scss +273 -0
  178. package/src/pages/employee/tooltip.scss +36 -0
  179. package/src/pages/employee/updateNumber.scss +13 -0
  180. package/svg/arrowdown.svg +1 -0
  181. package/svg/arrowleft.svg +1 -0
  182. package/svg/calendar.svg +1 -0
  183. package/svg/camera.svg +4 -0
  184. package/svg/check.svg +4 -0
  185. package/svg/close.svg +4 -0
  186. package/svg/error.svg +4 -0
  187. package/svg/error2.svg +5 -0
  188. package/svg/searchicon.svg +4 -0
  189. package/svg/starempty.svg +4 -0
  190. package/svg/starfilled.svg +5 -0
  191. package/svg/success.svg +4 -0
@@ -0,0 +1,127 @@
1
+ .digit-timeline-item {
2
+ @apply flex items-start;
3
+ gap: theme(digitv2.spacers.spacer4);
4
+ }
5
+
6
+ .timeline-circle {
7
+ @apply relative flex-shrink-0 w-8 h-8;
8
+ border-radius: 50%;
9
+
10
+ @media (max-aspect-ratio: 9/16) {
11
+ /* Media query for mobile */
12
+ @apply w-6 h-6;
13
+ }
14
+ }
15
+
16
+ .timeline-content,
17
+ .timeline-info {
18
+ @apply flex flex-col w-full;
19
+ gap: theme(digitv2.spacers.spacer2);
20
+ }
21
+
22
+ .timeline-info{
23
+ @media (max-aspect-ratio: 9/16) {
24
+ /* Media query for mobile */
25
+ gap: theme(digitv2.spacers.spacer1);
26
+ }
27
+ }
28
+
29
+ .timeline-divider {
30
+ border: 0.063rem solid theme(digitv2.lightTheme.divider);
31
+ }
32
+
33
+ .timeline-label {
34
+ @extend .typography.heading-s;
35
+ @apply whitespace-normal h-auto text-left;
36
+ color: theme(digitv2.lightTheme.text-primary);
37
+ word-break: break-word;
38
+ padding-top: 0.414rem;
39
+
40
+ @media (max-aspect-ratio: 9/16) {
41
+ /* Media query for mobile */
42
+ padding-top: 0.164rem;
43
+ }
44
+ }
45
+
46
+ .timeline-date {
47
+ @extend .typography.body-s;
48
+ @apply text-left;
49
+ color: theme(digitv2.lightTheme.text-secondary);
50
+ }
51
+
52
+ .timeline-toggle-details {
53
+ @apply flex items-center cursor-pointer;
54
+ gap: theme(digitv2.spacers.spacer1);
55
+ width: fit-content;
56
+ }
57
+
58
+ .timeline-additional-elements-inline {
59
+ @apply flex flex-wrap items-start;
60
+ gap: theme(digitv2.spacers.spacer4);
61
+ }
62
+
63
+ .timeline-additional-elements-column {
64
+ @apply flex flex-col items-start;
65
+ gap: theme(digitv2.spacers.spacer4);
66
+
67
+ .timeline-individual-element {
68
+ @apply w-full max-w-full;
69
+
70
+ }
71
+ }
72
+
73
+ img {
74
+ @apply max-w-full;
75
+ }
76
+
77
+ .details-btn {
78
+ @extend .typography.link;
79
+ @apply text-left;
80
+ background-color: transparent;
81
+ border: none;
82
+ color: theme(digitv2.lightTheme.primary-1);
83
+ padding: theme(digitv2.spacers.spacer0);
84
+ }
85
+
86
+ /* Circle Variants */
87
+ .timeline-circle,
88
+ .timeline-circle.upcoming {
89
+ background-color: theme(digitv2.lightTheme.text-disabled);
90
+ }
91
+
92
+ .timeline-circle.inprogress {
93
+ background-color: transparent;
94
+ border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
95
+ }
96
+
97
+ .timeline-circle.inprogress::after {
98
+ @apply absolute w-4 h-4;
99
+ content: '';
100
+ top: 50%;
101
+ left: 50%;
102
+ transform: translate(-50%, -50%);
103
+ border-radius: 50%;
104
+ background-color: theme(digitv2.lightTheme.primary-1);
105
+
106
+ @media (max-aspect-ratio: 9/16) {
107
+ /* Media query for mobile */
108
+ @apply w-3 h-3;
109
+ }
110
+ }
111
+
112
+ .timeline-circle.completed {
113
+ background-color: theme(digitv2.lightTheme.primary-1);
114
+
115
+ .check-icon {
116
+ @apply w-6 h-6 absolute;
117
+ top: 50%;
118
+ left: 50%;
119
+ transform: translate(-50%, -50%);
120
+
121
+ @media (max-aspect-ratio: 9/16) {
122
+ /* Media query for mobile */
123
+ width: 1.125rem;
124
+ height: 1.125rem;
125
+ }
126
+ }
127
+ }
@@ -0,0 +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;
81
+ }
@@ -0,0 +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);
73
+ }
@@ -0,0 +1,42 @@
1
+ @import url("../index.scss");
2
+
3
+ .react-switch-checkbox {
4
+ height: 0;
5
+ width: 0;
6
+ visibility: hidden;
7
+ }
8
+
9
+ .react-switch-label {
10
+ display: flex;
11
+ width: 7rem;
12
+ height: 2rem;
13
+ padding: 0.125rem;
14
+ justify-content: center;
15
+ align-items: center;
16
+ gap: 0.78125rem;
17
+ flex-shrink: 0;
18
+ border: 1px solid theme(digitv2.lightTheme.generic-divider);
19
+ background: theme(digitv2.lightTheme.paper-primary);
20
+ border-radius: 0px;
21
+
22
+ &:hover {
23
+ width: 7.125rem;
24
+ border: 1px solid theme(digitv2.lightTheme.primary-1);
25
+ background: theme(digitv2.lightTheme.paper-primary);
26
+ box-shadow: 0px 0px 6px 0px rgba(244, 119, 56, 0.25);
27
+ }
28
+ }
29
+
30
+
31
+ .react-switch-label .react-switch-button {
32
+ visibility: hidden;
33
+ }
34
+
35
+ .react-switch-checkbox:checked+.react-switch-label {
36
+ width: 7.125rem;
37
+ background: theme(digitv2.lightTheme.primary-1);
38
+ }
39
+
40
+ .react-switch-label:active .react-switch-button {
41
+ width: 45px;
42
+ }
@@ -0,0 +1,187 @@
1
+ .topbar {
2
+ position: fixed;
3
+ top: 0;
4
+ width: 100%;
5
+ padding: 10px 24px;
6
+ background: white;
7
+ box-shadow: rgba(0, 0, 0, 0.24) 0 1px 4px;
8
+ z-index: 9999999;
9
+ @apply flex items-center;
10
+
11
+ img {
12
+ display: inline;
13
+
14
+ &.city {
15
+ margin-right: 8px;
16
+ height: 48px;
17
+ width: 48px;
18
+ }
19
+
20
+ &.state {
21
+ height: 20px;
22
+ max-height: 20px;
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: 12px;
35
+ position: relative;
36
+
37
+ svg {
38
+ display: inline;
39
+ }
40
+
41
+ .user-img-txt {
42
+ background: theme(colors.primary.main);
43
+ padding: 10px 15px;
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: 6px;
64
+ }
65
+
66
+ .margin-right-30 {
67
+ margin-right: 30px;
68
+ }
69
+
70
+ .margin-top-10 {
71
+ margin-top: 10px;
72
+ }
73
+
74
+ .icon {
75
+ display: block;
76
+ color: rgb(117, 117, 117);
77
+ fill: rgb(117, 117, 117);
78
+ height: 21px;
79
+ width: 21px;
80
+ }
81
+
82
+ .column-gap-15 {
83
+ column-gap: 15px;
84
+ }
85
+
86
+ .column-gap-5 {
87
+ column-gap: 5px;
88
+ }
89
+
90
+ .select-wrap,
91
+ .employee-select-wrap {
92
+ margin-bottom: 0px;
93
+ .profile-dropdown--item {
94
+ span {
95
+ white-space: pre;
96
+ }
97
+ }
98
+ }
99
+
100
+ .digit-employee-select-wrap {
101
+ margin-bottom: 0px;
102
+ }
103
+
104
+ .digit-topbar-container {
105
+ display: flex;
106
+ align-items: center;
107
+ justify-content: space-between;
108
+ width: 100%;
109
+ }
110
+
111
+ @media screen and (min-width: 641px) {
112
+ .digit-hamburger-class {
113
+ display: none !important;
114
+ }
115
+ }
116
+
117
+ @media screen and (max-width: 640px) {
118
+
119
+ .ulb {
120
+ font-size: 14px;
121
+ display: inline-block;
122
+ }
123
+
124
+ .flex-right {
125
+ display: none;
126
+ }
127
+
128
+ .digit-employee-select-wrap {
129
+ right: 0;
130
+ }
131
+ }
132
+ }
133
+
134
+ .cp {
135
+ cursor: pointer;
136
+ .hamburger {
137
+ display: none;
138
+ }
139
+
140
+ @media (max-width: 780px) {
141
+ .hamburger {
142
+ display: none;
143
+ }
144
+ }
145
+ }
146
+
147
+ .citizen {
148
+ .right {
149
+ margin-top: 5px;
150
+ margin-bottom: 5px;
151
+ }
152
+
153
+ .topbar-select-wrap {
154
+ margin-bottom: 0;
155
+ }
156
+
157
+ .flex-between {
158
+ @apply flex items-center justify-between;
159
+ }
160
+ }
161
+
162
+ .profile-dropdown--item {
163
+ display: flex;
164
+ flex-direction: row;
165
+ padding: 10px;
166
+ column-gap: 10px;
167
+ color: theme(colors.text.secondary);
168
+
169
+ &:hover {
170
+ background: theme(colors.grey.mid);
171
+ }
172
+ }
173
+
174
+ .flex-right {
175
+ @apply flex items-center justify-end;
176
+ min-width: 85px;
177
+ }
178
+ video::-webkit-media-controls-panel {
179
+ top: 55%;
180
+ position: absolute;
181
+ width: 100%;
182
+ }
183
+
184
+ .topbarOptionsClassName {
185
+ right: -3rem !important
186
+ }
187
+
@@ -0,0 +1,133 @@
1
+ .digit-tree-select-options-container.first-level:nth-of-type(even) {
2
+ .digit-tree-select-option.level-0,
3
+ .digit-tree-multiselect-option.level-0:not(.checked){
4
+ background-color: theme(digitv2.lightTheme.paper-secondary);
5
+ }
6
+ }
7
+ .digit-tree-select-options-container.first-level:nth-of-type(odd) {
8
+ .digit-tree-select-option.level-0,
9
+ .digit-tree-multiselect-option.level-0:not(.checked){
10
+ background-color: theme(digitv2.lightTheme.paper-primary);
11
+ }
12
+ }
13
+ .container.innerlevel {
14
+ border-left: 0.063rem solid #D6D5D4;
15
+ }
16
+ .digit-tree-select-option,
17
+ .digit-tree-multiselect-option {
18
+ @apply relative cursor-pointer flex items-center;
19
+ height: 2.4375rem;
20
+ gap: theme(digitv2.spacers.spacer1);
21
+ padding: theme(digitv2.spacers.spacer4) 0.625rem;
22
+ &:hover {
23
+ background: theme(digitv2.lightTheme.primary-bg);
24
+ border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
25
+ }
26
+ &.expanded {
27
+ .digit-option-label {
28
+ @extend .typography.heading-s;
29
+ color: theme(digitv2.lightTheme.text-primary);
30
+ /*font-size: 1rem;
31
+ font-weight: theme(digitv2.fontWeight.bold);
32
+ line-height: 1.188rem;*/
33
+ }
34
+ }
35
+ input {
36
+ @apply absolute opacity-0 cursor-pointer;
37
+ margin: 0;
38
+ }
39
+ .digit-toggle-dropdown {
40
+ width: theme(digitv2.spacers.spacer6);
41
+ height: theme(digitv2.spacers.spacer6);
42
+ }
43
+ .digit-custom-checkbox {
44
+ height: theme(digitv2.spacers.spacer5);
45
+ width: theme(digitv2.spacers.spacer5);
46
+ @apply flex items-center justify-center;
47
+ border: 0.063rem solid theme(digitv2.lightTheme.text-secondary);
48
+ svg {
49
+ @apply opacity-0 z-10;
50
+ }
51
+ &.checked {
52
+ border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
53
+ svg {
54
+ @apply opacity-100;
55
+ width: theme(digitv2.spacers.spacer4);
56
+ height: theme(digitv2.spacers.spacer4);
57
+ }
58
+ }
59
+ &.intermediate {
60
+ border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
61
+ .intermediate-state {
62
+ width: theme(digitv2.spacers.spacer3);
63
+ height: theme(digitv2.spacers.spacer3);
64
+ background-color: theme(digitv2.lightTheme.primary-1);
65
+ opacity: 1;
66
+ }
67
+ }
68
+ }
69
+ }
70
+ .container .digit-tree-multiselect-option.parent.checked.all-child-selected+.child-options-container,
71
+ .container .digit-tree-multiselect-option.parent.checked.all-child-selected .child-options-container {
72
+ background-color: theme(digitv2.lightTheme.primary-bg);
73
+ .digit-tree-multiselect-option.checked {
74
+ background: theme(digitv2.lightTheme.primary-bg) !important;
75
+ .digit-toggle-dropdown.svg {
76
+ fill: #0B0C0C;
77
+ }
78
+ .digit-custom-checkbox {
79
+ border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
80
+ }
81
+ .digit-option-label {
82
+ color: theme(digitv2.lightTheme.text-primary);
83
+ }
84
+ }
85
+ .container {
86
+ border: none;
87
+ }
88
+ }
89
+ .digit-tree-select-option {
90
+ &.expanded{
91
+ &.level-0{
92
+ background-color: theme(digitv2.lightTheme.paper-secondary) !important;
93
+ }
94
+ }
95
+ &.child {
96
+ .digit-option-label {
97
+ padding-left: theme(digitv2.spacers.spacer7);
98
+ }
99
+ }
100
+ }
101
+ .digit-tree-multiselect-option {
102
+ &.expanded{
103
+ &.level-0:not(.checked){
104
+ background-color: theme(digitv2.lightTheme.paper-secondary) !important;
105
+ }
106
+ }
107
+ &.checked {
108
+ background-color: theme(digitv2.lightTheme.primary-1);
109
+ .digit-custom-checkbox {
110
+ border: 0.125rem solid theme(digitv2.lightTheme.paper-primary);
111
+ }
112
+ .digit-option-label {
113
+ @extend .typography.heading-s;
114
+ color: theme(digitv2.lightTheme.paper-primary);
115
+ }
116
+ }
117
+ &.child {
118
+ .digit-custom-checkbox {
119
+ margin-left: 2.25rem;
120
+ }
121
+ }
122
+ .digit-option-checkbox {
123
+ display: none;
124
+ }
125
+ }
126
+ .digit-option-label {
127
+ @extend .typography.body-s;
128
+ @apply overflow-hidden w-full;
129
+ flex: 1;
130
+ color: theme(digitv2.lightTheme.text-primary);}
131
+ .digit-toggle-dropdown {
132
+ @apply cursor-pointer;
133
+ }