@egovernments/digit-ui-components-css 0.0.2-beta.1 → 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 -54
- package/README.md +80 -80
- package/dist/index.css +5782 -14109
- package/dist/index.min.css +2 -2
- package/package.json +69 -67
- package/src/digitv2/components/FormComposerV2.scss +118 -118
- package/src/digitv2/components/actionbarV2.scss +207 -110
- package/src/digitv2/components/backLinkV2.scss +37 -0
- package/src/digitv2/components/bodyContainerV2.scss +39 -39
- package/src/digitv2/components/breadcrumbV2.scss +57 -0
- package/src/digitv2/components/buttonsV2.scss +451 -407
- package/src/digitv2/components/cardV2.scss +498 -383
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/{cardLabelV2.scss → cardlabelV2.scss} +7 -7
- package/src/digitv2/components/checkboxV2.scss +83 -79
- package/src/digitv2/components/{tagV2.scss → chipV2.scss} +129 -120
- package/src/digitv2/components/dividerV2.scss +11 -0
- package/src/digitv2/components/{ErrorMessage.scss → errorMessageV2.scss} +20 -18
- package/src/digitv2/components/fieldV1.scss +96 -96
- package/src/digitv2/components/headerdropdownV2.scss +152 -0
- package/src/digitv2/components/infoCardV2.scss +139 -142
- package/src/digitv2/components/{infobuttons.scss → infobuttonV2.scss} +75 -75
- package/src/digitv2/components/labelFieldPairV2.scss +66 -57
- package/src/digitv2/components/mobileNumberV2.scss +65 -65
- package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
- package/src/digitv2/components/{panelcard.scss → panelCardV2.scss} +160 -160
- package/src/digitv2/components/{panels.scss → panelV2.scss} +114 -114
- package/src/digitv2/components/popUpV2.scss +330 -308
- package/src/digitv2/components/radiobtnV2.scss +115 -113
- package/src/digitv2/components/{selectdropdownV2.scss → selectDropdownV2.scss} +364 -360
- package/src/digitv2/components/{stepper.scss → stepperV2.scss} +147 -126
- package/src/digitv2/components/textInputV2.scss +462 -462
- package/src/digitv2/components/textareaV2.scss +99 -99
- package/src/digitv2/components/{textblock.scss → textblockV2.scss} +46 -46
- package/src/digitv2/components/{timeline.scss → timelineV2.scss} +170 -126
- package/src/digitv2/components/toastV2.scss +80 -80
- package/src/digitv2/components/{toggle.scss → toggleV2.scss} +72 -72
- package/src/digitv2/components/topbarV2.scss +388 -187
- package/src/digitv2/components/treeSelectV2.scss +132 -132
- package/src/digitv2/components/{uploader.scss → uploaderV2.scss} +556 -468
- package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
- package/src/digitv2/index.scss +169 -197
- package/src/digitv2/pages/employee/index.scss +1 -1
- package/src/digitv2/pages/employee/workbench.scss +615 -615
- package/src/digitv2/typography.scss +638 -657
- package/src/index.scss +681 -774
- package/src/pages/employee/index.scss +625 -625
- package/src/pages/employee/login.scss +220 -220
- package/img/browser-icon.png +0 -0
- package/img/m_seva_white_logo.png +0 -0
- package/img/mseva-demo.png +0 -0
- package/src/components/CardBasedOptions.scss +0 -46
- package/src/components/CitizenHomeCard.scss +0 -56
- package/src/components/EllipsisMenu.scss +0 -17
- package/src/components/EventCalendarView.scss +0 -10
- package/src/components/FAQ.scss +0 -64
- package/src/components/OnGroundEventCard.scss +0 -72
- package/src/components/PageBasedInput.scss +0 -29
- package/src/components/PopupHeadingLabel.scss +0 -15
- package/src/components/PropertySearchForm.scss +0 -58
- package/src/components/SearchForm.scss +0 -56
- package/src/components/SearchOnRadioButton.scss +0 -10
- package/src/components/StandaloneSearchBar.scss +0 -10
- package/src/components/TimeLine.scss +0 -68
- package/src/components/WhatsNewCard.scss +0 -13
- package/src/components/actionLink.scss +0 -3
- package/src/components/actionbar.scss +0 -97
- package/src/components/bannercomponents.scss +0 -136
- package/src/components/body.scss +0 -144
- package/src/components/buttons.scss +0 -101
- package/src/components/card.scss +0 -391
- package/src/components/cardHeaderWithOptions.scss +0 -14
- package/src/components/changeLanguage.scss +0 -3
- package/src/components/charts.scss +0 -186
- package/src/components/checkbox.scss +0 -53
- package/src/components/checkpoint.scss +0 -63
- package/src/components/citizenInfoLabel.scss +0 -14
- package/src/components/custombtn.scss +0 -11
- package/src/components/datatable.scss +0 -134
- package/src/components/datewrap.scss +0 -21
- package/src/components/detailscard.scss +0 -6
- package/src/components/detailscontainer.scss +0 -13
- package/src/components/filters.scss +0 -98
- package/src/components/grey.scss +0 -3
- package/src/components/hoc/InboxComposer.scss +0 -115
- package/src/components/hoc/index.scss +0 -1
- package/src/components/howItWorks.scss +0 -71
- package/src/components/imageviewer.scss +0 -33
- package/src/components/inboxv2/InboxLinks.scss +0 -59
- package/src/components/inboxv2/horizontalNav.scss +0 -224
- package/src/components/inboxv2/inboxSearch.scss +0 -116
- package/src/components/inboxv2/inboxSearchComposer.scss +0 -134
- package/src/components/inboxv2/index.scss +0 -5
- package/src/components/inboxv2/searchComponentTable.scss +0 -44
- package/src/components/info-banner.scss +0 -35
- package/src/components/inputotp.scss +0 -15
- package/src/components/keynote.scss +0 -27
- package/src/components/languageSelector.scss +0 -24
- package/src/components/loader.scss +0 -96
- package/src/components/map.scss +0 -30
- package/src/components/menu.scss +0 -0
- package/src/components/metricsTable.scss +0 -28
- package/src/components/multiLink.scss +0 -88
- package/src/components/multiSelectDropdown.scss +0 -77
- package/src/components/navbar.scss +0 -312
- package/src/components/plusMinus.scss +0 -15
- package/src/components/popup.scss +0 -16
- package/src/components/radiobtn.scss +0 -45
- package/src/components/ratingstar.scss +0 -33
- package/src/components/roundedLabel.scss +0 -10
- package/src/components/searchAction.scss +0 -20
- package/src/components/sectionalDropdown.scss +0 -43
- package/src/components/selectdropdown.scss +0 -174
- package/src/components/sidebar.scss +0 -141
- package/src/components/staticDynamicMessages.scss +0 -107
- package/src/components/staticSideBar.scss +0 -27
- package/src/components/statushighlight.scss +0 -17
- package/src/components/submiterrors.scss +0 -11
- package/src/components/summary.scss +0 -29
- package/src/components/table.scss +0 -201
- package/src/components/tag.scss +0 -27
- package/src/components/telephone.scss +0 -17
- package/src/components/textfields.scss +0 -96
- package/src/components/toast.scss +0 -31
- package/src/components/toggleSwitch.scss +0 -41
- package/src/components/topbar.scss +0 -153
- package/src/components/uploadcomponents.scss +0 -100
- package/src/digitv2/components/CitizenHomeCardV2.scss +0 -56
- package/src/digitv2/components/PageBasedInputV2.scss +0 -33
- package/src/digitv2/components/WhatsNewCardV2.scss +0 -13
- package/src/digitv2/components/actionLinkV2.scss +0 -9
- package/src/digitv2/components/appContainerV2.scss +0 -49
- package/src/digitv2/components/backButtonV2.scss +0 -26
- package/src/digitv2/components/bannerV2.scss +0 -120
- package/src/digitv2/components/breadCrumbV2.scss +0 -34
- package/src/digitv2/components/breakLineV2.scss +0 -6
- package/src/digitv2/components/cardBasedOptionsV2.scss +0 -46
- package/src/digitv2/components/checkpointV2.scss +0 -71
- package/src/digitv2/components/collapseAndExpandGroups.scss +0 -60
- package/src/digitv2/components/dateWrapV2.scss +0 -17
- package/src/digitv2/components/detailsCardV2.scss +0 -17
- package/src/digitv2/components/displayPhotosV2.scss +0 -33
- package/src/digitv2/components/footerV2.scss +0 -55
- package/src/digitv2/components/headerBarV2.scss +0 -34
- package/src/digitv2/components/headerV2.scss +0 -12
- package/src/digitv2/components/keynoteV2.scss +0 -35
- package/src/digitv2/components/loaderV2.scss +0 -85
- package/src/digitv2/components/modalV2.scss +0 -46
- package/src/digitv2/components/multiUploadWrapperV2.scss +0 -6
- package/src/digitv2/components/navbarV2.scss +0 -9
- package/src/digitv2/components/noresultsfoundV2.scss +0 -11
- package/src/digitv2/components/numeric.scss +0 -47
- package/src/digitv2/components/otpInputV2.scss +0 -15
- package/src/digitv2/components/paragraphV2.scss +0 -5
- package/src/digitv2/components/ratingV2.scss +0 -33
- package/src/digitv2/components/searchActionV2.scss +0 -11
- package/src/digitv2/components/searchFormV2.scss +0 -76
- package/src/digitv2/components/searchcomponent.scss +0 -7
- package/src/digitv2/components/sidebarV2.scss +0 -11
- package/src/digitv2/components/telephoneV2.scss +0 -18
- package/src/digitv2/components/toggleswitchV2.scss +0 -42
- package/src/digitv2/components/uploadFileV2.scss +0 -146
- package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +0 -8
- package/src/pages/citizen/DocumentList.scss +0 -305
- package/src/pages/citizen/Events.scss +0 -47
- package/src/pages/citizen/HomePageWrapper.scss +0 -158
- package/src/pages/citizen/SurveyList.scss +0 -22
- package/src/pages/citizen/citizenDocument.scss +0 -22
- package/src/pages/citizen/container.scss +0 -19
- package/src/pages/citizen/payment/payment-type.scss +0 -3
- package/src/pages/citizen/updatePropertyNumber.scss +0 -46
- package/src/pages/employee/EmployeeLogin.scss +0 -7
- package/src/pages/employee/cardfix.scss +0 -13
- package/src/pages/employee/container.scss +0 -72
- package/src/pages/employee/dss.scss +0 -266
- package/src/pages/employee/form-fields.scss +0 -13
- package/src/pages/employee/iframe.scss +0 -66
- package/src/pages/employee/inbox.scss +0 -585
- package/src/pages/employee/oldMobileInbox.scss +0 -5
- package/src/pages/employee/popupmodule.scss +0 -34
- package/src/pages/employee/response.scss +0 -3
- package/src/pages/employee/scroll-table.scss +0 -119
- package/src/pages/employee/surveys.scss +0 -273
- package/src/pages/employee/tooltip.scss +0 -36
- package/src/pages/employee/updateNumber.scss +0 -13
- 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
|
@@ -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
|
}
|