Skip to content

Commit ad2d55c

Browse files
committed
ensures texts remains visible when switching themes
1 parent 6fc896b commit ad2d55c

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

public/styles/style-bootstrap.css

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ body {
272272
padding-top: 5px;
273273
cursor: pointer;
274274
position: absolute;
275-
right: 0;
275+
right: 0;
276276
margin-right: 10px;
277277
}
278278

@@ -348,7 +348,7 @@ body {
348348
-ms-box-sizing:border-box;
349349
-moz-box-sizing:border-box;
350350
box-sizing:border-box;
351-
-webkit-box-sizing:border-box;
351+
-webkit-box-sizing:border-box;
352352
}
353353

354354
.night #column_l {
@@ -562,7 +562,7 @@ body {
562562
padding: 3px;
563563
margin-right: 3px;
564564
cursor: pointer;
565-
background-color: white;
565+
background-color: white;
566566
}
567567

568568
#id_dialogtitle {
@@ -768,7 +768,7 @@ body {
768768
margin-left: 5px;
769769
}
770770

771-
/* Example if <table> is relplaced with <div><p> then image can be defined in css
771+
/* Example if <table> is relplaced with <div><p> then image can be defined in css
772772
#NoMeshesPanel {
773773
background: url(../images/info.png) no-repeat 23px 20px;
774774
height: 48px;
@@ -2082,7 +2082,7 @@ nav .lbbuttonsel2 {
20822082
#d2notifyMsg,
20832083
#d2devNotes,
20842084
#d2devEvent,
2085-
#d2runcmd,
2085+
#d2runcmd,
20862086
#d2devMessage,
20872087
#d2smsText,
20882088
#d2emailSubject,
@@ -2136,11 +2136,13 @@ nav .lbbuttonsel2 {
21362136
color: #f8f9fa !important; /* very light gray for dark mode */
21372137
}
21382138

2139-
[data-bs-theme="light"] h1, h1 {
2139+
[data-bs-theme="light"] h1, h1, [data-bs-theme="light"] .fs-4, .fs-4,
2140+
[data-bs-theme="light"] div, div {
21402141
color: #adafae !important; /* very dark gray, almost black */
21412142
}
21422143

2143-
[data-bs-theme="dark"] h1, h1 {
2144+
[data-bs-theme="dark"] h1, h1, [data-bs-theme="dark"] .fs-4, .fs-4,
2145+
[data-bs-theme="dark"] div, div {
21442146
color: #f8f9fa !important; /* very light gray */
21452147
}
21462148

@@ -2673,7 +2675,7 @@ nav .lbbuttonsel2 {
26732675
.deskToolsBar:hover {
26742676
background-color: #EFE8B6;
26752677
}
2676-
2678+
26772679
.night .deskToolsBar {
26782680
color: #ddd;
26792681
}
@@ -3307,7 +3309,7 @@ nav .lbbuttonsel2 {
33073309
.sidebar .nav-link {
33083310
font-size: xx-large;
33093311
}
3310-
3312+
33113313
.card:hover, #p2AccountImage:hover, #p2canvas:hover {
33123314
background: #f3f5f7 !important;
33133315
}
@@ -3409,11 +3411,11 @@ nav .lbbuttonsel2 {
34093411
/* .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered {
34103412
display: inline;
34113413
}
3412-
3414+
34133415
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
34143416
display: inline-flex;
34153417
}
3416-
3418+
34173419
.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
34183420
display: inline !important;
34193421
} */

0 commit comments

Comments
 (0)