Gnome-Shell: improve osd window text visibility
This commit is contained in:
parent
235ceafd71
commit
9d51cb6e85
@ -2107,10 +2107,12 @@ StScrollBar {
|
|||||||
|
|
||||||
/* OSD */
|
/* OSD */
|
||||||
.osd-window, .resize-popup, .switcher-list, .workspace-switcher-container {
|
.osd-window, .resize-popup, .switcher-list, .workspace-switcher-container {
|
||||||
color: white;
|
font-weight: bold;
|
||||||
background-color: #23252e;
|
background-color: #23252e;
|
||||||
|
color: #eeeeec;
|
||||||
border: 1px solid #0d0e11; }
|
border: 1px solid #0d0e11; }
|
||||||
.osd-window StIcon, .resize-popup StIcon, .switcher-list StIcon, .workspace-switcher-container StIcon {
|
.osd-window StIcon, .resize-popup StIcon, .switcher-list StIcon, .workspace-switcher-container StIcon {
|
||||||
|
color: white;
|
||||||
icon-shadow: rgba(0, 0, 0, 0.7) 0 1px 6px; }
|
icon-shadow: rgba(0, 0, 0, 0.7) 0 1px 6px; }
|
||||||
|
|
||||||
.osd-window .level {
|
.osd-window .level {
|
||||||
@ -2151,7 +2153,7 @@ StScrollBar {
|
|||||||
.switcher-list .item-box:selected {
|
.switcher-list .item-box:selected {
|
||||||
background-color: #2777ff;
|
background-color: #2777ff;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold; }
|
text-shadow: rgba(0, 0, 0, 0.9) 0 1px 2px; }
|
||||||
|
|
||||||
/* Workspace Switcher */
|
/* Workspace Switcher */
|
||||||
.ws-switcher-box {
|
.ws-switcher-box {
|
||||||
|
|||||||
@ -2103,10 +2103,12 @@ StScrollBar {
|
|||||||
|
|
||||||
/* OSD */
|
/* OSD */
|
||||||
.osd-window, .resize-popup, .switcher-list, .workspace-switcher-container {
|
.osd-window, .resize-popup, .switcher-list, .workspace-switcher-container {
|
||||||
color: black;
|
font-weight: bold;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
color: #5c616c;
|
||||||
border: 1px solid rgba(0, 0, 0, 0.15); }
|
border: 1px solid rgba(0, 0, 0, 0.15); }
|
||||||
.osd-window StIcon, .resize-popup StIcon, .switcher-list StIcon, .workspace-switcher-container StIcon {
|
.osd-window StIcon, .resize-popup StIcon, .switcher-list StIcon, .workspace-switcher-container StIcon {
|
||||||
|
color: black;
|
||||||
icon-shadow: rgba(0, 0, 0, 0.7) 0 1px 6px; }
|
icon-shadow: rgba(0, 0, 0, 0.7) 0 1px 6px; }
|
||||||
|
|
||||||
.osd-window .level {
|
.osd-window .level {
|
||||||
@ -2147,7 +2149,7 @@ StScrollBar {
|
|||||||
.switcher-list .item-box:selected {
|
.switcher-list .item-box:selected {
|
||||||
background-color: #2777ff;
|
background-color: #2777ff;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-weight: bold; }
|
text-shadow: rgba(0, 0, 0, 0.9) 0 1px 2px; }
|
||||||
|
|
||||||
/* Workspace Switcher */
|
/* Workspace Switcher */
|
||||||
.ws-switcher-box {
|
.ws-switcher-box {
|
||||||
|
|||||||
@ -5,11 +5,13 @@ $dialog_box_shadow: 0 2px 8px 0 transparentize(black, .6);
|
|||||||
/* OSD */
|
/* OSD */
|
||||||
$_osd_color: if($variant=='light', black, white);
|
$_osd_color: if($variant=='light', black, white);
|
||||||
%osd_panel {
|
%osd_panel {
|
||||||
color: $_osd_color;
|
font-weight: bold;
|
||||||
background-color: $bg_color;
|
background-color: $bg_color;
|
||||||
|
color: $fg_color;
|
||||||
border: 1px solid if($variant=='light', transparentize(black, 0.85), $borders_color);
|
border: 1px solid if($variant=='light', transparentize(black, 0.85), $borders_color);
|
||||||
|
|
||||||
StIcon {
|
StIcon {
|
||||||
|
color: $_osd_color;
|
||||||
icon-shadow: transparentize(black, .3) 0 1px 6px;
|
icon-shadow: transparentize(black, .3) 0 1px 6px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -65,7 +67,7 @@ $_osd_color: if($variant=='light', black, white);
|
|||||||
&:selected {
|
&:selected {
|
||||||
background-color: $selected_bg_color;
|
background-color: $selected_bg_color;
|
||||||
color: $selected_fg_color;
|
color: $selected_fg_color;
|
||||||
font-weight: bold;
|
text-shadow: transparentize(black, 0.1) 0 1px 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user