[gnome-builder/document-manager] document-stack: style header buttons for document stack



commit fb96f4e7c7101c6cf9601b2f6ef9a404c6125381
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 addb93e..4e9371e 100644
--- a/src/resources/css/builder.Adwaita.css
+++ b/src/resources/css/builder.Adwaita.css
@@ -161,25 +161,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]