@pmidc/upyog-css 1.1.10 → 1.1.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.
@@ -159,10 +159,7 @@
159
159
  }
160
160
 
161
161
  .bpa-newbuilding-bpa-section {
162
- background-color: #ffffff;
163
- border-radius: 8px;
164
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
165
- padding-bottom: 50px;
162
+
166
163
  }
167
164
  .bpa-newbuilding-label-field-pair {
168
165
  display: flex;
@@ -212,116 +209,170 @@
212
209
  }
213
210
 
214
211
  .bpa-owner-error-message {
215
- color: red;
212
+ color: #dc2626;
216
213
  font-size: 12px;
217
- margin-top: 4px;
214
+ margin-top: 6px;
215
+ font-weight: 500;
218
216
  }
217
+
219
218
  .bpa-owner-delete-icon {
220
219
  position: relative;
221
- bottom: 5px;
220
+ bottom: 0;
222
221
  }
222
+
223
223
  .bpa-owner-link-delete-button {
224
- width: 50px;
224
+ width: 40px;
225
+ height: 40px;
225
226
  display: inline-flex;
226
227
  justify-content: center;
227
228
  align-items: center;
228
- background: black;
229
+ background: #fee2e2;
230
+ border-radius: 8px;
229
231
  float: right;
232
+ margin-top: -10px;
233
+ transition: all 0.2s ease;
234
+
235
+ &:hover {
236
+ background: #fecaca;
237
+ }
230
238
  }
231
- .bpa-owner-owner-card {
232
- border: 1px solid;
233
- border-radius: 5px;
234
- padding: 10px;
235
- padding-top: 20px;
236
- margin-top: 10px;
237
- border-color: #f3f3f3;
238
- background: #fafafa;
239
- }
239
+
240
+
241
+
240
242
  .bpa-owner-cardlabel-negative-margin {
241
- margin-bottom: -15px;
243
+ margin-bottom: 8px;
242
244
  }
245
+
243
246
  .bpa-owner-mobile-row {
244
- margin-top: 30px;
247
+ margin-top: 8px;
248
+ margin-bottom: 16px;
245
249
  }
246
- .bpa-owner-country-prefix {
247
- margin-bottom: 24px;
248
- padding: 3px 2px;
249
- border: 1px solid #b4b4b4;
250
- border-radius: 8px 0 0 8px;
251
- display: inline-block;
252
- }
253
- .bpa-owner-phone-input {
254
- background: #fafafa;
255
- padding: 0 4px;
256
- border-radius: 0 8px 8px 0;
257
- width: 96%;
250
+
251
+ .bpa-owner-field-container {
252
+ position: relative;
253
+ width: 100%;
254
+ max-width: 400px;
255
+
256
+ .field-container {
257
+ margin-bottom: 0;
258
+ }
259
+
260
+ .text-input input {
261
+ padding-right: 44px !important;
262
+ }
258
263
  }
264
+
259
265
  .bpa-owner-search-icon-container {
260
- position: relative;
261
- z-index: 100;
262
- right: 44px;
263
- margin-top: -24px;
264
- margin-right: -20px;
266
+ position: absolute;
267
+ right: 12px;
268
+ top: 36%;
269
+ transform: translateY(-50%);
270
+ display: flex;
271
+ align-items: center;
272
+ justify-content: center;
265
273
  cursor: pointer;
274
+ z-index: 2;
275
+
276
+ svg {
277
+ width: 20px;
278
+ height: 20px;
279
+ fill: #2563eb;
280
+ }
281
+
282
+ &:hover svg {
283
+ fill: #1e40af;
284
+ }
266
285
  }
286
+
267
287
  .bpa-owner-cardlabel-margin-top {
268
- margin-top: 30px;
288
+ margin-top: 20px;
269
289
  }
290
+
270
291
  .bpa-owner-upload-row {
271
292
  display: flex;
272
- gap: 15px;
293
+ gap: 16px;
273
294
  flex-direction: row;
295
+ align-items: flex-start;
274
296
  }
297
+
275
298
  @media (max-width: 768px) {
276
- .upload-row {
299
+ .bpa-owner-upload-row {
277
300
  flex-direction: column;
278
301
  }
302
+
303
+ .bpa-owner-field-container {
304
+ max-width: 100%;
305
+ }
279
306
  }
307
+
280
308
  .bpa-owner-input-bg-fa {
281
309
  background: #fafafa;
310
+ border-radius: 8px;
282
311
  }
312
+
283
313
  .bpa-owner-owner-textarea {
284
314
  background: #fafafa;
285
315
  width: 100%;
286
316
  min-height: 80px;
287
- padding: 8px;
288
- border: 1px solid #ccc;
289
- border-radius: 4px;
317
+ padding: 12px;
318
+ border: 1px solid #d1d5db;
319
+ border-radius: 8px;
290
320
  resize: vertical;
321
+ font-size: 14px;
322
+
323
+ &:focus {
324
+ outline: none;
325
+ border-color: #2563eb;
326
+ box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
327
+ }
291
328
  }
329
+
292
330
  .bpa-owner-checkbox-top {
293
- padding-top: 10px;
331
+ padding-top: 16px;
294
332
  }
333
+
295
334
  .bpa-owner-add-owner-row {
296
335
  display: flex;
297
- padding-bottom: 15px;
298
- color: #ff8c00;
336
+ padding: 16px 0;
299
337
  }
338
+
300
339
  .bpa-owner-add-owner-button {
301
- padding-top: 10px;
340
+ padding: 10px 20px;
302
341
  background: transparent;
303
- border: none;
304
- color: inherit;
342
+ border: 2px dashed #2563eb;
343
+ border-radius: 8px;
344
+ color: #2563eb;
345
+ font-weight: 600;
346
+ font-size: 14px;
347
+ cursor: pointer;
348
+ transition: all 0.2s ease;
349
+
350
+ &:hover {
351
+ background: rgba(37, 99, 235, 0.05);
352
+ border-style: solid;
353
+ }
305
354
  }
355
+
306
356
  .bpa-owner-submit-back {
307
- border: 1px solid;
308
- background: transparent;
309
- color: #2947a3;
310
- margin-right: 5px;
357
+ margin-right: 12px;
311
358
  }
359
+
312
360
  .bpa-owner-label-field-pair {
313
361
  display: flex;
314
362
  justify-content: space-between;
315
- border-bottom: 1px dashed #e0e0e0;
316
- padding: 0.5rem 0;
317
- color: #333;
363
+ border-bottom: 1px dashed #e5e7eb;
364
+ padding: 12px 0;
365
+ color: #374151;
318
366
  }
367
+
319
368
  .bpa-owner-bold-label {
320
- font-weight: 700;
321
- color: #555;
369
+ font-weight: 600;
370
+ color: #4b5563;
322
371
  }
372
+
323
373
  .bpa-owner-newbuilding-error-message {
324
- color: red;
325
- margin-top: 4px;
326
- font-size: 0.9rem;
374
+ color: #dc2626;
375
+ margin-top: 6px;
376
+ font-size: 12px;
377
+ font-weight: 500;
327
378
  }
@@ -1,18 +1,20 @@
1
1
  /* Main Container - Full height viewport */
2
2
  .login-page-cover {
3
3
  width: 100%;
4
- height: 90vh;
5
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
4
+ min-height: calc(100vh - 56px); /* Subtract TopBar height */
5
+
6
6
  display: flex;
7
7
  align-items: center;
8
8
  justify-content: center;
9
+
10
+ box-sizing: border-box;
9
11
  /* Removed overflow: hidden to prevent scrolling issues */
10
12
  }
11
13
 
12
14
  /* Container - Full height split layout */
13
15
  .login-container {
14
16
  width: 100%;
15
- height: 100vh;
17
+ min-height: calc(100vh - 56px); /* Subtract TopBar height */
16
18
  max-width: 100%;
17
19
  display: flex;
18
20
  background-color: #ffffff;
@@ -141,21 +143,6 @@
141
143
  border-radius: 4px;
142
144
  position: relative;
143
145
  }
144
- .register-login-wrapper {
145
- display: flex;
146
- flex-direction: column;
147
- justify-content: center;
148
- align-items: flex-start;
149
- background-color: rgba(255, 255, 255, 1);
150
- margin: 8px;
151
- padding: 2rem;
152
- box-shadow: 0 0 5px 0 rgba(34, 34, 34, 0.43922);
153
- border-radius: 4px;
154
- width: 35%;
155
- max-width: 100vw;
156
- height: 900px;
157
- position: relative;
158
- }
159
146
 
160
147
  .login-title {
161
148
  font-size: 2rem;
@@ -187,7 +174,6 @@
187
174
  .language-wrapper,
188
175
  .location-wrapper,
189
176
  .input-wrapper {
190
- margin-bottom: 24px;
191
177
  width: 100%;
192
178
  }
193
179
 
@@ -270,6 +256,20 @@
270
256
  padding: 40px;
271
257
  border-radius: 12px;
272
258
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
259
+ max-height: calc(100vh - 100px);
260
+ overflow-y: auto;
261
+ }
262
+
263
+ /* Right Panel - Login Form with scrollable content */
264
+ .login-form-panel {
265
+ flex: 1;
266
+ display: flex;
267
+ align-items: center;
268
+ justify-content: center;
269
+ background-color: #f5f5f5;
270
+ overflow-y: auto;
271
+ padding: 20px;
272
+ min-height: calc(100vh - 56px);
273
273
  }
274
274
 
275
275
  /* Responsive Design - Hide left panel on tablets and mobile */
@@ -322,11 +322,6 @@
322
322
  margin-bottom: 24px;
323
323
  }
324
324
 
325
- .language-wrapper,
326
- .location-wrapper,
327
- .input-wrapper {
328
- margin-bottom: 20px;
329
- }
330
325
 
331
326
  .label,
332
327
  .account-link {
@@ -1,6 +1,12 @@
1
+ /* ============================================
2
+ SPACESHIP LOADER - Centered & Responsive
3
+ ============================================ */
4
+
1
5
  .loader-message {
2
6
  overflow: hidden;
3
- position: relative;
7
+ position: fixed;
8
+ top: 0;
9
+ left: 0;
4
10
  height: 100vh;
5
11
  width: 100vw;
6
12
  display: flex;
@@ -10,16 +16,16 @@
10
16
  font-weight: 600;
11
17
  font-size: 14px;
12
18
  color: #000;
19
+ background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 50%, #dbeafe 100%);
20
+ z-index: 9999;
13
21
  }
14
22
 
15
23
  .loader-message .body {
16
- position: absolute;
17
- left: 44%;
18
- top: 50%;
24
+ position: relative;
19
25
  animation: speeder .4s linear infinite;
20
26
  }
21
27
 
22
- .loader-message .body>span {
28
+ .loader-message .body > span {
23
29
  height: 5px;
24
30
  width: 35px;
25
31
  background: #0d43a7;
@@ -34,7 +40,7 @@
34
40
  width: 0;
35
41
  height: 0;
36
42
  border-top: 6px solid transparent;
37
- border-right: 100px solid #000;
43
+ border-right: 100px solid #1e3a5f;
38
44
  border-bottom: 6px solid transparent;
39
45
  }
40
46
 
@@ -55,7 +61,7 @@
55
61
  width: 0;
56
62
  height: 0;
57
63
  border-top: 0 solid transparent;
58
- border-right: 55px solid #000;
64
+ border-right: 55px solid #1e3a5f;
59
65
  border-bottom: 16px solid transparent;
60
66
  top: -16px;
61
67
  right: -98px;
@@ -85,30 +91,30 @@
85
91
  border-radius: 0 0 0 2px;
86
92
  }
87
93
 
88
- .loader-message .body>span>span {
94
+ .loader-message .body > span > span {
89
95
  width: 30px;
90
96
  height: 1px;
91
97
  background: #0d43a7;
92
98
  position: absolute;
93
99
  }
94
100
 
95
- .loader-message .body>span>span:nth-child(1) {
101
+ .loader-message .body > span > span:nth-child(1) {
96
102
  top: 0;
97
103
  animation: fazer1 .2s linear infinite;
98
104
  }
99
105
 
100
- .loader-message .body>span>span:nth-child(2) {
106
+ .loader-message .body > span > span:nth-child(2) {
101
107
  top: 3px;
102
108
  animation: fazer2 .4s linear infinite;
103
109
  }
104
110
 
105
- .loader-message .body>span>span:nth-child(3) {
111
+ .loader-message .body > span > span:nth-child(3) {
106
112
  top: 1px;
107
113
  animation: fazer3 .4s linear infinite;
108
114
  animation-delay: -1s;
109
115
  }
110
116
 
111
- .loader-message .body>span>span:nth-child(4) {
117
+ .loader-message .body > span > span:nth-child(4) {
112
118
  top: 4px;
113
119
  animation: fazer4 1s linear infinite;
114
120
  animation-delay: -1s;
@@ -118,7 +124,6 @@
118
124
  0% {
119
125
  left: 0;
120
126
  }
121
-
122
127
  100% {
123
128
  left: -80px;
124
129
  opacity: 0;
@@ -129,7 +134,6 @@
129
134
  0% {
130
135
  left: 0;
131
136
  }
132
-
133
137
  100% {
134
138
  left: -100px;
135
139
  opacity: 0;
@@ -140,7 +144,6 @@
140
144
  0% {
141
145
  left: 0;
142
146
  }
143
-
144
147
  100% {
145
148
  left: -50px;
146
149
  opacity: 0;
@@ -151,7 +154,6 @@
151
154
  0% {
152
155
  left: 0;
153
156
  }
154
-
155
157
  100% {
156
158
  left: -150px;
157
159
  opacity: 0;
@@ -162,43 +164,33 @@
162
164
  0% {
163
165
  transform: translate(2px, 1px) rotate(0deg);
164
166
  }
165
-
166
167
  10% {
167
168
  transform: translate(-1px, -3px) rotate(-1deg);
168
169
  }
169
-
170
170
  20% {
171
171
  transform: translate(-2px, 0px) rotate(1deg);
172
172
  }
173
-
174
173
  30% {
175
174
  transform: translate(1px, 2px) rotate(0deg);
176
175
  }
177
-
178
176
  40% {
179
177
  transform: translate(1px, -1px) rotate(1deg);
180
178
  }
181
-
182
179
  50% {
183
180
  transform: translate(-1px, 3px) rotate(-1deg);
184
181
  }
185
-
186
182
  60% {
187
183
  transform: translate(-1px, 1px) rotate(0deg);
188
184
  }
189
-
190
185
  70% {
191
186
  transform: translate(3px, 1px) rotate(-1deg);
192
187
  }
193
-
194
188
  80% {
195
189
  transform: translate(-2px, -1px) rotate(1deg);
196
190
  }
197
-
198
191
  90% {
199
192
  transform: translate(2px, 1px) rotate(0deg);
200
193
  }
201
-
202
194
  100% {
203
195
  transform: translate(1px, -2px) rotate(-1deg);
204
196
  }
@@ -208,13 +200,16 @@
208
200
  position: absolute;
209
201
  width: 100%;
210
202
  height: 100%;
203
+ top: 0;
204
+ left: 0;
205
+ pointer-events: none;
211
206
  }
212
207
 
213
208
  .loader-message .longfazers span {
214
209
  position: absolute;
215
210
  height: 2px;
216
211
  width: 20%;
217
- background: #0d43a7;
212
+ background: linear-gradient(90deg, transparent, #0d43a7, transparent);
218
213
  }
219
214
 
220
215
  .loader-message .longfazers span:nth-child(1) {
@@ -242,20 +237,23 @@
242
237
 
243
238
  .loader-message .message {
244
239
  position: absolute;
245
- font-family: 'Open Sans', sans-serif;
240
+ font-family: 'Roboto', 'Open Sans', sans-serif;
246
241
  font-weight: 600;
247
- font-size: 12px;
242
+ font-size: 16px;
248
243
  text-transform: uppercase;
249
- left: 44%;
250
- top: 58%;
251
- margin-left: -20px;
244
+ letter-spacing: 2px;
245
+ bottom: 35%;
246
+ left: 50%;
247
+ transform: translateX(-50%);
248
+ color: #0d43a7;
249
+ text-align: center;
250
+ white-space: nowrap;
252
251
  }
253
252
 
254
253
  @keyframes lf {
255
254
  0% {
256
255
  left: 200%;
257
256
  }
258
-
259
257
  100% {
260
258
  left: -200%;
261
259
  opacity: 0;
@@ -266,7 +264,6 @@
266
264
  0% {
267
265
  left: 200%;
268
266
  }
269
-
270
267
  100% {
271
268
  left: -200%;
272
269
  opacity: 0;
@@ -277,7 +274,6 @@
277
274
  0% {
278
275
  left: 200%;
279
276
  }
280
-
281
277
  100% {
282
278
  left: -100%;
283
279
  opacity: 0;
@@ -288,9 +284,59 @@
288
284
  0% {
289
285
  left: 200%;
290
286
  }
291
-
292
287
  100% {
293
288
  left: -100%;
294
289
  opacity: 0;
295
290
  }
291
+ }
292
+
293
+ /* ============================================
294
+ RESPONSIVE STYLES
295
+ ============================================ */
296
+
297
+ /* Tablet */
298
+ @media screen and (max-width: 768px) {
299
+ .loader-message .body {
300
+ transform: scale(0.85);
301
+ }
302
+
303
+ .loader-message .message {
304
+ font-size: 14px;
305
+ letter-spacing: 1.5px;
306
+ }
307
+
308
+ .loader-message .longfazers span {
309
+ height: 1.5px;
310
+ }
311
+ }
312
+
313
+ /* Mobile */
314
+ @media screen and (max-width: 480px) {
315
+ .loader-message .body {
316
+ transform: scale(0.7);
317
+ }
318
+
319
+ .loader-message .message {
320
+ font-size: 12px;
321
+ letter-spacing: 1px;
322
+ bottom: 38%;
323
+ }
324
+
325
+ .loader-message .longfazers span {
326
+ height: 1px;
327
+ width: 25%;
328
+ }
329
+ }
330
+
331
+ /* Small Mobile */
332
+ @media screen and (max-width: 320px) {
333
+ .loader-message .body {
334
+ transform: scale(0.6);
335
+ }
336
+
337
+ .loader-message .message {
338
+ font-size: 10px;
339
+ letter-spacing: 0.5px;
340
+ bottom: 40%;
341
+ }
296
342
  }
@@ -181,6 +181,7 @@
181
181
  padding-top: 82px;
182
182
  min-height: calc(100vh - 48px);
183
183
  display: flex !important;
184
+ justify-content: center;
184
185
  }
185
186
  }
186
187
  .citizen,
@@ -73,7 +73,8 @@
73
73
  /* Login Card */
74
74
  .employee-login-card {
75
75
  padding: 20px;
76
- width: 650px;
76
+ width: 100%;
77
+ max-width: 650px;
77
78
  overflow: visible;
78
79
  position: relative;
79
80
  z-index: 1;
@@ -3,6 +3,8 @@
3
3
  .card {
4
4
  .employee-card-input--front {
5
5
  background-color: white;
6
+ position: relative;
7
+ z-index: 0 !important;
6
8
  }
7
9
  input[name="mobileNumber"] {
8
10
  max-width: 490px;