[gnome-builder/wip/chergert/perspective] style: add styling to perspective stack switcher
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/perspective] style: add styling to perspective stack switcher
- Date: Tue, 17 Nov 2015 05:52:38 +0000 (UTC)
commit 6b7141aca09830485a01bf259c8889764c62ce95
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]