diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-02-18 12:54:44 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-02-18 12:55:57 -0500 |
commit | ce04054e8f76da744c75479f7ffa61b5489c396f (patch) | |
tree | 7af6c1292bfbe7cc629ffe912f24a1a0d12961be | |
parent | b51db029058bcb5a147033c2b2945992f5d2b5d2 (diff) | |
download | gnome-themes-standard-ce04054e8f76da744c75479f7ffa61b5489c396f.tar.gz |
header-bar: add a first basic theming for header bar widgets
As used by the control center.
For now, just render a stroke at the bottom.
-rw-r--r-- | themes/Adwaita/gtk-3.0/gtk-widgets.css | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css index 05731b09..f821350f 100644 --- a/themes/Adwaita/gtk-3.0/gtk-widgets.css +++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css @@ -2510,6 +2510,25 @@ GtkCheckButton:selected:focus { } +/*************** + * Header bars * + ***************/ +.header-bar { + border-width: 0 0 2px; + border-style: solid; + border-image: linear-gradient(to top, + shade(@borders, 0.90), + shade(@borders, 0.90) 1px, + alpha(black, 0.07) 1px) 0 0 2; +} + +.header-bar:backdrop { + border-image: linear-gradient(to top, + @unfocused_borders, + @unfocused_borders 1px, + transparent 1px) 0 0 2; +} + /******************** * Primary Toolbars * ********************/ |