[gnome-themes-standard] Add borders to dark windows
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Add borders to dark windows
- Date: Thu, 27 Mar 2014 12:52:14 +0000 (UTC)
commit 83f4dd721ea87fa3bc5176a23b55907482ece050
Author: Nikita Churaev <lamefun x0r gmail com>
Date: Thu Mar 20 20:09:19 2014 +0400
Add borders to dark windows
- same way it's handled for light windows
https://bugzilla.gnome.org/show_bug.cgi?id=726783
themes/Adwaita/gtk-3.0/gtk-main-dark.css | 1 +
themes/Adwaita/gtk-3.0/gtk-widgets.css | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-main-dark.css b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
index d1f6d66..d5c6469 100644
--- a/themes/Adwaita/gtk-3.0/gtk-main-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-main-dark.css
@@ -191,6 +191,7 @@
@define-color wm_bg_b @theme_bg_color;
@define-color wm_shadow alpha(black, 0.7);
+ define-color wm_border alpha(shade(@borders, 0.9), 0.8);
@define-color wm_button_bg_a shade (@theme_bg_color, 1.0);
@define-color wm_button_bg_b shade (@theme_bg_color, 0.85);
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 5112cdb..cbe3469 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -4287,7 +4287,7 @@ GtkModelButton.button:selected {
border-radius: 7px 7px 0 0;
/* lamefun trick to get rounded borders regardless of CSD use */
border-width: 0px;
- box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow;
+ box-shadow: 0 2px 8px 3px @wm_shadow, 0 0 0 1px @wm_border;
/* this is used for the resize cursor area */
margin: 10px;
@@ -4299,6 +4299,5 @@ GtkModelButton.button:selected {
}
.window-frame:backdrop {
- box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow;
+ box-shadow: 0 2px 5px 1px @wm_shadow, 0 0 0 1px shade(@wm_border, 1.1);
}
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]