Skip to content

Commit 21af6f4

Browse files
Fix: css module lint issues
1 parent 9b66858 commit 21af6f4

1 file changed

Lines changed: 30 additions & 38 deletions

File tree

src/components/ResourceManagement/ResourceManagement.module.css

Lines changed: 30 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
.resourceManagementDashboard {
33
padding: 20px;
44
min-height: 100vh;
5-
background-color: #ffffff;
5+
background-color: #fff;
66
color: #333;
77
transition: background-color 0.3s ease;
88
}
99

1010
.darkModeResourceManagementDashboard {
1111
background-color: #1b2a41;
12-
color: #ffffff;
12+
color: #fff;
1313
}
1414

1515
/* --- Header Section --- */
@@ -34,7 +34,7 @@
3434

3535
.addLogButton {
3636
background-color: #0056b3;
37-
color: #ffffff;
37+
color: #fff;
3838
border: none;
3939
border-radius: 6px;
4040
padding: 10px 24px;
@@ -55,15 +55,7 @@
5555
background-color: #4b7bec;
5656
}
5757

58-
<<<<<<< HEAD
5958
/* --- Search Bar --- */
60-
=======
61-
.inputError {
62-
border: 1px solid #ff4d4f !important;
63-
}
64-
65-
/* ---------- Search Bar ---------- */
66-
>>>>>>> 45f6ac1ca (Fix: added validation to Add New Log modal and included Date field)
6759
.searchBarContainer {
6860
display: flex;
6961
justify-content: space-between;
@@ -113,7 +105,7 @@
113105
border-radius: 4px;
114106
width: 250px;
115107
outline: none;
116-
background-color: #ffffff;
108+
background-color: #fff;
117109
color: #333;
118110
}
119111

@@ -124,12 +116,12 @@
124116
.darkModeSearchBarContainer .searchInput {
125117
background-color: #1b2a41;
126118
border-color: #444;
127-
color: #ffffff;
119+
color: #fff;
128120
}
129121

130122
/* --- Table & Column Alignment --- */
131123
.resourceList {
132-
background-color: #ffffff;
124+
background-color: #fff;
133125
border: 1px solid #dee2e6;
134126
border-radius: 8px;
135127
overflow: hidden;
@@ -271,7 +263,7 @@
271263
display: flex;
272264
align-items: center;
273265
justify-content: center;
274-
background-color: #ffffff;
266+
background-color: #fff;
275267
border: 1px solid #dee2e6;
276268
border-radius: 4px;
277269
cursor: pointer;
@@ -286,6 +278,14 @@
286278
cursor: not-allowed;
287279
}
288280

281+
.darkModePaginationContainer .paginationButtonIndexes,
282+
.darkModePaginationContainer .paginationLeft,
283+
.darkModePaginationContainer .paginationRight {
284+
background-color: #172f53;
285+
border-color: #2d4a77;
286+
color: #fff;
287+
}
288+
289289
.paginationButtonIndexes:hover:not(:disabled),
290290
.paginationLeft:hover:not(:disabled),
291291
.paginationRight:hover:not(:disabled) {
@@ -297,21 +297,13 @@
297297
padding: 6px 12px;
298298
border-radius: 4px;
299299
background-color: #007bff;
300-
color: #ffffff;
301-
}
302-
303-
.darkModePaginationContainer .paginationButtonIndexes,
304-
.darkModePaginationContainer .paginationLeft,
305-
.darkModePaginationContainer .paginationRight {
306-
background-color: #172f53;
307-
border-color: #2d4a77;
308-
color: #ffffff;
300+
color: #fff;
309301
}
310302

311303
.darkModePaginationContainer .activePage {
312304
background-color: #2196f3 !important;
313305
border-color: #2196f3 !important;
314-
color: #ffffff;
306+
color: #fff;
315307
}
316308

317309
/* --- Modal --- */
@@ -323,23 +315,23 @@
323315
display: flex;
324316
align-items: center;
325317
justify-content: center;
326-
animation: scaleIn 0.25s ease-in-out;
318+
animation: scale-in 0.25s ease-in-out;
327319
z-index: 1000;
328320
}
329321

330322
.modalContent {
331-
background-color: #ffffff;
323+
background-color: #fff;
332324
border-radius: 12px;
333325
padding: 28px 24px;
334326
width: 420px;
335327
box-shadow: 0 8px 24px rgb(0 0 0 / 25%);
336-
animation: scaleIn 0.25s ease-in-out;
328+
animation: scale-in 0.25s ease-in-out;
337329
transform-origin: top center;
338330
}
339331

340332
.modalContentDark {
341333
background-color: #172f53;
342-
color: #ffffff;
334+
color: #fff;
343335
border: 1px solid #2d4a77;
344336
box-shadow: 0 8px 28px rgb(0 0 0 / 40%);
345337
}
@@ -374,7 +366,7 @@
374366
border-radius: 4px;
375367
font-size: 1rem;
376368
box-sizing: border-box;
377-
background-color: #ffffff;
369+
background-color: #fff;
378370
color: #333;
379371
}
380372

@@ -386,7 +378,7 @@
386378

387379
.modalContentDark .formGroup input {
388380
background-color: #1b2a41;
389-
color: #ffffff;
381+
color: #fff;
390382
border: 1px solid #667b9c;
391383
}
392384

@@ -434,7 +426,7 @@
434426

435427
.submitButton {
436428
background-color: #4caf50;
437-
color: #ffffff;
429+
color: #fff;
438430
}
439431

440432
.submitButton:hover {
@@ -452,15 +444,15 @@
452444

453445
.modalContentDark .submitButton {
454446
background-color: #4caf50;
455-
color: #ffffff;
447+
color: #fff;
456448
}
457449

458450
/* --- Toast Notification --- */
459451
.toast {
460452
position: fixed;
461453
bottom: 25px;
462454
right: 25px;
463-
background-color: #ffffff;
455+
background-color: #fff;
464456
color: #333;
465457
border: 1px solid #ddd;
466458
border-radius: 8px;
@@ -469,13 +461,13 @@
469461
align-items: center;
470462
gap: 10px;
471463
box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
472-
animation: fadeIn 0.3s ease-in;
464+
animation: fade-in 0.3s ease-in;
473465
z-index: 1100;
474466
}
475467

476468
.toastDark {
477469
background-color: #172f53;
478-
color: #ffffff;
470+
color: #fff;
479471
border: 1px solid #2d4a77;
480472
}
481473

@@ -499,7 +491,7 @@
499491
}
500492

501493
/* --- Animations --- */
502-
@keyframes fadeIn {
494+
@keyframes fade-in {
503495
from {
504496
opacity: 0;
505497
}
@@ -509,7 +501,7 @@
509501
}
510502
}
511503

512-
@keyframes scaleIn {
504+
@keyframes scale-in {
513505
from {
514506
transform: scale(0.96);
515507
opacity: 0;

0 commit comments

Comments
 (0)