[gtk+] High Contrast: fix drop states



commit ad9865126a886fa847a311e3ea2903e3e0b7f20d
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Mar 18 15:47:30 2016 +0100

    High Contrast: fix drop states
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763823

 gtk/theme/HighContrast/_common.scss              |   13 +++++++++++--
 gtk/theme/HighContrast/gtk-contained-inverse.css |   13 ++++++++++---
 gtk/theme/HighContrast/gtk-contained.css         |   13 ++++++++++---
 3 files changed, 31 insertions(+), 8 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index ea6b7ee..da81bd0 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -2874,11 +2874,19 @@ messagedialog { // Message Dialog styling
   }
 }
 
-GtkFileChooserDialog {
+filechooser {
   .dialog-action-box {
     border-top: 1px solid $borders_color;
+
     &:backdrop { border-top-color: $backdrop_borders_color; }
   }
+
+  #pathbarbox { border-bottom: 1px solid $bg_color; }
+}
+
+filechooserbutton:drop(active) {
+  box-shadow: none;
+  border-color: transparent;
 }
 
 /***********
@@ -3347,7 +3355,8 @@ button.circular { // FIXME: aggregate to buttons
 
 *:drop(active):focus,
 *:drop(active) {
-  border: 1px solid black;
+  border-color: $fg_color;
+  box-shadow: inset 0 0 0 2px fg_color;
 }
 
 stackswitcher button.text-button {
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css 
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index 2d4b87b..e02f870 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -3060,10 +3060,16 @@ messagedialog.csd {
     border-left-style: none;
     border-bottom-left-radius: 7px; }
 
-GtkFileChooserDialog .dialog-action-box {
+filechooser .dialog-action-box {
   border-top: 1px solid gray; }
-  GtkFileChooserDialog .dialog-action-box:backdrop {
+  filechooser .dialog-action-box:backdrop {
     border-top-color: #737373; }
+filechooser #pathbarbox {
+  border-bottom: 1px solid #000; }
+
+filechooserbutton:drop(active) {
+  box-shadow: none;
+  border-color: transparent; }
 
 /***********
  * Sidebar *
@@ -3583,7 +3589,8 @@ button.circular {
 
 *:drop(active):focus,
 *:drop(active) {
-  border: 1px solid black; }
+  border-color: #fff;
+  box-shadow: inset 0 0 0 2px fg_color; }
 
 stackswitcher button.text-button {
   min-width: 100px; }
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index 30373fa..54ddd10 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -3067,10 +3067,16 @@ messagedialog.csd {
     border-left-style: none;
     border-bottom-left-radius: 7px; }
 
-GtkFileChooserDialog .dialog-action-box {
+filechooser .dialog-action-box {
   border-top: 1px solid gray; }
-  GtkFileChooserDialog .dialog-action-box:backdrop {
+  filechooser .dialog-action-box:backdrop {
     border-top-color: #8d8d8d; }
+filechooser #pathbarbox {
+  border-bottom: 1px solid #fff; }
+
+filechooserbutton:drop(active) {
+  box-shadow: none;
+  border-color: transparent; }
 
 /***********
  * Sidebar *
@@ -3590,7 +3596,8 @@ button.circular {
 
 *:drop(active):focus,
 *:drop(active) {
-  border: 1px solid black; }
+  border-color: #000;
+  box-shadow: inset 0 0 0 2px fg_color; }
 
 stackswitcher button.text-button {
   min-width: 100px; }


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