From 6ecbaac0a88eb481e1b8e8fb021c6b91288b97e5 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Fri, 22 Sep 2017 11:07:23 +0200 Subject: [PATCH] theme: make top bar more legible https://bugzilla.gnome.org/show_bug.cgi?id=787940 --- data/theme/gnome-shell-high-contrast.css | 10 +++++----- data/theme/gnome-shell-sass | 2 +- data/theme/gnome-shell.css | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index 766202927..475d5e4d5 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -657,7 +657,7 @@ StScrollBar { /* TOP BAR */ #panel { - background-color: rgba(0, 0, 0, 0.2); + background-color: rgba(0, 0, 0, 0.35); /* transition from solid to transparent */ transition-duration: 500ms; font-weight: bold; @@ -682,7 +682,7 @@ StScrollBar { -minimum-hpadding: 6px; font-weight: bold; color: #eee; - text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9); + text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9); transition-duration: 100ms; } #panel .panel-button .app-menu-icon { -st-icon-style: symbolic; @@ -691,14 +691,14 @@ StScrollBar { #panel .panel-button .system-status-icon, #panel .panel-button .app-menu-icon > StIcon, #panel .panel-button .popup-menu-arrow { - icon-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9); } + icon-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9); } #panel .panel-button:hover { color: white; - text-shadow: 0px 0px 8px black; } + text-shadow: 0px 1px 6px black; } #panel .panel-button:hover .system-status-icon, #panel .panel-button:hover .app-menu-icon > StIcon, #panel .panel-button:hover .popup-menu-arrow { - icon-shadow: 0px 0px 8px black; } + icon-shadow: 0px 1px 6px black; } #panel .panel-button:active, #panel .panel-button:overview, #panel .panel-button:focus, #panel .panel-button:checked { background-color: rgba(0, 0, 0, 0.01); box-shadow: inset 0 -2px 0px #256ab1; diff --git a/data/theme/gnome-shell-sass b/data/theme/gnome-shell-sass index 81c5a273c..766979cbb 160000 --- a/data/theme/gnome-shell-sass +++ b/data/theme/gnome-shell-sass @@ -1 +1 @@ -Subproject commit 81c5a273cf2fa5ef8c05940665a077635ae019a4 +Subproject commit 766979cbb43b03513e5c9461b2f14c57e26086e4 diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index f94c67cbc..0050f3392 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -657,7 +657,7 @@ StScrollBar { /* TOP BAR */ #panel { - background-color: rgba(0, 0, 0, 0.2); + background-color: rgba(0, 0, 0, 0.35); /* transition from solid to transparent */ transition-duration: 500ms; font-weight: bold; @@ -682,7 +682,7 @@ StScrollBar { -minimum-hpadding: 6px; font-weight: bold; color: #eee; - text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9); + text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9); transition-duration: 100ms; } #panel .panel-button .app-menu-icon { -st-icon-style: symbolic; @@ -691,14 +691,14 @@ StScrollBar { #panel .panel-button .system-status-icon, #panel .panel-button .app-menu-icon > StIcon, #panel .panel-button .popup-menu-arrow { - icon-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9); } + icon-shadow: 0px 1px 2px rgba(0, 0, 0, 0.9); } #panel .panel-button:hover { color: white; - text-shadow: 0px 0px 8px black; } + text-shadow: 0px 1px 6px black; } #panel .panel-button:hover .system-status-icon, #panel .panel-button:hover .app-menu-icon > StIcon, #panel .panel-button:hover .popup-menu-arrow { - icon-shadow: 0px 0px 8px black; } + icon-shadow: 0px 1px 6px black; } #panel .panel-button:active, #panel .panel-button:overview, #panel .panel-button:focus, #panel .panel-button:checked { background-color: rgba(0, 0, 0, 0.01); box-shadow: inset 0 -2px 0px #256ab1;