[gtk+] HighContrast: Update filechooser styling



commit 37c923ad8a27f290bceb8c1908c5e3a1ed15e101
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 5 07:45:39 2015 -0500

    HighContrast: Update filechooser styling
    
    Update for changes in previous commit.

 gtk/theme/HighContrast/_common.scss |   20 ++++++--------------
 gtk/theme/HighContrast/gtk.css      |   18 ++++++------------
 2 files changed, 12 insertions(+), 26 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index afe704a..b5c3d2f 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -818,11 +818,6 @@ toolbar { //FIXME: why is all this being ignored?
     padding: 3px;
     border-radius: 0  0 4px 4px;
   }
-  &.search-bar {
-    @extend %inset-bar;
-    border-width: 0 0 1px;
-    padding: 3px;
-  }
   &.vertical {
     border-right: 1px solid $borders_color;
     &:dir(rtl) {
@@ -832,6 +827,12 @@ toolbar { //FIXME: why is all this being ignored?
   }
 }
 
+searchbar {
+  @extend %inset-bar;
+  border-width: 0 0 1px;
+  padding: 3px;
+}
+
 %inset-bar {
   border-style: solid;
   border-color: $borders_color;
@@ -2168,15 +2169,6 @@ messagedialog { // Message Dialog styling
 }
 
 GtkFileChooserDialog {
-  .search-bar {
-    background-color: $base_color;
-    border-color: $bg_color;
-    box-shadow: none;
-    &:backdrop {
-      background-color: $backdrop_base_color;
-      border-color: $backdrop_bg_color;
-    }
-  }
   .dialog-action-box {
     border-top: 1px solid $borders_color;
     &:backdrop { border-top-color: $backdrop_borders_color; }
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index dfea013..8d83a86 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -927,21 +927,22 @@ toolbar {
     border-width: 0 1px 1px;
     padding: 3px;
     border-radius: 0  0 4px 4px; }
-  toolbar.search-bar {
-    border-width: 0 0 1px;
-    padding: 3px; }
   toolbar.vertical {
     border-right: 1px solid gray; }
     toolbar.vertical:dir(rtl) {
       border-right: none;
       border-left: 1px solid gray; }
 
-toolbar.inline-toolbar, toolbar.search-bar {
+searchbar {
+  border-width: 0 0 1px;
+  padding: 3px; }
+
+toolbar.inline-toolbar, searchbar {
   border-style: solid;
   border-color: gray;
   background-color: #d9d9d9;
   box-shadow: inset 0 2px 3px -1px #a4a4a4; }
-  toolbar.inline-toolbar:backdrop, toolbar.search-bar:backdrop {
+  toolbar.inline-toolbar:backdrop, searchbar:backdrop {
     border-color: #8d8d8d;
     background-color: #d7d7d7;
     box-shadow: none; }
@@ -2443,13 +2444,6 @@ messagedialog.csd {
     border-left-style: none;
     border-bottom-left-radius: 7px; }
 
-GtkFileChooserDialog .search-bar {
-  background-color: #fff;
-  border-color: #fff;
-  box-shadow: none; }
-  GtkFileChooserDialog .search-bar:backdrop {
-    background-color: #fff;
-    border-color: #fff; }
 GtkFileChooserDialog .dialog-action-box {
   border-top: 1px solid gray; }
   GtkFileChooserDialog .dialog-action-box:backdrop {


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