@egovernments/digit-ui-health-css 0.3.1 → 0.3.3

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.
@@ -0,0 +1,14 @@
1
+ .custom-form{
2
+ .label-field-wrapper{
3
+ width: 100% !important;
4
+ }
5
+
6
+ .custom-label-pair{
7
+ margin-bottom: 0rem;
8
+ }
9
+
10
+ .digit-submit-bar{
11
+ width: fit-content;
12
+ margin-left: auto;
13
+ }
14
+ }
@@ -4,11 +4,12 @@
4
4
  @import "../../typography.scss";
5
5
  @import "./villageView.scss";
6
6
  @import "./facility.scss";
7
+ @import "./hrmsupdate.scss";
7
8
 
8
- .results-table-wrapper{
9
+ .results-table-wrapper {
9
10
  margin-bottom: 2rem;
10
11
 
11
- .pagination{
12
+ .pagination {
12
13
  margin-bottom: 2rem;
13
14
  }
14
15
  }
@@ -30,7 +31,6 @@
30
31
  margin-left: 3.5rem;
31
32
  }
32
33
 
33
-
34
34
  .main.digit-home-main {
35
35
  margin-left: 60px;
36
36
 
@@ -41,7 +41,6 @@
41
41
  margin-bottom: 0rem;
42
42
  min-height: calc(100vh - 10em);
43
43
 
44
-
45
44
  .ground-container.digit-home-ground {
46
45
  padding: 0;
47
46
  padding-right: 0;
@@ -106,7 +105,7 @@
106
105
  display: flex;
107
106
  justify-content: space-between;
108
107
  flex-direction: row-reverse;
109
- z-index: 10;
108
+ z-index: 0;
110
109
  }
111
110
 
112
111
  .previous-button {
@@ -114,10 +113,6 @@
114
113
  min-width: 12.5rem;
115
114
  }
116
115
 
117
- .info-text {
118
- padding-bottom: 1.5rem;
119
- }
120
-
121
116
  .microplan-bulk-upload {
122
117
  display: flex;
123
118
  justify-content: space-between;
@@ -295,6 +290,7 @@
295
290
  font-size: 24px;
296
291
  color: #505a5f;
297
292
  margin-top: 0.5rem;
293
+ padding-bottom: 1rem;
298
294
  }
299
295
 
300
296
  .header-end {
@@ -392,6 +388,7 @@ tbody {
392
388
  }
393
389
 
394
390
  .campaign-summary-container {
391
+ overflow: auto;
395
392
  .setup-campaign-card {
396
393
  .employeeCard.employeeCard-override {
397
394
  padding: 1.5rem;
@@ -424,7 +421,7 @@ tbody {
424
421
 
425
422
  .digit-button-primary {
426
423
  height: 1.5rem;
427
- background-color: #d4351c !important;
424
+ background-color: #d4351c;
428
425
 
429
426
  .icon-label-container.primary.large {
430
427
  font-size: 14px;
@@ -455,9 +452,8 @@ tbody {
455
452
  .add-new-product-container {
456
453
  border: 1px solid #d6d5d4;
457
454
  background-color: #fafafa;
455
+ margin-bottom: 1.5rem;
458
456
  width: 100%;
459
- padding-top: 0;
460
-
461
457
  .heading-bar {
462
458
  font-weight: 700;
463
459
  display: flex;
@@ -493,7 +489,7 @@ tbody {
493
489
  justify-content: space-between;
494
490
 
495
491
  .submit-bar {
496
- background-color: #c84c0e !important;
492
+ background-color: #c84c0e;
497
493
  width: max-content;
498
494
  padding-left: 1.5rem;
499
495
  padding-right: 1.5rem;
@@ -622,6 +618,9 @@ tbody {
622
618
  h2 {
623
619
  color: theme(digitv2.lightTheme.text-primary);
624
620
  }
621
+ div {
622
+ flex-direction: column;
623
+ }
625
624
  }
626
625
 
627
626
  .link {
@@ -677,7 +676,8 @@ tbody {
677
676
 
678
677
  .digit-employee-card.campaign-update-container {
679
678
  padding: 1.5rem;
680
- margin: 0 !important;
679
+ margin: 0rem;
680
+ margin-top: 1rem;
681
681
 
682
682
  .header {
683
683
  margin-bottom: 1.5rem;
@@ -712,7 +712,7 @@ tbody {
712
712
 
713
713
  p {
714
714
  margin: 0;
715
- margin-bottom: 0.25rem;
715
+ margin-bottom: 1rem;
716
716
  }
717
717
 
718
718
  .mandatory-date {
@@ -762,12 +762,23 @@ tbody {
762
762
  width: unset !important;
763
763
  }
764
764
 
765
-
766
- .inbox-search-wrapper .inbox-search-component-wrapper .sections-parent.search .search-wrapper .search-field-wrapper.search.custom-both-clear-search .search-button-wrapper .submit-bar {
765
+ .inbox-search-wrapper
766
+ .inbox-search-component-wrapper
767
+ .sections-parent.search
768
+ .search-wrapper
769
+ .search-field-wrapper.search.custom-both-clear-search
770
+ .search-button-wrapper
771
+ .submit-bar {
767
772
  background-color: theme(digitv2.lightTheme.primary) !important;
768
773
  }
769
774
 
770
- .inbox-search-wrapper .inbox-search-component-wrapper .sections-parent.search .search-wrapper .search-field-wrapper.search.custom-both-clear-search .search-button-wrapper .link-label {
775
+ .inbox-search-wrapper
776
+ .inbox-search-component-wrapper
777
+ .sections-parent.search
778
+ .search-wrapper
779
+ .search-field-wrapper.search.custom-both-clear-search
780
+ .search-button-wrapper
781
+ .link-label {
771
782
  color: theme(digitv2.lightTheme.primary) !important;
772
783
  }
773
784
 
@@ -783,7 +794,7 @@ tbody {
783
794
  border-top-right-radius: 0.25rem;
784
795
  border-bottom-left-radius: 0rem;
785
796
  border-bottom-right-radius: 0rem;
786
- padding: .75rem;
797
+ padding: 0.75rem;
787
798
  padding-left: 1.5rem;
788
799
  padding-right: 1.5rem;
789
800
  border: 0.063rem solid;
@@ -802,7 +813,7 @@ tbody {
802
813
  .parent-group {
803
814
  border-width: 0.063rem;
804
815
  background: theme(digitv2.lightTheme.paper-secondary);
805
- border-color: #D4D5D6;
816
+ border-color: #d4d5d6;
806
817
  border-radius: 0.25rem;
807
818
  padding: 1rem;
808
819
  padding-bottom: 0rem;
@@ -811,7 +822,7 @@ tbody {
811
822
  .summary-parent-group {
812
823
  border-width: 0.063rem;
813
824
  background: theme(digitv2.lightTheme.paper-secondary);
814
- border-color: #D4D5D6;
825
+ border-color: #d4d5d6;
815
826
  border-radius: 0.25rem;
816
827
  padding: 1rem;
817
828
  }
@@ -823,7 +834,7 @@ tbody {
823
834
  .summary-group {
824
835
  border-width: 0.063rem;
825
836
  background: theme(digitv2.lightTheme.paper-secondary);
826
- border-color: #D4D5D6;
837
+ border-color: #d4d5d6;
827
838
  border-radius: 0.25rem;
828
839
  padding: 1rem;
829
840
  }
@@ -838,7 +849,6 @@ tbody {
838
849
  .card-container2 {
839
850
  width: -webkit-fill-available;
840
851
  padding-bottom: 1.5rem;
841
-
842
852
  }
843
853
 
844
854
  .card-container-delivery {
@@ -853,13 +863,11 @@ tbody {
853
863
  padding-bottom: 1rem;
854
864
  }
855
865
 
856
-
857
866
  .view-campaign-details-card {
858
-
859
- .view-composer-header-section{
867
+ .view-composer-header-section {
860
868
  margin-bottom: 1.5rem;
861
- header{
862
- margin:0rem;
869
+ header {
870
+ margin: 0rem;
863
871
  }
864
872
  }
865
873
  .employee-data-table {
@@ -886,7 +894,6 @@ tbody {
886
894
  &.last {
887
895
  margin: 0rem;
888
896
  }
889
-
890
897
  }
891
898
  }
892
899
  }
@@ -898,7 +905,410 @@ tbody {
898
905
  }
899
906
 
900
907
  .digit-landing-page-wrapper {
901
- .digit-landing-page-card{
908
+ .digit-landing-page-card {
902
909
  min-width: fit-content;
903
910
  }
904
911
  }
912
+ /* APP CONFIG CSS REDESIGN */
913
+ .configure-app-tabs {
914
+ .configure-app-tab-head {
915
+ border: 1px solid #d6d5d4;
916
+ border-radius: 0px;
917
+ padding: 0.5rem 1rem;
918
+ min-width: 2.5rem;
919
+ height: 2rem;
920
+ background-color: #ffffff;
921
+ width: 10rem;
922
+ }
923
+ .configure-app-tab-head.active {
924
+ background-color: #c84c0e;
925
+ font-weight: 700;
926
+ color: #ffffff;
927
+ }
928
+ }
929
+ .digit-card-component.appConfigScreenCard {
930
+ width: 50%;
931
+ margin: 0rem 1.5rem;
932
+ border-radius: 0.75rem;
933
+ }
934
+
935
+ .app-configure-action-button {
936
+ border-radius: 1.25rem;
937
+ padding: 0.25rem 0.25rem;
938
+ height: 3rem;
939
+ width: 10rem;
940
+ min-width: 10rem;
941
+ margin-bottom: 5rem;
942
+ }
943
+ .app-configuration-side-panel {
944
+ width: 24rem;
945
+ z-index: 99;
946
+ background-color: #ffffff;
947
+ .slider-content {
948
+ .slider-footer {
949
+ margin-bottom: 5rem;
950
+ }
951
+ }
952
+ }
953
+ .appConfigHeaderLabelField {
954
+ flex-direction: column;
955
+ gap: 0.5rem;
956
+ .appConfigLabelField-label-container {
957
+ width: 100%;
958
+ }
959
+ }
960
+ .appConfigLabelField {
961
+ position: relative;
962
+ padding: 1rem;
963
+ width: 18rem;
964
+ flex-direction: row;
965
+ justify-content: space-between;
966
+ align-items: center;
967
+ margin-bottom: unset;
968
+ }
969
+ .draggableField-cont {
970
+ margin-bottom: 1rem;
971
+ width: fit-content;
972
+ border-radius: 0.5rem;
973
+ border: 1px solid #d6d5d4;
974
+ background-color: #fafafa;
975
+ }
976
+ .appConfigLabelField.selected {
977
+ background-color: #f477381a;
978
+ border: 1px solid #c84c0e;
979
+ }
980
+ .app-config-field-tag {
981
+ background-color: #0057bd0d !important;
982
+ word-break: break-word;
983
+ border: 0.0031rem solid #0b4b66;
984
+ color: #0b4b66;
985
+ font-size: 0.75rem;
986
+ font-weight: 400;
987
+ height: 1.5rem;
988
+ .digit-tag-text {
989
+ font-size: 0.75rem;
990
+ font-weight: 400;
991
+ }
992
+ .digit-tag-wrapper {
993
+ border-radius: 0.5rem;
994
+ }
995
+ }
996
+ .app-configure-drawer-footer-button {
997
+ margin: auto;
998
+ }
999
+ .app-configure-drawer-footer-container {
1000
+ display: flex;
1001
+ flex-direction: column;
1002
+ gap: 1rem;
1003
+ align-items: center;
1004
+ .app-configure-drawer-footer-button {
1005
+ width: 100%;
1006
+ }
1007
+ }
1008
+ .appConfigLabelField-label {
1009
+ @extend .typography.heading-s;
1010
+ width: 12rem !important;
1011
+ word-break: break-word;
1012
+ color: theme(digitv2.lightTheme.text-secondary);
1013
+ margin-bottom: 0.5rem;
1014
+ font-size: 1rem;
1015
+ font-weight: 700;
1016
+ &.desc {
1017
+ margin-bottom: 0 !important;
1018
+ }
1019
+ }
1020
+ .app-preview-action-button {
1021
+ margin-top: auto;
1022
+ margin-bottom: 0;
1023
+ width: 100%;
1024
+ text-align: center;
1025
+ }
1026
+ .app-preview-app-config-drawer-action-button {
1027
+ display: flex;
1028
+ flex-direction: column;
1029
+ gap: 0.5rem;
1030
+ }
1031
+ .app-config-header {
1032
+ color: #0b4b66 !important;
1033
+ font-weight: 700;
1034
+ font-size: 2.5rem;
1035
+ display: flex;
1036
+ align-items: baseline;
1037
+ gap: 1rem;
1038
+ .app-config-header-group {
1039
+ display: flex;
1040
+ column-gap: inherit;
1041
+ }
1042
+ }
1043
+ .appConfigLabelField-label-container {
1044
+ width: 12rem;
1045
+ }
1046
+ .app-config-drawer-button {
1047
+ width: 100%;
1048
+ }
1049
+ .app-preview-sub-heading {
1050
+ font-family: "Roboto";
1051
+ margin: unset;
1052
+ }
1053
+ .app-config-add-field-popup {
1054
+ width: 35rem !important;
1055
+ .digit-popup-heading {
1056
+ color: theme(digitv2.lightTheme.primary-2);
1057
+ }
1058
+ .digit-popup-children-wrap {
1059
+ overflow: visible !important;
1060
+ }
1061
+ .digit-label-field-pair {
1062
+ display: flex;
1063
+ align-items: center;
1064
+ .product-label-field {
1065
+ width: 15rem !important;
1066
+ }
1067
+ }
1068
+ }
1069
+ .app-config-drawer-action-divider {
1070
+ margin-top: auto;
1071
+ }
1072
+ .app-preview-field-pair {
1073
+ display: flex;
1074
+ gap: 0.5rem;
1075
+ flex-direction: column;
1076
+ padding: 0.5rem;
1077
+ .digit-header-content.label {
1078
+ width: 70%;
1079
+ }
1080
+ .digit-field {
1081
+ width: 100%;
1082
+ .digit-description {
1083
+ display: flex !important;
1084
+ }
1085
+ .selection-card-container {
1086
+ .selection-card {
1087
+ width: 100%;
1088
+ justify-content: center;
1089
+ }
1090
+ }
1091
+ }
1092
+ .infotext {
1093
+ width: 12rem !important;
1094
+ }
1095
+ .digit-field {
1096
+ .digit-radio-options-wrap {
1097
+ flex-direction: column;
1098
+ }
1099
+ }
1100
+ }
1101
+ .app-preview-field-pair.app-preview-selected {
1102
+ .digit-header-content .label {
1103
+ width: 100%;
1104
+ }
1105
+ background-color: #c84c0e1a;
1106
+ border: 2px solid #c84c0e;
1107
+ border-radius: 0.5rem;
1108
+ .digit-field {
1109
+ .digit-radio-options-wrap {
1110
+ flex-direction: column;
1111
+ }
1112
+ }
1113
+ }
1114
+ .app-config-checkbox-main {
1115
+ display: flex;
1116
+ align-items: center;
1117
+ margin-bottom: unset;
1118
+ margin-left: 0.5rem;
1119
+ }
1120
+ .app-config-checkbox-label {
1121
+ display: inline-block !important;
1122
+
1123
+ &.required::after {
1124
+ content: " *";
1125
+ color: #d4351c;
1126
+ }
1127
+ }
1128
+
1129
+ .app-preview-field-button {
1130
+ width: 100%;
1131
+ }
1132
+
1133
+ .drawer-toggle-field-container {
1134
+ border: 1px solid #d6d5d4;
1135
+ background: #fafafa;
1136
+ border-radius: 0.5rem;
1137
+ padding: 1rem;
1138
+ .drawer-container-tooltip {
1139
+ position: relative;
1140
+ display: flex;
1141
+ flex-direction: column;
1142
+ gap: 1rem;
1143
+ .digit-switch-container {
1144
+ .digit-switch-label {
1145
+ @extend .typography.body-s;
1146
+ color: theme(digitv2.lightTheme.text-color-secondary);
1147
+ }
1148
+ }
1149
+ .drawer-toggle-conditional-field {
1150
+ display: flex;
1151
+ flex-direction: column;
1152
+ gap: 0.1rem;
1153
+ .digit-header-content.label {
1154
+ @extend .typography.body-s;
1155
+ color: theme(digitv2.lightTheme.text-color-secondary);
1156
+ width: 100%;
1157
+ }
1158
+ .digit-field {
1159
+ width: 100%;
1160
+ }
1161
+ }
1162
+ }
1163
+ }
1164
+ .app-config-drawer-subheader {
1165
+ @extend .typography.caption-s;
1166
+ font-style: normal;
1167
+ color: theme(digitv2.lightTheme.primary-2);
1168
+ display: flex;
1169
+ align-items: center;
1170
+ }
1171
+
1172
+ .icon-wrapper.app-config-tooltip {
1173
+ margin-bottom: 0;
1174
+ height: 2rem;
1175
+ display: contents;
1176
+ .tooltip-wrapper {
1177
+ .tooltip-content {
1178
+ width: max-content !important;
1179
+ }
1180
+ }
1181
+ }
1182
+ .mobile-bezel-child-container {
1183
+ height: 90%;
1184
+ .app-preview-selected {
1185
+ .digit-header-content {
1186
+ width: 100%;
1187
+ }
1188
+ }
1189
+ }
1190
+ .drag-handle {
1191
+ display: grid;
1192
+ grid-template-columns: repeat(2, 4px); /* 2 columns */
1193
+ gap: 4px; /* spacing between dots */
1194
+ width: fit-content;
1195
+ margin: 0 0.5rem;
1196
+ cursor: grab;
1197
+ }
1198
+
1199
+ .drag-handle span {
1200
+ width: 4px;
1201
+ height: 4px;
1202
+ background-color: #d9d9d9;
1203
+ border-radius: 50%;
1204
+ display: block;
1205
+ }
1206
+ .mobile-bezel-screen {
1207
+ scrollbar-width: none;
1208
+ scrollbar-color: #d6d5d4 transparent;
1209
+
1210
+ overflow-y: auto;
1211
+
1212
+ &::-webkit-scrollbar {
1213
+ width: 0px;
1214
+ background: transparent;
1215
+ }
1216
+
1217
+ &::-webkit-scrollbar-thumb {
1218
+ background-color: transparent;
1219
+ transition: background-color 0.3s ease;
1220
+ }
1221
+
1222
+ &::-webkit-scrollbar-track {
1223
+ background: transparent;
1224
+ }
1225
+
1226
+ &::-webkit-scrollbar-button {
1227
+ display: none !important;
1228
+ height: 0 !important;
1229
+ width: 0 !important;
1230
+ }
1231
+
1232
+ &.scrolling {
1233
+ scrollbar-width: thin;
1234
+ scrollbar-color: #d6d5d4 transparent;
1235
+ transition: scrollbar-color 0.3s ease;
1236
+ &::-webkit-scrollbar-thumb {
1237
+ background-color: #d6d5d4;
1238
+ }
1239
+ }
1240
+ }
1241
+ .mobile-bezel-flexContainer {
1242
+ display: flex;
1243
+ flex-direction: row-reverse;
1244
+ .mobile-bezel-zoom-container {
1245
+ display: none;
1246
+ height: fit-content;
1247
+ gap: 0.5rem;
1248
+ flex-direction: column-reverse;
1249
+ background-color: #ffffff;
1250
+ border-radius: 0.5rem;
1251
+ border: 1px solid #d6d5d4;
1252
+ .item {
1253
+ padding: 0.5rem;
1254
+ border: none;
1255
+ background-color: unset;
1256
+ }
1257
+ .zoom-button {
1258
+ }
1259
+ .zoom-span {
1260
+ border-top: 1px solid #d6d5d4;
1261
+ border-bottom: 1px solid #d6d5d4;
1262
+ color: #787878;
1263
+ font-size: 14px;
1264
+ }
1265
+ }
1266
+ }
1267
+
1268
+ .info-text {
1269
+ color: theme(digitv2.lightTheme.text-color-secondary);
1270
+ }
1271
+
1272
+ .appConfig-flex-action {
1273
+ display: flex;
1274
+ align-items: center;
1275
+ position: absolute;
1276
+ bottom: 5rem;
1277
+ left: 37rem;
1278
+ gap: 1rem;
1279
+ .app-configure-action-button {
1280
+ margin-bottom: unset;
1281
+ width: 9rem;
1282
+ min-width: fit-content;
1283
+ height: 2.5rem;
1284
+ padding: 0.2rem;
1285
+ }
1286
+ }
1287
+ .app-config-tag-page {
1288
+ color: #0b4b66;
1289
+ font-weight: 700;
1290
+ }
1291
+ .zoom-content {
1292
+ height: 100%;
1293
+ }
1294
+
1295
+ .onhover-tooltip-text {
1296
+ visibility: hidden;
1297
+ opacity: 0;
1298
+ position: absolute;
1299
+ top: 100%; /* shows tooltip below the element */
1300
+ left: 50%;
1301
+ transform: translateX(-50%);
1302
+ background-color: #333;
1303
+ color: #fff;
1304
+ padding: 6px 10px;
1305
+ border-radius: 4px;
1306
+ white-space: nowrap;
1307
+ transition: opacity 0.2s ease;
1308
+ z-index: 100;
1309
+ }
1310
+
1311
+ .drawer-container-tooltip:hover .onhover-tooltip-text {
1312
+ visibility: visible;
1313
+ opacity: 1;
1314
+ }
@@ -41,6 +41,38 @@
41
41
  align-items: flex-end !important;
42
42
  }
43
43
 
44
+ .bottom-right-map-subcomponents{
45
+ position: absolute;
46
+ top: 80%;
47
+ right: 1rem;
48
+ z-index: 550;
49
+ gap:1.5rem;
50
+ display: flex;
51
+ align-items: flex-end !important;
52
+
53
+ .map-view-element-wrapper{
54
+ display: flex;
55
+ width: fit-content;
56
+ gap: 0.5rem;
57
+ align-items: center;
58
+ background-color: #FFFFFF;
59
+ padding: 0.5rem;
60
+
61
+ .map-view-element-label{
62
+ color: #363636;
63
+ font-family: theme(digitv2.fontFamily.sans);
64
+ font-style: theme(digitv2.fontStyle.normal);
65
+ font-weight: theme(digitv2.fontWeight.regular);
66
+ font-size: theme(digitv2.fontSize.body-s.mobile);
67
+ }
68
+
69
+ .map-view-element-icon{
70
+ width: 1.688rem;
71
+ height: 2.438rem;
72
+ }
73
+ }
74
+ }
75
+
44
76
  .bottom-left-map-subcomponents {
45
77
  position: absolute;
46
78
  bottom: 1.5rem;
@@ -95,6 +127,10 @@
95
127
  margin: 0;
96
128
  padding: 0;
97
129
  color: theme(digitv2.lightTheme.paper);
130
+
131
+ &.microplan{
132
+ color: theme(digitv2.lightTheme.primary);
133
+ }
98
134
  }
99
135
 
100
136
  .layer-icon {