WIP darkmode theme: fix some styling

This commit is contained in:
Hadi Nategh 2020-12-16 16:34:48 +01:00
parent 688387a160
commit b7d9cc9513
2 changed files with 7 additions and 0 deletions

View File

@ -49,12 +49,17 @@
@media all {
html[data-darkmode='1'] {
background: #000;
position: fixed;
filter: invert(1) hue-rotate(180deg);
}
html[data-darkmode='1'] img,
html[data-darkmode='1'] #blueimp-gallery {
filter: invert(1) hue-rotate(180deg) !important;
}
html[data-darkmode='1'] div.dhtmlxMenu_egw_SubLevelArea_Polygon,
html[data-darkmode='1'] .egw_tooltip {
box-shadow: 0px 0px 2px 2px #666666;
}
}
@media all {
/**

View File

@ -17,10 +17,12 @@
html[data-darkmode='1'] {
background: #000;
position: fixed; // ATM Firefox doesn't like filter:invert on none fixed html
filter: invert(1) hue-rotate(180deg);
img, #blueimp-gallery {
filter: invert(1) hue-rotate(180deg) !important;
}
div.dhtmlxMenu_egw_SubLevelArea_Polygon,.egw_tooltip {box-shadow: 0px 0px 2px 2px #666666;}
}
}