|
| 1 | +/* public/index.css */ |
| 2 | + |
1 | 3 | #root { |
2 | 4 | background-color: #ffffff; |
3 | 5 | } |
@@ -179,3 +181,95 @@ body:not(.dark-mode) textarea { |
179 | 181 | transform: translateY(-4px); |
180 | 182 | opacity: 0.9; |
181 | 183 | } |
| 184 | + |
| 185 | + /* Allow the page content to scroll horizontally */ |
| 186 | + .container-fluid { |
| 187 | + overflow-x: auto; |
| 188 | + } |
| 189 | + |
| 190 | + /* Hide the horizontal scrollbar */ |
| 191 | + .container-fluid::-webkit-scrollbar { |
| 192 | + display: none; |
| 193 | + } |
| 194 | + |
| 195 | + /* Explicit targeting for all input types and selects */ |
| 196 | + body.dark-mode .form-control, |
| 197 | + body.bm-dashboard-dark .form-control, |
| 198 | + body.dark-mode select, |
| 199 | + body.bm-dashboard-dark select, |
| 200 | + body.dark-mode input[type="text"] { |
| 201 | + background-color: #1e293b !important; |
| 202 | + color: #ffffff !important; |
| 203 | + border: 1px solid #334155 !important; |
| 204 | + } |
| 205 | + |
| 206 | + /* Fix for the Project and Tool dropdown arrows and internal padding */ |
| 207 | + body.dark-mode select.form-control, |
| 208 | + body.bm-dashboard-dark select.form-control { |
| 209 | + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important; |
| 210 | + background-repeat: no-repeat !important; |
| 211 | + background-position: right 0.75rem center !important; |
| 212 | + background-size: 16px 12px !important; |
| 213 | + } |
| 214 | + |
| 215 | + body.dark-mode .form-control::placeholder { |
| 216 | + color: #94a3b8 !important; |
| 217 | + } |
| 218 | + |
| 219 | + body.dark-mode option, |
| 220 | + body.bm-dashboard-dark option { |
| 221 | + background-color: #1e293b !important; |
| 222 | + color: #ffffff !important; |
| 223 | + } |
| 224 | + |
| 225 | + body.dark-mode .modal-content, |
| 226 | + body.bm-dashboard-dark .modal-content { |
| 227 | + background-color: #1b2a41 !important; |
| 228 | + border: 1px solid #2e3d55 !important; |
| 229 | + color: #ffffff !important; |
| 230 | + } |
| 231 | + |
| 232 | + body.dark-mode .modal-header, |
| 233 | + body.dark-mode .modal-body, |
| 234 | + body.dark-mode .modal-footer, |
| 235 | + body.bm-dashboard-dark .modal-header, |
| 236 | + body.bm-dashboard-dark .modal-body, |
| 237 | + body.bm-dashboard-dark .modal-footer { |
| 238 | + background-color: #1b2a41 !important; |
| 239 | + color: #ffffff !important; |
| 240 | + border-color: #2e3d55 !important; |
| 241 | + } |
| 242 | + |
| 243 | + body.dark-mode .form-control, |
| 244 | + body.dark-mode select, |
| 245 | + body.dark-mode input { |
| 246 | + background-color: #1e293b !important; |
| 247 | + color: #ffffff !important; |
| 248 | + border: 1px solid #334155 !important; |
| 249 | + } |
| 250 | + |
| 251 | + body.dark-mode select.form-control { |
| 252 | + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important; |
| 253 | + } |
| 254 | + |
| 255 | + body.dark-mode .modal-header, |
| 256 | + body.bm-dashboard-dark .modal-header { |
| 257 | + background-color: #24344d !important; |
| 258 | + border-bottom: 1px solid #334155 !important; |
| 259 | + color: #ffffff !important; |
| 260 | + padding: 1rem 1.5rem; |
| 261 | + } |
| 262 | + |
| 263 | + body.dark-mode .modal-title, |
| 264 | + body.bm-dashboard-dark .modal-title { |
| 265 | + font-weight: 600; |
| 266 | + letter-spacing: 0.5px; |
| 267 | + } |
| 268 | + |
| 269 | + body.dark-mode .modal-content .table thead th { |
| 270 | + background-color: #2d3d5a !important; |
| 271 | + color: #ffffff !important; |
| 272 | + border-bottom: 2px solid #334155 !important; |
| 273 | + font-size: 0.85rem; |
| 274 | + letter-spacing: 1px; |
| 275 | + } |
0 commit comments