@entit/digit-ui-css 1.5.6 → 2.0.0

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 (105) hide show
  1. package/dist/index.css +2302 -400
  2. package/dist/index.min.css +1 -1
  3. package/package.json +64 -64
  4. package/src/components/CardBasedOptions.scss +110 -44
  5. package/src/components/CitizenHomeCard.scss +57 -46
  6. package/src/components/EllipsisMenu.scss +16 -16
  7. package/src/components/EventCalendarView.scss +9 -9
  8. package/src/components/FAQ.scss +64 -0
  9. package/src/components/OnGroundEventCard.scss +71 -71
  10. package/src/components/PageBasedInput.scss +31 -23
  11. package/src/components/PopupHeadingLabel.scss +14 -14
  12. package/src/components/PropertySearchForm.scss +58 -58
  13. package/src/components/SearchForm.scss +55 -55
  14. package/src/components/SearchOnRadioButton.scss +9 -9
  15. package/src/components/StandaloneSearchBar.scss +9 -9
  16. package/src/components/TimeLine.scss +67 -67
  17. package/src/components/WhatsNewCard.scss +12 -12
  18. package/src/components/actionLink.scss +3 -3
  19. package/src/components/actionbar.scss +97 -58
  20. package/src/components/bannercomponents.scss +137 -131
  21. package/src/components/body.scss +146 -118
  22. package/src/components/buttons.scss +50 -47
  23. package/src/components/card.scss +412 -389
  24. package/src/components/cardHeaderWithOptions.scss +13 -13
  25. package/src/components/changeLanguage.scss +3 -3
  26. package/src/components/charts.scss +318 -185
  27. package/src/components/checkbox.scss +84 -53
  28. package/src/components/checkpoint.scss +65 -63
  29. package/src/components/citizenInfoLabel.scss +14 -14
  30. package/src/components/custombtn.scss +11 -11
  31. package/src/components/datatable.scss +76 -72
  32. package/src/components/datewrap.scss +21 -21
  33. package/src/components/detailscard.scss +6 -6
  34. package/src/components/detailscontainer.scss +13 -13
  35. package/src/components/filters.scss +97 -97
  36. package/src/components/grey.scss +3 -3
  37. package/src/components/hoc/InboxComposer.scss +115 -22
  38. package/src/components/howItWorks.scss +71 -0
  39. package/src/components/imageviewer.scss +33 -33
  40. package/src/components/info-banner.scss +35 -34
  41. package/src/components/inputotp.scss +15 -15
  42. package/src/components/keynote.scss +27 -27
  43. package/src/components/languageSelector.scss +24 -23
  44. package/src/components/loader.scss +96 -96
  45. package/src/components/map.scss +30 -30
  46. package/src/components/metricsTable.scss +26 -26
  47. package/src/components/multiLink.scss +87 -72
  48. package/src/components/multiSelectDropdown.scss +72 -72
  49. package/src/components/navbar.scss +308 -110
  50. package/src/components/plusMinus.scss +15 -0
  51. package/src/components/popup.scss +15 -15
  52. package/src/components/radiobtn.scss +56 -44
  53. package/src/components/ratingstar.scss +33 -33
  54. package/src/components/roundedLabel.scss +10 -10
  55. package/src/components/searchAction.scss +20 -20
  56. package/src/components/sectionalDropdown.scss +43 -43
  57. package/src/components/selectdropdown.scss +199 -173
  58. package/src/components/staticDynamicMessages.scss +107 -0
  59. package/src/components/staticSideBar.scss +27 -0
  60. package/src/components/statushighlight.scss +17 -17
  61. package/src/components/submiterrors.scss +11 -11
  62. package/src/components/summary.scss +28 -25
  63. package/src/components/table.scss +178 -167
  64. package/src/components/tag.scss +27 -27
  65. package/src/components/telephone.scss +17 -17
  66. package/src/components/textfields.scss +108 -90
  67. package/src/components/toast.scss +31 -31
  68. package/src/components/toggleSwitch.scss +41 -0
  69. package/src/components/topbar.scss +148 -134
  70. package/src/components/uploadcomponents.scss +113 -95
  71. package/src/index.scss +768 -544
  72. package/src/pages/citizen/CitizenEngagementNotificationWrapper.scss +8 -5
  73. package/src/pages/citizen/DocumentList.scss +304 -304
  74. package/src/pages/citizen/Events.scss +46 -46
  75. package/src/pages/citizen/HomePageWrapper.scss +163 -99
  76. package/src/pages/citizen/SurveyList.scss +21 -21
  77. package/src/pages/citizen/citizenDocument.scss +21 -21
  78. package/src/pages/citizen/container.scss +19 -19
  79. package/src/pages/citizen/payment/payment-type.scss +2 -2
  80. package/src/pages/citizen/updatePropertyNumber.scss +46 -46
  81. package/src/pages/employee/EmployeeLogin.scss +6 -6
  82. package/src/pages/employee/cardfix.scss +13 -12
  83. package/src/pages/employee/container.scss +73 -73
  84. package/src/pages/employee/dss.scss +249 -116
  85. package/src/pages/employee/form-fields.scss +13 -13
  86. package/src/pages/employee/iframe.scss +65 -65
  87. package/src/pages/employee/inbox.scss +687 -455
  88. package/src/pages/employee/index.scss +625 -337
  89. package/src/pages/employee/login.scss +260 -185
  90. package/src/pages/employee/oldMobileInbox.scss +4 -4
  91. package/src/pages/employee/popupmodule.scss +47 -34
  92. package/src/pages/employee/response.scss +2 -2
  93. package/src/pages/employee/scroll-table.scss +113 -113
  94. package/src/pages/employee/surveys.scss +272 -273
  95. package/src/pages/employee/tooltip.scss +35 -35
  96. package/src/pages/employee/updateNumber.scss +12 -12
  97. package/svg/camera.svg +4 -4
  98. package/svg/check.svg +3 -3
  99. package/svg/close.svg +4 -4
  100. package/svg/error.svg +3 -3
  101. package/svg/error2.svg +5 -5
  102. package/svg/searchicon.svg +3 -3
  103. package/svg/starempty.svg +3 -3
  104. package/svg/starfilled.svg +4 -4
  105. package/svg/success.svg +3 -3
@@ -1,31 +1,31 @@
1
- .toast-success {
2
- max-width: 480px;
3
- width: calc(100% - 20px);
4
- bottom: 64px;
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: 64px;
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
+ }
@@ -0,0 +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;
41
+ }
@@ -1,134 +1,148 @@
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: #f47738;
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
-
101
- .cp {
102
- cursor: pointer;
103
- }
104
-
105
- .citizen {
106
- .right {
107
- margin-top: 5px;
108
- margin-bottom: 5px;
109
- }
110
-
111
- .topbar-select-wrap {
112
- margin-bottom: 0;
113
- }
114
-
115
- .flex-between {
116
- @apply flex items-center justify-between;
117
- }
118
- }
119
-
120
- .profile-dropdown--item {
121
- display: flex;
122
- flex-direction: row;
123
- padding: 10px;
124
- column-gap: 10px;
125
-
126
- &:hover {
127
- @apply bg-grey-mid;
128
- }
129
- }
130
-
131
- .flex-right {
132
- @apply flex items-center justify-end;
133
- min-width: 85px;
134
- }
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
+ min-height: 50px;
22
+ width: 80px;
23
+ }
24
+ }
25
+
26
+ .ulb {
27
+ font-weight: bold;
28
+ display: inline-block;
29
+ }
30
+
31
+ .right {
32
+ float: right;
33
+ margin-top: 12px;
34
+ position: relative;
35
+
36
+ svg {
37
+ display: inline;
38
+ }
39
+
40
+ .user-img-txt {
41
+ background: #a82227;
42
+ padding: 10px 15px;
43
+ border-radius: 50%;
44
+ color: white;
45
+ font-weight: 700;
46
+ }
47
+ }
48
+
49
+ .left {
50
+ float: left;
51
+ }
52
+
53
+ .w-80 {
54
+ width: 70%;
55
+ }
56
+
57
+ .width-20 {
58
+ width: 30%;
59
+ }
60
+
61
+ .margin-top-6 {
62
+ margin-top: 6px;
63
+ }
64
+
65
+ .margin-right-30 {
66
+ margin-right: 30px;
67
+ }
68
+
69
+ .margin-top-10 {
70
+ margin-top: 10px;
71
+ }
72
+
73
+ .icon {
74
+ display: block;
75
+ color: rgb(117, 117, 117);
76
+ fill: rgb(117, 117, 117);
77
+ height: 21px;
78
+ width: 21px;
79
+ }
80
+
81
+ .column-gap-15 {
82
+ column-gap: 15px;
83
+ }
84
+
85
+ .column-gap-5 {
86
+ column-gap: 5px;
87
+ }
88
+
89
+ .select-wrap,
90
+ .employee-select-wrap {
91
+ margin-bottom: 0px;
92
+ .profile-dropdown--item {
93
+ span {
94
+ white-space: pre;
95
+ }
96
+ }
97
+ }
98
+ }
99
+
100
+ .cp {
101
+ cursor: pointer;
102
+ .hamburger {
103
+ display: none;
104
+ }
105
+
106
+ @media (max-width: 780px) {
107
+ .hamburger {
108
+ display: none;
109
+ }
110
+ }
111
+ }
112
+
113
+ .citizen {
114
+ .right {
115
+ margin-top: 5px;
116
+ margin-bottom: 5px;
117
+ }
118
+
119
+ .topbar-select-wrap {
120
+ margin-bottom: 0;
121
+ }
122
+
123
+ .flex-between {
124
+ @apply flex items-center justify-between;
125
+ }
126
+ }
127
+
128
+ .profile-dropdown--item {
129
+ display: flex;
130
+ flex-direction: row;
131
+ padding: 10px;
132
+ column-gap: 10px;
133
+ color: #505a5f;
134
+
135
+ &:hover {
136
+ background: #eeeeee;
137
+ }
138
+ }
139
+
140
+ .flex-right {
141
+ @apply flex items-center justify-end;
142
+ min-width: 85px;
143
+ }
144
+ video::-webkit-media-controls-panel {
145
+ top: 55%;
146
+ position: absolute;
147
+ width: 100%;
148
+ }
@@ -1,95 +1,113 @@
1
- .upload-wrap {
2
- @apply flex w-full h-40 bg-grey-light relative mb-lg px-sm border border-border border-dashed;
3
-
4
- img {
5
- display: block;
6
- margin-top: 58px;
7
- margin-left: calc(50% - 23px);
8
- height: 42px;
9
- width: 46px;
10
- }
11
-
12
- svg {
13
- display: block;
14
- margin-top: 58px;
15
- margin-left: calc(50% - 23px);
16
- height: 42px;
17
- width: 46px;
18
- }
19
-
20
- input {
21
- @apply absolute w-full h-full opacity-0 top-0;
22
- }
23
- }
24
-
25
- .multi-upload-wrap {
26
- @apply flex mb-lg;
27
-
28
- div {
29
- display: block;
30
- position: relative;
31
- background-color: #fafafa;
32
- width: calc((100% - 16px) / 3);
33
- margin-right: 8px;
34
-
35
- .delete {
36
- position: absolute;
37
- height: 24px;
38
- width: 24px;
39
- border-radius: 100%;
40
- top: 2px;
41
- right: 2px;
42
- }
43
- }
44
-
45
- .upload-img-container {
46
- border: 1px dashed #d6d5d4;
47
- margin: 0 !important;
48
-
49
- img {
50
- margin-left: auto;
51
- margin-right: auto;
52
- padding-top: calc(33% - 21px);
53
- }
54
-
55
- svg {
56
- @apply flex;
57
- margin: auto;
58
- }
59
-
60
- svg {
61
- margin-left: auto;
62
- margin-right: auto;
63
- top: calc(50% - 21px);
64
- position: relative;
65
- }
66
-
67
- input {
68
- @apply absolute w-full h-full opacity-0 top-0;
69
- }
70
- }
71
- }
72
-
73
- .upload-file {
74
- min-height: 56px;
75
- @apply relative border border-input-border w-full;
76
-
77
- div {
78
- @apply flex flex-row h-full items-center pl-md mt-sm flex-wrap;
79
-
80
- .file-upload-status {
81
- @apply text-body-s-dt ml-sm;
82
- }
83
- }
84
- input {
85
- width: 160px;
86
- @apply absolute top-0 left-0 opacity-0 h-full;
87
- }
88
- }
89
-
90
- @screen dt {
91
- .multi-upload-wrap img {
92
- width: 100%;
93
- height: 158px;
94
- }
95
- }
1
+ .upload-wrap {
2
+ @apply flex w-full h-40 bg-grey-light relative mb-lg px-sm border border-border border-dashed;
3
+ max-width: 540px;
4
+
5
+ img {
6
+ display: block;
7
+ margin-top: 58px;
8
+ margin-left: calc(50% - 23px);
9
+ height: 42px;
10
+ width: 46px;
11
+ }
12
+
13
+ svg {
14
+ display: block;
15
+ margin-top: 58px;
16
+ margin-left: calc(50% - 23px);
17
+ height: 42px;
18
+ width: 46px;
19
+ }
20
+
21
+ input {
22
+ @apply absolute w-full h-full opacity-0 top-0;
23
+ }
24
+ }
25
+
26
+ .multi-upload-wrap {
27
+ @apply flex mb-lg;
28
+
29
+ div {
30
+ display: block;
31
+ position: relative;
32
+ background-color: #fafafa;
33
+ width: calc((100% - 16px) / 3);
34
+ margin-right: 8px;
35
+
36
+ .delete {
37
+ position: absolute;
38
+ height: 24px;
39
+ width: 24px;
40
+ border-radius: 100%;
41
+ top: 2px;
42
+ right: 2px;
43
+ }
44
+ }
45
+
46
+ .upload-img-container {
47
+ border: 1px dashed #d6d5d4;
48
+ margin: 0 !important;
49
+
50
+ img {
51
+ margin-left: auto;
52
+ margin-right: auto;
53
+ padding-top: calc(33% - 21px);
54
+ }
55
+
56
+ svg {
57
+ @apply flex;
58
+ margin: auto;
59
+ }
60
+
61
+ svg {
62
+ margin-left: auto;
63
+ margin-right: auto;
64
+ top: calc(50% - 21px);
65
+ position: relative;
66
+ }
67
+
68
+ input {
69
+ @apply absolute w-full h-full opacity-0 top-0;
70
+ }
71
+ }
72
+ }
73
+
74
+ .upload-file-max-width {
75
+ max-width: 540px;
76
+ }
77
+ .digilocker-btn{
78
+ touch-action: manipulation;
79
+ cursor: pointer;
80
+ background-image: none;
81
+ border: 1px solid transparent;
82
+ padding: 6px 12px;
83
+ font-size: 14px;
84
+ line-height: 1.42857143;
85
+ border-radius: 4px;
86
+ user-select: none;
87
+ background: #f0f0f0c9;
88
+ display: flex;
89
+ font-weight: bold;
90
+ }
91
+ .upload-file {
92
+ min-height: 56px;
93
+ @apply relative border border-input-border w-full;
94
+
95
+ div {
96
+ @apply flex flex-row h-full items-center pl-md mt-sm flex-wrap;
97
+
98
+ .file-upload-status {
99
+ @apply text-body-s-dt ml-sm;
100
+ }
101
+ }
102
+ input {
103
+ width: 160px;
104
+ @apply absolute top-0 left-0 opacity-0 h-full;
105
+ }
106
+ }
107
+
108
+ @screen dt {
109
+ .multi-upload-wrap img {
110
+ width: 100%;
111
+ height: 158px;
112
+ }
113
+ }