[CSS][Dark Themes] General Improvements to make things even more dark :p

pull/764/head
Peter Goodhall 2020-12-23 09:41:08 +00:00 zatwierdzone przez GitHub
commit 209cd029b5
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 151 dodań i 0 usunięć

Wyświetl plik

@ -2,6 +2,10 @@
* No overrides for the default theme as it aligns with general.css
*/
/*
* Dark Maps
*/
.leaflet-tile {
filter: invert() hue-rotate(180deg) grayscale(0.8) !important;
}
@ -24,3 +28,51 @@ path.grid-worked {
fill: rgba(220, 50, 50, 0.25) !important;
stroke: rgba(220, 50, 50, 0.25) !important;
}
#map,
#qsomap{
background-color: #000;
}
/*
* Dark Navigation
*/
/* Navigation background */
.navbar.bg-light {
background-color: #000 !important;
}
/* Inactive Links */
.navbar-light .navbar-nav .nav-link {
color: rgba(255,255,255,.6);
}
/* Active Links and Logo */
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
color: #fff;
}
/* Hamburger Menu */
.navbar-light .navbar-toggler-icon {
background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}
/*
* Dark inputs
*/
.form-control,
.form-control:focus,
.form-control:disabled,
.custom-select {
background-color: #151515;
color: #eeeeee;
border: 1px solid #333;
}

Wyświetl plik

@ -2,6 +2,10 @@
* No overrides for the default theme as it aligns with general.css
*/
/*
* Dark Maps
*/
.leaflet-tile {
filter: invert() hue-rotate(180deg) grayscale(0.8) brightness(1.2) !important;
}
@ -24,3 +28,49 @@ path.grid-worked {
fill: rgba(220, 50, 50, 0.25) !important;
stroke: rgba(220, 50, 50, 0.25) !important;
}
#map,
#qsomap{
background-color: #222;
}
/*
* Dark Navigation
*/
/* Navigation background */
.bg-light {
background-color: #303030!important;
}
/* Inactive Links */
.navbar-light .navbar-nav .nav-link {
color: rgba(255,255,255,.6);
}
/* Active Links and Logo */
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
color: #fff;
}
/* Hamburger Menu */
.navbar-light .navbar-toggler-icon {
background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}
/*
* Dark inputs
*/
.form-control,
.form-control:focus,
.form-control:disabled,
.custom-select {
background-color: rgba(20,20,20,.5);
color: #eee;
}

Wyświetl plik

@ -2,6 +2,10 @@
* No overrides for the default theme as it aligns with general.css
*/
/*
* Maps
*/
.leaflet-tile {
filter: brightness(0.7) grayscale(0.6) !important;
}
@ -24,3 +28,48 @@ path.grid-worked {
stroke: rgba(220, 50, 50, 0.4) !important;
}
#map,
#qsomap{
background-color: #2E3E50;
}
/*
* Dark Navigation
*/
/* Navigation background */
.bg-light {
background-color: #4e5d6c !important;
}
/* Inactive Links */
.navbar-light .navbar-nav .nav-link {
color: rgba(255,255,255,.6);
}
/* Active Links and Logo */
.navbar-light .navbar-brand,
.navbar-light .navbar-brand:focus,
.navbar-light .navbar-brand:hover,
.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
color: #fff;
}
/* Hamburger Menu */
.navbar-light .navbar-toggler-icon {
background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}
/*
* Dark inputs
*/
.form-control,
.form-control:focus,
.form-control:disabled,
.custom-select {
background-color: rgba(20, 41, 62, 0.6);
color: #fff;
}