theme > osd: light variant fixes; variables
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904
This commit is contained in:
parent
e30144a0dc
commit
5e1def2642
@ -1,21 +1,29 @@
|
|||||||
/* OSD */
|
/* OSD */
|
||||||
|
|
||||||
|
$osd_levelbar_height:8px;
|
||||||
|
|
||||||
.osd-window {
|
.osd-window {
|
||||||
@extend %osd_panel;
|
@extend %osd_panel;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
spacing: 1em;
|
spacing: $base_spacing * 2; // 12px
|
||||||
margin: 32px;
|
margin: $base_margin * 8; // 32px
|
||||||
min-width: 64px;
|
min-width: 64px;
|
||||||
min-height: 64px;
|
min-height: 64px;
|
||||||
|
|
||||||
|
StIcon {
|
||||||
|
icon-size:$base_icon_size * 6;
|
||||||
|
}
|
||||||
|
|
||||||
.osd-monitor-label { font-size: 3em; }
|
.osd-monitor-label { font-size: 3em; }
|
||||||
|
|
||||||
.level {
|
.level {
|
||||||
height: 0.6em;
|
height: $osd_levelbar_height;
|
||||||
-barlevel-height: 0.6em;
|
-barlevel-height: $osd_levelbar_height;
|
||||||
-barlevel-background-color: transparentize($fg_color, if($variant=='light', 0.2, 0.9));
|
-barlevel-background-color: transparentize($osd_fg_color, if($variant=='light', 0.7, 0.9));
|
||||||
-barlevel-active-background-color: $osd_fg_color;
|
-barlevel-active-background-color: $osd_fg_color;
|
||||||
-barlevel-overdrive-color: $destructive_color;
|
-barlevel-overdrive-color: $destructive_color;
|
||||||
-barlevel-overdrive-separator-width: 0.2em;
|
-barlevel-overdrive-separator-width: 3px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user