[gnome-builder] theme: tidy up notebook/header styling on Adwaita



commit 8bbb653873f5c2e7347fc2c5e98b492b79f27c19
Author: Christian Hergert <christian hergert me>
Date:   Mon Sep 14 18:48:44 2015 -0700

    theme: tidy up notebook/header styling on Adwaita
    
    You'll notice the editor tweak widget is not matching here. This is because
    it is getting clipped so the box shadow won't show up. What I'd like to
    do to fix this is to pull the editor tweak out of the GbEditorView and into
    a plugin that attaches itself to the view stack. It will enable/disable
    itself based on view type. This will allow us to get rid of the
    "controls" stack too.

 data/theme/Adwaita-shared.css |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/data/theme/Adwaita-shared.css b/data/theme/Adwaita-shared.css
index 108aa09..347f611 100644
--- a/data/theme/Adwaita-shared.css
+++ b/data/theme/Adwaita-shared.css
@@ -38,6 +38,22 @@ GbViewStack GtkBox.header.notebook {
 GbViewStack:not(.focused) GtkBox.header.notebook {
   background-color: shade (@theme_bg_color, 0.95);
 }
+GbWorkspacePane GtkBox.notebook.header GtkMenuButton,
+GbViewStack GtkBox.header.notebook .button {
+  padding: none;
+  margin: none;
+  border: none;
+  border-bottom: 1px solid transparent;
+  box-shadow: none;
+  background-image: none;
+  border-radius: 0px;
+}
+GbWorkspacePane GtkBox.notebook.header GtkBox GtkMenuButton:checked,
+GbWorkspacePane GtkBox.notebook.header GtkBox GtkMenuButton:hover,
+GbViewStack GtkBox.header.notebook .button:checked,
+GbViewStack GtkBox.header.notebook .button:hover {
+  box-shadow: 0px 2px 0px @theme_fg_color;
+}
 
 
 /* New project dialog */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]