[epiphany/wip/exalm/backforward: 5/5] Fix back/forward button size and spacing



commit d73dd7ef524bc0bc2f84c88f7ff46f24e04d23cf
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun Oct 6 19:26:03 2019 +0500

    Fix back/forward button size and spacing
    
    Remove the extra 1px on Adwaita, add spacing on elementary.

 src/resources/gtk/action-bar-start.ui | 2 +-
 src/resources/themes/elementary.css   | 2 ++
 src/resources/themes/elementary.scss  | 5 +++++
 3 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/src/resources/gtk/action-bar-start.ui b/src/resources/gtk/action-bar-start.ui
index 06c7ec533..2c56ffa58 100644
--- a/src/resources/gtk/action-bar-start.ui
+++ b/src/resources/gtk/action-bar-start.ui
@@ -6,10 +6,10 @@
       <object class="GtkBox" id="navigation_box">
         <property name="visible">True</property>
         <property name="orientation">horizontal</property>
-        <property name="homogeneous">True</property>
         <style>
           <class name="raised"/>
           <class name="linked"/>
+          <class name="navigation-box"/>
         </style>
         <child>
           <object class="GtkButton" id="navigation_back">
diff --git a/src/resources/themes/elementary.css b/src/resources/themes/elementary.css
index d1a44fbae..0b3f52b26 100644
--- a/src/resources/themes/elementary.css
+++ b/src/resources/themes/elementary.css
@@ -97,3 +97,5 @@ dzlsuggestionpopover > revealer > box > elastic > scrolledwindow > viewport > li
 .bookmark-tag-widget image { -gtk-icon-shadow: none; }
 
 .bookmark-tag-widget-selected { background-color: @colorAccent; }
+
+.navigation-box button:not(:last-child) { margin-right: 6px; }
diff --git a/src/resources/themes/elementary.scss b/src/resources/themes/elementary.scss
index 582c2ef68..c05756df6 100644
--- a/src/resources/themes/elementary.scss
+++ b/src/resources/themes/elementary.scss
@@ -123,3 +123,8 @@ dzlsuggestionpopover > revealer > box {
 .bookmark-tag-widget-selected {
   background-color: themecolor(colorAccent);
 }
+
+// Back and forward are not linked on elementary
+.navigation-box button:not(:last-child) {
+  margin-right: 6px;
+}


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