dark mode, page only
This commit is contained in:
parent
5edf5cc947
commit
705fa9f582
BIN
server/images/nav/ic_gps_fixed_white_18dp_1x.png
Normal file
BIN
server/images/nav/ic_gps_fixed_white_18dp_1x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
BIN
server/images/nav/ic_gps_fixed_white_18dp_2x.png
Normal file
BIN
server/images/nav/ic_gps_fixed_white_18dp_2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
BIN
server/images/nav/ic_gps_fixed_white_24dp_1x.png
Normal file
BIN
server/images/nav/ic_gps_fixed_white_24dp_1x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 KiB |
BIN
server/images/nav/ic_gps_fixed_whte_24dp_2x.png
Normal file
BIN
server/images/nav/ic_gps_fixed_whte_24dp_2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -5,6 +5,17 @@
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: "Star4000";
|
font-family: "Star4000";
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background-color: #000000;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
color: lightblue;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
|
@ -20,12 +31,42 @@ button {
|
||||||
#txtAddress {
|
#txtAddress {
|
||||||
width: 490px;
|
width: 490px;
|
||||||
font-size: 16pt;
|
font-size: 16pt;
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background-color: #000000;
|
||||||
|
color: white;
|
||||||
|
border: 1px solid darkgray;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#btnGetGps,
|
#btnGetGps,
|
||||||
#btnGetLatLng,
|
#btnGetLatLng,
|
||||||
#btnClearQuery {
|
#btnClearQuery {
|
||||||
font-size: 16pt;
|
font-size: 16pt;
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background-color: #000000;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
border: 1px solid darkgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
#btnGetGps img {
|
||||||
|
|
||||||
|
&.dark {
|
||||||
|
display: none;
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.light {
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.autocomplete-suggestions {
|
.autocomplete-suggestions {
|
||||||
|
@ -90,6 +131,11 @@ button {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
background-color: #000000;
|
background-color: #000000;
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
background-color: rgb(48, 48, 48);
|
||||||
|
}
|
||||||
|
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
<div id="divQuery">
|
<div id="divQuery">
|
||||||
<form id="frmGetLatLng">
|
<form id="frmGetLatLng">
|
||||||
<input id="txtAddress" type="text" value="" placeholder="Zip or City, State" /><button id="btnGetGps" type="button" title="Get GPS Location"><img id="imgGetGps" src="images/nav/ic_gps_fixed_black_18dp_1x.png" /></button>
|
<input id="txtAddress" type="text" value="" placeholder="Zip or City, State" /><button id="btnGetGps" type="button" title="Get GPS Location"><img src="images/nav/ic_gps_fixed_black_18dp_1x.png" class="light"/><img src="images/nav/ic_gps_fixed_white_18dp_1x.png" class="dark"/></button>
|
||||||
<input id="btnGetLatLng" type="submit" value="GO" />
|
<input id="btnGetLatLng" type="submit" value="GO" />
|
||||||
<input id="btnClearQuery" type="reset" value="Reset" />
|
<input id="btnClearQuery" type="reset" value="Reset" />
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue