Skip to content

Commit d477258

Browse files
committed
fix:fixed lint errors
1 parent 1ea3602 commit d477258

9 files changed

Lines changed: 181 additions & 172 deletions

File tree

src/components/BMDashboard/ItemList/ItemListView.module.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949

5050
:global(.dark-mode) .items_list_container {
5151
background-color: #0d1117 !important;
52-
color: #ffffff !important;
52+
color: #fff !important;
5353
min-height: 100vh;
5454
padding-bottom: 2rem;
5555
}
@@ -60,49 +60,49 @@
6060

6161
:global(.dark-mode) .items_list_container table {
6262
background-color: #161b22;
63-
color: #ffffff;
63+
color: #fff;
6464
border: 1px solid #30363d;
6565
}
6666

6767
:global(.dark-mode) .items_list_container th {
6868
background-color: #1f2937;
69-
color: #ffffff;
69+
color: #fff;
7070
border-bottom: 1px solid #30363d;
7171
}
7272

7373
:global(.dark-mode) .items_list_container td {
7474
border-bottom: 1px solid #30363d;
75-
color: #ffffff;
75+
color: #fff;
7676
}
7777

7878
:global(.dark-mode) .items_list_container tr:hover {
7979
background-color: #1f2a37;
8080
}
8181

8282
:global(.dark-mode) .items_cell svg {
83-
color: #ffffff;
83+
color: #fff;
8484
}
8585

8686
:global(.dark-mode) .items_cell svg:hover {
87-
color: #ffffff;
87+
color: #fff;
8888
}
8989

9090
:global(.dark-mode) .select_input {
9191
background-color: #1e2632;
92-
color: #ffffff;
92+
color: #fff;
9393
border: 1px solid #30363d;
9494
}
9595

9696
:global(.dark-mode) select,
9797
:global(.dark-mode) input {
9898
background-color: #1e2632;
99-
color: #ffffff;
99+
color: #fff;
100100
border: 1px solid #30363d;
101101
}
102102

103103
:global(.dark-mode) option {
104104
background-color: #111827;
105-
color: #ffffff;
105+
color: #fff;
106106
}
107107

108108
:global(.dark-mode) body,
@@ -113,13 +113,13 @@
113113

114114
.items_list_container.dark_mode {
115115
background-color: #1b1f27 !important;
116-
color: #ffffff !important;
116+
color: #fff !important;
117117
border-color: #2a2f3a !important;
118118
}
119119

120120
.dark-mode .items_table_container .table thead th {
121121
background-color: #1c2541 !important;
122-
color: #ffffff !important;
122+
color: #fff !important;
123123
border-color: #555 !important;
124124
}
125125

src/components/BMDashboard/ItemList/RecordsModal.module.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
:global(.dark-mode) .records_modal_table_container,
1111
:global(.dark-mode) .recordsModalTableContainer {
1212
background-color: #3a506b;
13-
color: #ffffff;
13+
color: #fff;
1414
}
1515

1616
:global(.dark-mode) .records_modal_table_container a,
@@ -27,24 +27,24 @@
2727
:global(.dark-mode) .records_modal_table_container thead tr th,
2828
:global(.dark-mode) .recordsModalTableContainer thead tr th {
2929
background-color: #1c2541 !important;
30-
color: #ffffff !important;
30+
color: #fff !important;
3131
border-color: #3a506b !important;
3232
}
3333

3434
:global(.dark-mode) .records_modal_table_container tbody tr td,
3535
:global(.dark-mode) .recordsModalTableContainer tbody tr td {
3636
background-color: #3a506b !important;
37-
color: #ffffff !important;
37+
color: #fff !important;
3838
border-color: #1c2541 !important;
3939
}
4040

4141
:global(.dark-mode) .records_modal_table_container tbody tr:hover td,
4242
:global(.dark-mode) .recordsModalTableContainer tbody tr:hover td {
4343
background-color: #1c2541 !important;
44-
color: #ffffff !important;
44+
color: #fff !important;
4545
}
4646

47-
@media (min-width: 1200px) {
47+
@media (width >= 1200px) {
4848
.records_modal_table_container,
4949
.recordsModalTableContainer {
5050
font-size: medium;
@@ -88,7 +88,7 @@
8888
:global(.dark-mode) .reject_button,
8989
:global(.dark-mode) .rejectButton {
9090
background-color: #1c2541;
91-
color: #ffffff;
91+
color: #fff;
9292
border: 1px solid #3a506b;
9393
}
9494

src/components/BMDashboard/RentalChart/ReturnedLateChart.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,15 @@
161161
background-color: #2a3f5f;
162162
border: 1px solid #555;
163163
}
164+
164165
.background-red {
165166
background-color: #ff4d4f;
166167
}
167168

168169
:global(.dark.rmsc ) {
169170
--rmsc-border: none;
170171
--rmsc-bg: none;
172+
171173
border:transparent;
172174
}
173175

@@ -186,6 +188,7 @@
186188
:global(.dark.rmsc .select-item.selected) {
187189
background-color: #253246;
188190
}
191+
189192
:global(.rmsc.dark .options) {
190193
background-color: #2a3f5f;
191194
color: #fff;
@@ -196,6 +199,7 @@
196199
background-color: #2a3f5f;
197200
color: #fff;
198201
}
202+
199203
:global(.rmsc.dark .search input:focus) {
200204
background-color: #223653;
201205
}

src/components/BMDashboard/UpdateMaterials/UpdateMaterial.module.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
background-color: #E8F4F9;
88
width: 100%;
99
height: auto;
10-
margin: 0px;
10+
margin: 0;
1111
padding: 1rem 2rem;
1212
font-size: 15px;
1313
}
@@ -102,13 +102,13 @@
102102
/* Page background */
103103
:global(.dark-mode) .updateMaterialPage {
104104
background-color: #3A506B; /* Yinmn Blue */
105-
color: #ffffff;
105+
color: #fff;
106106
}
107107

108108
/* Card container */
109109
:global(.dark-mode) .updateMaterial {
110110
background-color: #1B2A41; /* Muted Oxford Blue */
111-
color: #ffffff;
111+
color: #fff;
112112
border: 1px solid #2a2f3a;
113113
}
114114

@@ -119,32 +119,32 @@
119119

120120
/* Values */
121121
:global(.dark-mode) .materialFormValue {
122-
color: #ffffff;
122+
color: #fff;
123123
}
124124

125125
/* Buttons */
126126
:global(.dark-mode) .materialButtonOutline {
127-
color: #ffffff !important;
128-
border-color: #ffffff !important;
127+
color: #fff !important;
128+
border-color: #fff !important;
129129
}
130130

131131
:global(.dark-mode) .materialButtonOutline:hover {
132132
background-color: #1C2541 !important; /* Space Cadet */
133-
color: #ffffff !important;
133+
color: #fff !important;
134134
}
135135

136136
:global(.dark-mode) .materialButtonBg {
137137
background-color: #1C2541 !important; /* Space Cadet */
138-
color: #ffffff !important;
138+
color: #fff !important;
139139
}
140140

141141
:global(.dark-mode) .materialButtonBg:hover {
142142
background-color: #3A506B !important; /* Yinmn Blue */
143-
color: #ffffff !important;
143+
color: #fff !important;
144144
}
145145

146146
/* Modal container */
147147
:global(.dark-mode) .updateModalContainer {
148148
background-color: #1B2A41; /* Muted Oxford Blue */
149-
color: #ffffff;
149+
color: #fff;
150150
}

src/components/CommunityPortal/Activities/ActivityList.module.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,15 @@
145145
border-radius: 0;
146146
}
147147

148+
.activityItem strong {
149+
color: #1e3a8a;
150+
font-size: 1.2rem;
151+
}
152+
153+
.darkModeItem strong {
154+
color: #5c9ce6 !important;
155+
}
156+
148157
.activityList.darkActivityList li strong {
149158
color: #00f3ff;
150159
font-size: 1.2rem;
@@ -160,15 +169,6 @@
160169
box-shadow: none !important;
161170
}
162171

163-
.activityItem strong {
164-
color: #1e3a8a;
165-
font-size: 1.2rem;
166-
}
167-
168-
.darkModeItem strong {
169-
color: #5c9ce6 !important;
170-
}
171-
172172
.activityItem span {
173173
color: #4b5563;
174174
}
@@ -288,11 +288,6 @@
288288
accent-color: #3b82f6;
289289
}
290290

291-
.showPastToggle input[type="checkbox"]:focus-visible {
292-
outline: none;
293-
border-radius: 4px;
294-
}
295-
296291
.darkShowPastToggle {
297292
color: #f1f5f9;
298293
}
@@ -301,6 +296,11 @@
301296
accent-color: #60a5fa;
302297
}
303298

299+
.showPastToggle input[type="checkbox"]:focus-visible {
300+
outline: none;
301+
border-radius: 4px;
302+
}
303+
304304
/* Responsive */
305305
@media (width <= 768px) {
306306
.filters {

0 commit comments

Comments
 (0)