[gnome-builder] style: add styling to perspective stack switcher



commit ebe267f2c51caf1d1a8fbb37ef7f0b656b19f886
Author: Christian Hergert <chergert redhat com>
Date:   Mon Nov 16 21:52:12 2015 -0800

    style: add styling to perspective stack switcher

 data/theme/Adwaita-dark.css |   16 ++++++++++++++++
 data/theme/Adwaita.css      |   16 ++++++++++++++++
 data/ui/ide-workbench.ui    |    8 +++++++-
 3 files changed, 39 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/Adwaita-dark.css b/data/theme/Adwaita-dark.css
index 1e08aed..26cfe69 100644
--- a/data/theme/Adwaita-dark.css
+++ b/data/theme/Adwaita-dark.css
@@ -68,3 +68,19 @@ GtkBox.horizontal.search-bar:backdrop {
   background-color: #303535;
   box-shadow: none;
 }
+
+
+workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child {
+  background: #313434;
+}
+workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child button {
+  padding: 12px;
+  color: #979a99;
+  background: transparent;
+  box-shadow: none;
+  border: none;
+  border-radius: 0px;
+}
+workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child button:checked {
+  color: #babdb6;
+}
diff --git a/data/theme/Adwaita.css b/data/theme/Adwaita.css
index 0ed5da6..49bb828 100644
--- a/data/theme/Adwaita.css
+++ b/data/theme/Adwaita.css
@@ -67,3 +67,19 @@ GtkBox.horizontal.search-bar:backdrop {
   background-color: #d5d5d5;
   box-shadow: none;
 }
+
+
+workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child {
+  background: #f4f4f4;
+}
+workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child button {
+  padding: 12px;
+  color: #bebebe;
+  background: transparent;
+  box-shadow: none;
+  border: none;
+  border-radius: 0px;
+}
+workbench > GtkOverlay > stack > GtkBox > stackswitcher.vertical:first-child button:checked {
+  color: #2e3436;
+}
diff --git a/data/ui/ide-workbench.ui b/data/ui/ide-workbench.ui
index 2375aa3..14563cc 100644
--- a/data/ui/ide-workbench.ui
+++ b/data/ui/ide-workbench.ui
@@ -32,13 +32,19 @@
                 <property name="visible">true</property>
                 <child>
                   <object class="GtkStackSwitcher" id="perspectives_stack_switcher">
-                    <property name="margin">6</property>
+                    <property name="icon-size">3</property>
                     <property name="orientation">vertical</property>
                     <property name="stack">perspectives_stack</property>
                     <property name="visible">true</property>
                   </object>
                 </child>
                 <child>
+                  <object class="GtkSeparator">
+                    <property name="orientation">vertical</property>
+                    <property name="visible">true</property>
+                  </object>
+                </child>
+                <child>
                   <object class="GtkStack" id="perspectives_stack">
                     <property name="homogeneous">false</property>
                     <property name="transition-type">crossfade</property>


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