@pmidc/upyog-css 1.1.6 → 1.1.7
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/dist/index.css +216 -0
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/CardBasedOptions.scss +534 -534
- package/src/components/CitizenHomeCard.scss +228 -228
- package/src/components/EllipsisMenu.scss +16 -16
- package/src/components/EventCalendarView.scss +9 -9
- package/src/components/FAQ.scss +63 -63
- package/src/components/NewAccordianCitizen.scss +130 -130
- package/src/components/OnGroundEventCard.scss +71 -71
- package/src/components/PageBasedInput.scss +30 -30
- package/src/components/PopupHeadingLabel.scss +14 -14
- package/src/components/PropertySearchForm.scss +58 -58
- package/src/components/SearchForm.scss +56 -56
- package/src/components/SearchOnRadioButton.scss +9 -9
- package/src/components/StandaloneSearchBar.scss +9 -9
- package/src/components/TimeLine.scss +96 -96
- package/src/components/WhatsNewCard.scss +12 -12
- package/src/components/actionLink.scss +3 -3
- package/src/components/actionbar.scss +96 -96
- package/src/components/bannercomponents.scss +137 -137
- package/src/components/body.scss +261 -261
- package/src/components/buttons.scss +87 -87
- package/src/components/card.scss +581 -581
- package/src/components/cardHeaderWithOptions.scss +13 -13
- package/src/components/changeLanguage.scss +3 -3
- package/src/components/charts.scss +185 -185
- package/src/components/checkbox.scss +83 -83
- package/src/components/checkpoint.scss +65 -65
- package/src/components/citizenInfoLabel.scss +14 -14
- package/src/components/custombtn.scss +15 -15
- package/src/components/datatable.scss +116 -116
- package/src/components/datewrap.scss +21 -21
- package/src/components/detailscard.scss +6 -6
- package/src/components/detailscontainer.scss +13 -13
- package/src/components/filters.scss +97 -97
- package/src/components/grey.scss +3 -3
- package/src/components/hoc/InboxComposer.scss +115 -115
- package/src/components/howItWorks.scss +71 -71
- package/src/components/imageviewer.scss +33 -33
- package/src/components/info-banner.scss +35 -35
- package/src/components/inputotp.scss +15 -15
- package/src/components/keynote.scss +29 -29
- package/src/components/languageSelector.scss +24 -24
- package/src/components/loader.scss +96 -96
- package/src/components/map.scss +36 -36
- package/src/components/metricsTable.scss +26 -26
- package/src/components/multiLink.scss +87 -87
- package/src/components/multiSelectDropdown.scss +88 -88
- package/src/components/navbar.scss +338 -338
- package/src/components/newFooter.scss +75 -75
- package/src/components/plusMinus.scss +15 -15
- package/src/components/popup.scss +15 -15
- package/src/components/radiobtn.scss +44 -44
- package/src/components/ratingstar.scss +33 -33
- package/src/components/roundedLabel.scss +10 -10
- package/src/components/searchAction.scss +27 -27
- package/src/components/sectionalDropdown.scss +43 -43
- package/src/components/selectdropdown.scss +276 -276
- package/src/components/staticDynamicMessages.scss +110 -110
- package/src/components/staticSideBar.scss +27 -27
- package/src/components/statushighlight.scss +17 -17
- package/src/components/submiterrors.scss +11 -11
- package/src/components/summary.scss +28 -28
- package/src/components/table.scss +362 -362
- package/src/components/tag.scss +27 -27
- package/src/components/telephone.scss +17 -17
- package/src/components/textfields.scss +119 -119
- package/src/components/toast.scss +31 -31
- package/src/components/toggleSwitch.scss +40 -40
- package/src/components/topbar.scss +217 -217
- package/src/components/uploadcomponents.scss +113 -113
- package/src/index.scss +1029 -1028
- package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +8 -8
- package/src/pages/citizen/CitizenLogin.scss +50 -50
- package/src/pages/citizen/DocumentList.scss +448 -448
- package/src/pages/citizen/Events.scss +46 -46
- package/src/pages/citizen/HomePageWrapper.scss +214 -214
- package/src/pages/citizen/InboxCard.scss +327 -327
- package/src/pages/citizen/SurveyList.scss +21 -21
- package/src/pages/citizen/citizenDocument.scss +25 -25
- package/src/pages/citizen/citizenNewLogin.scss +357 -357
- package/src/pages/citizen/container.scss +32 -32
- package/src/pages/citizen/loaderMessage.scss +295 -295
- package/src/pages/citizen/payment/payment-type.scss +2 -2
- package/src/pages/citizen/updatePropertyNumber.scss +46 -46
- package/src/pages/common/form.scss +25 -25
- package/src/pages/common/newApplicationTimeline.scss +203 -0
- package/src/pages/common/pgrUICssfix.scss +105 -105
- package/src/pages/common/requiredField.scss +2 -2
- package/src/pages/common/sanctionFeeTable.scss +91 -91
- package/src/pages/common/searchIcon.scss +12 -12
- package/src/pages/common/stepForm.scss +40 -40
- package/src/pages/employee/EmployeeLogin.scss +6 -6
- package/src/pages/employee/cardfix.scss +13 -13
- package/src/pages/employee/container.scss +73 -73
- package/src/pages/employee/dashboard.scss +203 -203
- package/src/pages/employee/disconnection.scss +425 -425
- package/src/pages/employee/dss.scss +251 -251
- package/src/pages/employee/faq.scss +353 -353
- package/src/pages/employee/footer.scss +68 -68
- package/src/pages/employee/form-fields.scss +13 -13
- package/src/pages/employee/header.scss +262 -262
- package/src/pages/employee/iframe.scss +65 -65
- package/src/pages/employee/inbox.scss +744 -744
- package/src/pages/employee/index.scss +677 -677
- package/src/pages/employee/landing.scss +324 -324
- package/src/pages/employee/login.scss +253 -253
- package/src/pages/employee/oldMobileInbox.scss +4 -4
- package/src/pages/employee/popupmodule.scss +47 -47
- package/src/pages/employee/response.scss +2 -2
- package/src/pages/employee/scroll-table.scss +113 -113
- package/src/pages/employee/surveys.scss +469 -469
- package/src/pages/employee/tooltip.scss +35 -35
- package/src/pages/employee/updateNumber.scss +12 -12
- package/src/pages/swach/index.scss +172 -172
- package/src/pages/ws/index.scss +104 -104
- package/svg/camera.svg +4 -4
- package/svg/check.svg +3 -3
- package/svg/close.svg +4 -4
- package/svg/error.svg +3 -3
- package/svg/error2.svg +5 -5
- package/svg/searchicon.svg +3 -3
- package/svg/starempty.svg +3 -3
- package/svg/starfilled.svg +4 -4
- package/svg/success.svg +3 -3
package/src/components/tag.scss
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
.tag-container {
|
|
2
|
-
@apply flex flex-wrap mb-md;
|
|
3
|
-
.tag {
|
|
4
|
-
@apply bg-grey-mid rounded-2xl pt-sm pb-sm flex justify-between items-center;
|
|
5
|
-
padding-left: 12px;
|
|
6
|
-
padding-right: 12px;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
margin-left: 2px;
|
|
9
|
-
height: 2rem;
|
|
10
|
-
margin-top: 1rem;
|
|
11
|
-
.text {
|
|
12
|
-
padding-right: 5px;
|
|
13
|
-
max-width: calc( 100% - 24px );
|
|
14
|
-
height: 22px;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
text-overflow: clip;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
@apply cursor-pointer;
|
|
21
|
-
|
|
22
|
-
.close {
|
|
23
|
-
fill: black;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
.tag-container {
|
|
2
|
+
@apply flex flex-wrap mb-md;
|
|
3
|
+
.tag {
|
|
4
|
+
@apply bg-grey-mid rounded-2xl pt-sm pb-sm flex justify-between items-center;
|
|
5
|
+
padding-left: 12px;
|
|
6
|
+
padding-right: 12px;
|
|
7
|
+
font-size: 14px;
|
|
8
|
+
margin-left: 2px;
|
|
9
|
+
height: 2rem;
|
|
10
|
+
margin-top: 1rem;
|
|
11
|
+
.text {
|
|
12
|
+
padding-right: 5px;
|
|
13
|
+
max-width: calc( 100% - 24px );
|
|
14
|
+
height: 22px;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
text-overflow: clip;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
@apply cursor-pointer;
|
|
21
|
+
|
|
22
|
+
.close {
|
|
23
|
+
fill: black;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.telephone {
|
|
2
|
-
@apply flex items-baseline;
|
|
3
|
-
img,
|
|
4
|
-
svg {
|
|
5
|
-
height: 22px;
|
|
6
|
-
width: 20px;
|
|
7
|
-
@apply text-primary-main ml-sm items-center;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
p {
|
|
11
|
-
@apply text-text-primary text-body-l pl-sm;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.call {
|
|
16
|
-
@apply flex text-text-secondary text-body-l;
|
|
17
|
-
}
|
|
1
|
+
.telephone {
|
|
2
|
+
@apply flex items-baseline;
|
|
3
|
+
img,
|
|
4
|
+
svg {
|
|
5
|
+
height: 22px;
|
|
6
|
+
width: 20px;
|
|
7
|
+
@apply text-primary-main ml-sm items-center;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
p {
|
|
11
|
+
@apply text-text-primary text-body-l pl-sm;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.call {
|
|
16
|
+
@apply flex text-text-secondary text-body-l;
|
|
17
|
+
}
|
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
.card-input {
|
|
2
|
-
@apply mb-lg pl-sm outline-none mt-sm block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.card-input-error {
|
|
6
|
-
@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;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.employee-card-input {
|
|
10
|
-
@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;
|
|
11
|
-
height: 2rem !important;
|
|
12
|
-
padding: 1.5rem 1rem;
|
|
13
|
-
border-radius: 8px;
|
|
14
|
-
border: 1px solid #b4b4b4;
|
|
15
|
-
color: #1f2937;
|
|
16
|
-
&::placeholder {
|
|
17
|
-
color: #9ca3af;
|
|
18
|
-
}
|
|
19
|
-
&:focus {
|
|
20
|
-
outline: none;
|
|
21
|
-
border-color: #d1d5db;
|
|
22
|
-
box-shadow: 0 0 0 3px rgba(13, 78, 255, 0.03);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
.employee-card-input:disabled {
|
|
26
|
-
@apply border-grey-dark text-grey-dark !important;
|
|
27
|
-
pointer-events: none !important;
|
|
28
|
-
}
|
|
29
|
-
.employee-card-input:disabled {
|
|
30
|
-
@apply border-grey-dark text-grey-dark !important;
|
|
31
|
-
pointer-events: none !important;
|
|
32
|
-
}
|
|
33
|
-
.employee-card-input--front {
|
|
34
|
-
width: fit-content !important;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
background: #eeeeee;
|
|
38
|
-
border-right: 0;
|
|
39
|
-
padding-right: 5px;
|
|
40
|
-
}
|
|
41
|
-
.employee-card-input-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
|
-
border-radius: 8px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.card-textarea,
|
|
47
|
-
.employee-card-textarea {
|
|
48
|
-
@apply block mb-lg outline-none border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm rounded-lg;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.inputWrapper {
|
|
52
|
-
display: flex;
|
|
53
|
-
justify-content: flex-start;
|
|
54
|
-
max-width: 500px;
|
|
55
|
-
|
|
56
|
-
div {
|
|
57
|
-
max-width: 80px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
span {
|
|
61
|
-
margin-top: 16px;
|
|
62
|
-
margin-left: 10%;
|
|
63
|
-
margin-right: 10%;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@screen dt {
|
|
68
|
-
.card-input {
|
|
69
|
-
width: 480px;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.card-input-emp {
|
|
73
|
-
width: 240px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.card-input-error {
|
|
77
|
-
width: 480px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.employee-card-input {
|
|
81
|
-
@apply w-full;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.employee-card-input-error {
|
|
85
|
-
@apply w-full;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.card-textarea {
|
|
89
|
-
/* //width: 480px; */
|
|
90
|
-
@apply w-full;
|
|
91
|
-
max-width: 540px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.employee-card-textarea {
|
|
95
|
-
@apply w-full;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.card-input-emp {
|
|
99
|
-
width: 240px;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.citizen-card-input {
|
|
104
|
-
@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;
|
|
105
|
-
}
|
|
106
|
-
.citizen-card-input {
|
|
107
|
-
height: 2rem !important;
|
|
108
|
-
margin-bottom: 16px !important;
|
|
109
|
-
line-height: 2rem !important;
|
|
110
|
-
color: #1f2937;
|
|
111
|
-
&::placeholder {
|
|
112
|
-
color: #9ca3af;
|
|
113
|
-
}
|
|
114
|
-
&:focus {
|
|
115
|
-
outline: none;
|
|
116
|
-
border-color: #d1d5db;
|
|
117
|
-
box-shadow: 0 0 0 3px rgba(13, 78, 255, 0.03);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
1
|
+
.card-input {
|
|
2
|
+
@apply mb-lg pl-sm outline-none mt-sm block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.card-input-error {
|
|
6
|
+
@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;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.employee-card-input {
|
|
10
|
+
@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;
|
|
11
|
+
height: 2rem !important;
|
|
12
|
+
padding: 1.5rem 1rem;
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
border: 1px solid #b4b4b4;
|
|
15
|
+
color: #1f2937;
|
|
16
|
+
&::placeholder {
|
|
17
|
+
color: #9ca3af;
|
|
18
|
+
}
|
|
19
|
+
&:focus {
|
|
20
|
+
outline: none;
|
|
21
|
+
border-color: #d1d5db;
|
|
22
|
+
box-shadow: 0 0 0 3px rgba(13, 78, 255, 0.03);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.employee-card-input:disabled {
|
|
26
|
+
@apply border-grey-dark text-grey-dark !important;
|
|
27
|
+
pointer-events: none !important;
|
|
28
|
+
}
|
|
29
|
+
.employee-card-input:disabled {
|
|
30
|
+
@apply border-grey-dark text-grey-dark !important;
|
|
31
|
+
pointer-events: none !important;
|
|
32
|
+
}
|
|
33
|
+
.employee-card-input--front {
|
|
34
|
+
width: fit-content !important;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
background: #eeeeee;
|
|
38
|
+
border-right: 0;
|
|
39
|
+
padding-right: 5px;
|
|
40
|
+
}
|
|
41
|
+
.employee-card-input-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
|
+
border-radius: 8px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.card-textarea,
|
|
47
|
+
.employee-card-textarea {
|
|
48
|
+
@apply block mb-lg outline-none border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm rounded-lg;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.inputWrapper {
|
|
52
|
+
display: flex;
|
|
53
|
+
justify-content: flex-start;
|
|
54
|
+
max-width: 500px;
|
|
55
|
+
|
|
56
|
+
div {
|
|
57
|
+
max-width: 80px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
span {
|
|
61
|
+
margin-top: 16px;
|
|
62
|
+
margin-left: 10%;
|
|
63
|
+
margin-right: 10%;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@screen dt {
|
|
68
|
+
.card-input {
|
|
69
|
+
width: 480px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.card-input-emp {
|
|
73
|
+
width: 240px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.card-input-error {
|
|
77
|
+
width: 480px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.employee-card-input {
|
|
81
|
+
@apply w-full;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.employee-card-input-error {
|
|
85
|
+
@apply w-full;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.card-textarea {
|
|
89
|
+
/* //width: 480px; */
|
|
90
|
+
@apply w-full;
|
|
91
|
+
max-width: 540px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.employee-card-textarea {
|
|
95
|
+
@apply w-full;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.card-input-emp {
|
|
99
|
+
width: 240px;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.citizen-card-input {
|
|
104
|
+
@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;
|
|
105
|
+
}
|
|
106
|
+
.citizen-card-input {
|
|
107
|
+
height: 2rem !important;
|
|
108
|
+
margin-bottom: 16px !important;
|
|
109
|
+
line-height: 2rem !important;
|
|
110
|
+
color: #1f2937;
|
|
111
|
+
&::placeholder {
|
|
112
|
+
color: #9ca3af;
|
|
113
|
+
}
|
|
114
|
+
&:focus {
|
|
115
|
+
outline: none;
|
|
116
|
+
border-color: #d1d5db;
|
|
117
|
+
box-shadow: 0 0 0 3px rgba(13, 78, 255, 0.03);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
.toast-success {
|
|
2
|
-
max-width: 480px;
|
|
3
|
-
width: calc(100% - 20px);
|
|
4
|
-
bottom: 100px;
|
|
5
|
-
left: 0;
|
|
6
|
-
margin: 0 10px;
|
|
7
|
-
gap: 16px;
|
|
8
|
-
border-radius: 4px;
|
|
9
|
-
min-height: 48px;
|
|
10
|
-
@apply fixed flex bg-success leading-7 z-20 items-center pl-md pr-sm;
|
|
11
|
-
|
|
12
|
-
svg {
|
|
13
|
-
height: 20px;
|
|
14
|
-
width: 20px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.toast-close-btn {
|
|
18
|
-
margin-left: auto;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
h2 {
|
|
22
|
-
@apply text-body-s-dt text-white;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@screen dt {
|
|
27
|
-
.toast-success {
|
|
28
|
-
width: 100%;
|
|
29
|
-
left: calc(50% - 240px);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
.toast-success {
|
|
2
|
+
max-width: 480px;
|
|
3
|
+
width: calc(100% - 20px);
|
|
4
|
+
bottom: 100px;
|
|
5
|
+
left: 0;
|
|
6
|
+
margin: 0 10px;
|
|
7
|
+
gap: 16px;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
min-height: 48px;
|
|
10
|
+
@apply fixed flex bg-success leading-7 z-20 items-center pl-md pr-sm;
|
|
11
|
+
|
|
12
|
+
svg {
|
|
13
|
+
height: 20px;
|
|
14
|
+
width: 20px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.toast-close-btn {
|
|
18
|
+
margin-left: auto;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
h2 {
|
|
22
|
+
@apply text-body-s-dt text-white;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@screen dt {
|
|
27
|
+
.toast-success {
|
|
28
|
+
width: 100%;
|
|
29
|
+
left: calc(50% - 240px);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
.react-switch-checkbox {
|
|
2
|
-
height: 0;
|
|
3
|
-
width: 0;
|
|
4
|
-
visibility: hidden;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.react-switch-label {
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: space-between;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
width: 50px;
|
|
13
|
-
height: 20px;
|
|
14
|
-
background: white;
|
|
15
|
-
border-radius: 100px;
|
|
16
|
-
position: relative;
|
|
17
|
-
transition: background-color .2s;
|
|
18
|
-
border: 1px solid #bbb;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.react-switch-label .react-switch-button {
|
|
22
|
-
content: '';
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 2px;
|
|
25
|
-
left: 2px;
|
|
26
|
-
width: 14px;
|
|
27
|
-
height: 14px;
|
|
28
|
-
border-radius: 45px;
|
|
29
|
-
transition: 0.2s;
|
|
30
|
-
background: #a82227;
|
|
31
|
-
box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.react-switch-checkbox:checked + .react-switch-label .react-switch-button {
|
|
35
|
-
left: calc(100% - 2px);
|
|
36
|
-
transform: translateX(-100%);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.react-switch-label:active .react-switch-button {
|
|
40
|
-
width: 45px;
|
|
1
|
+
.react-switch-checkbox {
|
|
2
|
+
height: 0;
|
|
3
|
+
width: 0;
|
|
4
|
+
visibility: hidden;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.react-switch-label {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
width: 50px;
|
|
13
|
+
height: 20px;
|
|
14
|
+
background: white;
|
|
15
|
+
border-radius: 100px;
|
|
16
|
+
position: relative;
|
|
17
|
+
transition: background-color .2s;
|
|
18
|
+
border: 1px solid #bbb;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.react-switch-label .react-switch-button {
|
|
22
|
+
content: '';
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 2px;
|
|
25
|
+
left: 2px;
|
|
26
|
+
width: 14px;
|
|
27
|
+
height: 14px;
|
|
28
|
+
border-radius: 45px;
|
|
29
|
+
transition: 0.2s;
|
|
30
|
+
background: #a82227;
|
|
31
|
+
box-shadow: 0 0 2px 0 rgba(10, 10, 10, 0.29);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.react-switch-checkbox:checked + .react-switch-label .react-switch-button {
|
|
35
|
+
left: calc(100% - 2px);
|
|
36
|
+
transform: translateX(-100%);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.react-switch-label:active .react-switch-button {
|
|
40
|
+
width: 45px;
|
|
41
41
|
}
|