mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Integrate light theme's selector rules using media queries
This commit is contained in:
parent
50fbadde8e
commit
b1622fcb2d
@ -232,3 +232,12 @@ td, th {
|
|||||||
top: 2.5em;
|
top: 2.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-height: @prefer-light-color-scheme), (prefers-color-scheme: light) and (min-height: @enable-color-preference) {
|
||||||
|
.container {
|
||||||
|
&:before,
|
||||||
|
> .content:before {
|
||||||
|
background-image: url(../img/icinga-loader-light.gif)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -43,6 +43,14 @@ input.search {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-height: @prefer-light-color-scheme), (prefers-color-scheme: light) and (min-height: @enable-color-preference) {
|
||||||
|
#menu input.search,
|
||||||
|
.controls input.search,
|
||||||
|
input.search {
|
||||||
|
background-image: url(../img/icons/search.png);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.backend-selection,
|
.backend-selection,
|
||||||
.pagination-control,
|
.pagination-control,
|
||||||
.selection-info,
|
.selection-info,
|
||||||
|
@ -356,3 +356,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-height: @prefer-light-color-scheme), (prefers-color-scheme: light) and (min-height: @enable-color-preference) {
|
||||||
|
#header-logo,
|
||||||
|
#mobile-menu-logo,
|
||||||
|
#about .icinga-logo {
|
||||||
|
filter: brightness(0.415) sepia(1) ~"saturate(0.1)" hue-rotate(144deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
|
|
||||||
@original-menu-bg-color: #06062B;
|
|
||||||
@original-low-sat-blue: #404d72;
|
|
||||||
|
|
||||||
@gray: #7F7F7F;
|
@gray: #7F7F7F;
|
||||||
@gray-semilight: #A9A9A9;
|
@gray-semilight: #A9A9A9;
|
||||||
@gray-light: #C9C9C9;
|
@gray-light: #C9C9C9;
|
||||||
@ -20,31 +17,3 @@
|
|||||||
|
|
||||||
@low-sat-blue: #DEECF1;
|
@low-sat-blue: #DEECF1;
|
||||||
@low-sat-blue-dark: #c0cccd;
|
@low-sat-blue-dark: #c0cccd;
|
||||||
|
|
||||||
#header-logo,
|
|
||||||
#mobile-menu-logo,
|
|
||||||
#about .icinga-logo {
|
|
||||||
filter: brightness(0.415) sepia(1) ~"saturate(0.1)" hue-rotate(144deg);
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu input.search,
|
|
||||||
.controls input.search,
|
|
||||||
input.search {
|
|
||||||
background-image: url(../img/icons/search.png);
|
|
||||||
}
|
|
||||||
|
|
||||||
#login {
|
|
||||||
background-color: @original-menu-bg-color;
|
|
||||||
|
|
||||||
input[type=password],
|
|
||||||
input[type=text] {
|
|
||||||
background-color: @original-low-sat-blue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
&:before,
|
|
||||||
> .content:before {
|
|
||||||
background-image: url(../img/icinga-loader-light.gif)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user