@djb25/digit-ui-css 1.0.85 → 1.0.86

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.85",
3
+ "version": "1.0.86",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -6,7 +6,6 @@
6
6
  max-width: 100%;
7
7
  overflow-y: auto;
8
8
  flex: 1;
9
- padding: 20px;
10
9
 
11
10
  .filters-grid {
12
11
  display: grid;
package/src/index.scss CHANGED
@@ -187,7 +187,8 @@ h6 {
187
187
  }
188
188
 
189
189
  .check-page-link-button {
190
- color: #a82227 !important;
190
+ color: red !important;
191
+ font-size: 18px !important;
191
192
  }
192
193
 
193
194
  .pt-application-download-btn {
@@ -2,6 +2,7 @@
2
2
  @import "./EmployeeModuleCard.scss";
3
3
  @import "./ekycDashboard.scss";
4
4
  @import "./dashboard.scss";
5
+ @import "./ws-calculation.scss";
5
6
 
6
7
  /* TODO: convert using tailwind */
7
8
  .employee {
@@ -0,0 +1,209 @@
1
+ .ws-calc-details-wrapper {
2
+ margin-top: 32px; /* Added more space from the calculate button */
3
+ }
4
+
5
+ .ws-calc-detail-card {
6
+ margin-bottom: 24px;
7
+ }
8
+
9
+ .ws-calc-property-box {
10
+ border: 1px solid #d6d5d4;
11
+ border-radius: 4px;
12
+ padding: 16px;
13
+ background-color: #fff;
14
+ }
15
+
16
+ .ws-calc-detail-card-header {
17
+ display: flex;
18
+ align-items: center;
19
+ margin-bottom: 16px;
20
+ }
21
+
22
+ .ws-calc-detail-card-badge {
23
+ background-color: #e8efff;
24
+ color: #0b4b66;
25
+ padding: 4px 10px;
26
+ border-radius: 50%;
27
+ margin-right: 8px;
28
+ font-weight: bold;
29
+ }
30
+
31
+ .ws-calc-detail-card-title {
32
+ font-weight: bold;
33
+ font-size: 16px;
34
+ }
35
+
36
+ .ws-calc-grid-3 {
37
+ display: grid;
38
+ grid-template-columns: repeat(3, 1fr);
39
+ gap: 16px;
40
+ }
41
+
42
+ .ws-calc-grid-4 {
43
+ display: grid;
44
+ grid-template-columns: repeat(4, 1fr);
45
+ gap: 16px;
46
+ margin-bottom: 16px;
47
+ }
48
+
49
+ .ws-calc-label {
50
+ color: #505A5F;
51
+ font-size: 12px;
52
+ margin-bottom: 4px;
53
+ }
54
+
55
+ .ws-calc-value {
56
+ font-weight: bold;
57
+ font-size: 14px;
58
+ }
59
+
60
+ .ws-calc-pill {
61
+ font-weight: bold;
62
+ font-size: 14px;
63
+ background-color: #e8efff;
64
+ color: #0b4b66;
65
+ padding: 2px 8px;
66
+ border-radius: 4px;
67
+ display: inline-block;
68
+ }
69
+
70
+ .ws-calc-hr {
71
+ margin: 16px 0;
72
+ border-top: 1px solid #d6d5d4;
73
+ border-bottom: none;
74
+ border-left: none;
75
+ border-right: none;
76
+ }
77
+
78
+ .ws-calc-split-card {
79
+ display: flex;
80
+ border: 1px solid #d6d5d4;
81
+ border-radius: 4px;
82
+ }
83
+
84
+ .ws-calc-split-left {
85
+ flex: 1;
86
+ padding: 16px;
87
+ border-right: 1px solid #d6d5d4;
88
+ }
89
+
90
+ .ws-calc-split-right {
91
+ flex: 1;
92
+ padding: 16px;
93
+ display: flex;
94
+ flex-direction: column;
95
+ justify-content: center;
96
+ }
97
+
98
+ .ws-calc-row {
99
+ display: flex;
100
+ justify-content: space-between;
101
+ margin-bottom: 12px;
102
+ }
103
+
104
+ .ws-calc-row-last {
105
+ display: flex;
106
+ justify-content: space-between;
107
+ }
108
+
109
+ .ws-calc-row-label {
110
+ color: #505A5F;
111
+ font-size: 14px;
112
+ }
113
+
114
+ .ws-calc-row-value {
115
+ font-weight: bold;
116
+ font-size: 14px;
117
+ }
118
+
119
+ .ws-calc-row-value-right {
120
+ font-weight: bold;
121
+ font-size: 14px;
122
+ text-align: right;
123
+ max-width: 60%;
124
+ }
125
+
126
+ .ws-calc-row-value-red {
127
+ font-weight: bold;
128
+ font-size: 14px;
129
+ color: #d4351c;
130
+ }
131
+
132
+ .ws-calc-highlight-blue {
133
+ display: flex;
134
+ justify-content: space-between;
135
+ background-color: #e8efff;
136
+ padding: 12px;
137
+ border-radius: 4px;
138
+ }
139
+
140
+ .ws-calc-highlight-blue-label {
141
+ color: #0b4b66;
142
+ font-weight: bold;
143
+ font-size: 14px;
144
+ }
145
+
146
+ .ws-calc-highlight-blue-value {
147
+ color: #0b4b66;
148
+ font-weight: bold;
149
+ font-size: 16px;
150
+ }
151
+
152
+ .ws-calc-highlight-green {
153
+ display: flex;
154
+ justify-content: space-between;
155
+ background-color: #eaf5ea;
156
+ padding: 12px;
157
+ border-radius: 4px;
158
+ }
159
+
160
+ .ws-calc-highlight-green-label {
161
+ color: #00703c;
162
+ font-weight: bold;
163
+ font-size: 14px;
164
+ }
165
+
166
+ .ws-calc-highlight-green-value {
167
+ color: #00703c;
168
+ font-weight: bold;
169
+ font-size: 16px;
170
+ }
171
+
172
+ .ws-calc-highlight-purple {
173
+ flex: 1;
174
+ padding: 16px;
175
+ background-color: #f9eefc;
176
+ display: flex;
177
+ align-items: center;
178
+ justify-content: space-between;
179
+ }
180
+
181
+ .ws-calc-highlight-purple-label {
182
+ color: #6a0dad;
183
+ font-weight: bold;
184
+ font-size: 16px;
185
+ }
186
+
187
+ .ws-calc-highlight-purple-value {
188
+ color: #6a0dad;
189
+ font-weight: bold;
190
+ font-size: 20px;
191
+ }
192
+
193
+ /* Mobile Responsiveness */
194
+ @media (max-width: 768px) {
195
+ .ws-calc-grid-3,
196
+ .ws-calc-grid-4 {
197
+ grid-template-columns: 1fr;
198
+ gap: 12px;
199
+ }
200
+
201
+ .ws-calc-split-card {
202
+ flex-direction: column;
203
+ }
204
+
205
+ .ws-calc-split-left {
206
+ border-right: none;
207
+ border-bottom: 1px solid #d6d5d4;
208
+ }
209
+ }