[gnome-builder] document-stack: style header buttons for document stack
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] document-stack: style header buttons for document stack
- Date: Thu, 11 Dec 2014 00:09:12 +0000 (UTC)
commit 682f789727aa82349878c3b5ac228e25eb14bdd2
Author: Christian Hergert <christian hergert me>
Date: Sun Dec 7 21:24:01 2014 -0800
document-stack: style header buttons for document stack
src/resources/css/builder.Adwaita.css | 8 ++++----
src/resources/ui/gb-document-stack.ui | 3 +++
src/resources/ui/gb-editor-view.ui | 2 ++
3 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/src/resources/css/builder.Adwaita.css b/src/resources/css/builder.Adwaita.css
index 8062a02..d0a9482 100644
--- a/src/resources/css/builder.Adwaita.css
+++ b/src/resources/css/builder.Adwaita.css
@@ -173,25 +173,25 @@ GbWorkbench GtkHeaderBar {
/*
* Tab header styling.
*/
-GtkComboBox.tab-header-first .button,
+GtkMenuButton.tab-header-first .button,
GtkButton.tab-header-first {
border-left: none;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
-GtkComboBox.tab-header-last .button,
+GtkMenuButton.tab-header-last .button,
GtkButton.tab-header-last {
border-right: none;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
-GtkComboBox.tab-control-first .button,
+GtkMenuButton.tab-control-first .button,
GtkButton.tab-control-first {
border-left: none;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
-GtkComboBox.tab-control-last .button,
+GtkMenuButton.tab-control-last .button,
GtkButton.tab-control-last {
border-right: 1px solid @borders;
border-top-right-radius: 0px;
diff --git a/src/resources/ui/gb-document-stack.ui b/src/resources/ui/gb-document-stack.ui
index 65f5034..d570c1d 100644
--- a/src/resources/ui/gb-document-stack.ui
+++ b/src/resources/ui/gb-document-stack.ui
@@ -14,6 +14,9 @@
<object class="GbDocumentMenuButton" id="document_button">
<property name="visible">true</property>
<property name="hexpand">true</property>
+ <style>
+ <class name="tab-header-first"/>
+ </style>
</object>
</child>
<child>
diff --git a/src/resources/ui/gb-editor-view.ui b/src/resources/ui/gb-editor-view.ui
index 4fc1885..ff47a36 100644
--- a/src/resources/ui/gb-editor-view.ui
+++ b/src/resources/ui/gb-editor-view.ui
@@ -13,6 +13,8 @@
<property name="visible">true</property>
<style>
<class name="image-button"/>
+ <class name="tab-control-first"/>
+ <class name="tab-control-last"/>
</style>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]