[gnome-themes-standard] Widget theme: commented out or removed some more selectors wrt focused button blue border removal.



commit b7acca52e74d66f100216d15ddf41541f2f97a24
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Thu Aug 2 20:14:16 2012 +0200

    Widget theme: commented out or removed some more selectors wrt focused button blue border removal.

 themes/Adwaita/gtk-3.0/gnome-applications.css      |   10 ++--
 .../Adwaita/gtk-3.0/gtk-widgets-borders-dark.css   |   15 +-----
 themes/Adwaita/gtk-3.0/gtk-widgets-borders.css     |   14 +-----
 themes/Adwaita/gtk-3.0/gtk-widgets.css             |   44 +++++++++++--------
 4 files changed, 36 insertions(+), 47 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index a6fa36a..68fba0c 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -245,8 +245,8 @@ GtkIconView.documents-main-view.check:active {
     color: alpha(@theme_base_color, 0.50);
 }
 
-.documents-selection-mode.toolbar .button,
-.documents-selection-mode.toolbar .button:focus {
+.documents-selection-mode.toolbar .button /*,
+.documents-selection-mode.toolbar .button:focus*/ {
     background-image: -gtk-gradient(linear, left top, left bottom,
                                     from(@documents_selection_button_a),
                                     color-stop(0.83, @documents_selection_button_b),
@@ -421,8 +421,8 @@ EphyToolbar .location-entry .button:last-child {
 }
 
 EphyToolbar .location-entry .button,
-EphyToolbar .location-entry .button:hover,
-EphyToolbar .location-entry .button:focus {
+EphyToolbar .location-entry .button:hover /*,
+EphyToolbar .location-entry .button:focus*/ {
     icon-shadow: none;
     background-image: -gtk-gradient(linear,
                                     left top, left bottom,
@@ -445,7 +445,7 @@ EphyToolbar .location-entry .button:active:hover {
 }
 
 EphyToolbar .location-entry .button:hover,
-EphyToolbar .location-entry .button:focus,
+/*EphyToolbar .location-entry .button:focus,*/
 EphyToolbar .location-entry .button:active,
 EphyToolbar .location-entry .button *:active {
     color: @theme_text_color;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
index 091ec3a..6c1a55b 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders-dark.css
@@ -64,8 +64,7 @@ GtkSwitch.trough:active {
 }
 
 /* tooltip focused elements borders */
-.tooltip .entry:focus,
-.tooltip .button:focus {
+.tooltip .entry:focus {
     border-image: url("borders/tooltip-generic-border-focused-dark.svg") 3 / 3px stretch;
     border-width: 1px;
     border-style: solid;
@@ -135,14 +134,10 @@ GtkSwitch.trough:active {
 /* column-headers borders */
 column-header.button,
 column-header .button,
-column-header.button:focus,
-column-header .button:focus,
 column-header.button:active,
 column-header .button:active,
 column-header.button:active:hover,
-column-header .button:active:hover
-column-header.button:active:focus,
-column-header .button:active:focus {
+column-header .button:active:hover {
     border-image: linear-gradient(to bottom,
                                   @borders,
                                   @theme_base_color
@@ -179,14 +174,10 @@ column-header .button:insensitive {
 
 column-header.button:last-child,
 column-header:last-child .button,
-column-header.button:last-child:focus,
-column-header:last-child .button:focus,
 column-header.button:last-child:active,
 column-header:last-child .button:active,
 column-header.button:last-child:active:hover,
-column-header:last-child .button:active:hover,
-column-header.button:last-child:active:focus,
-column-header:last-child .button:active:focus {
+column-header:last-child .button:active:hover {
     border-image: none;
     border-width: 0;
     border-radius: 0;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
index be537d8..69c30f1 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-borders.css
@@ -134,14 +134,10 @@ GtkSwitch.trough:active {
 /* column-headers borders */
 column-header.button,
 column-header .button,
-column-header.button:focus,
-column-header .button:focus,
 column-header.button:active,
 column-header .button:active,
 column-header.button:active:hover,
-column-header .button:active:hover
-column-header.button:active:focus,
-column-header .button:active:focus {
+column-header .button:active:hover {
     border-image: linear-gradient(to bottom,
                                   @borders,
                                   @theme_base_color
@@ -177,15 +173,11 @@ column-header .button:insensitive {
 }
 
 column-header.button:last-child,
-column-header:last-child .button,
-column-header.button:last-child:focus,
-column-header:last-child .button:focus,
+column-header:last-child .button
 column-header.button:last-child:active,
 column-header:last-child .button:active,
 column-header.button:last-child:active:hover,
-column-header:last-child .button:active:hover,
-column-header.button:last-child:active:focus,
-column-header:last-child .button:active:focus {
+column-header:last-child .button:active:hover {
     border-image: none;
     border-width: 0;
     border-radius: 0;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 2a6ccef..5f94c47 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -368,8 +368,8 @@ GtkTreeView.separator:backdrop,
 /*****************
  * GtkSpinButton *
  *****************/
-.spinbutton .button,
-.spinbutton .button:focus {
+.spinbutton .button /*,
+.spinbutton .button:focus */{
     color: @internal_element_color;
     padding: 2px 6px;
     border-width: 0;
@@ -399,7 +399,7 @@ GtkTreeView.separator:backdrop,
 }
 
 .spinbutton .button:active,
-.spinbutton .button:active:focus,
+/*.spinbutton .button:active:focus, */
 .spinbutton .button:hover {
     color: @internal_element_prelight;
 }
@@ -414,19 +414,24 @@ GtkTreeView.separator:backdrop,
 }
 
 /* Add back the glowy effect from the entry covered by the pushed button background*/
-.spinbutton .button:active,
-.spinbutton .button:active:focus {
-    box-shadow: inset 1px 0 @inset_dark_color, inset 0 1px alpha(@theme_selected_bg_color, 0.2), inset 0 -1px alpha(@theme_selected_bg_color, 0.2);
+.spinbutton .button:active /*,
+.spinbutton .button:active:focus */ {
+    box-shadow: inset 1px 0 @inset_dark_color, 
+                inset 0 1px alpha(@theme_selected_bg_color, 0.2), 
+                inset 0 -1px alpha(@theme_selected_bg_color, 0.2);
 }
 
-.spinbutton .button:first-child:active,
-.spinbutton .button:first-child:active:focus {
-    box-shadow: inset 1px 1px alpha(@theme_selected_bg_color, 0.2), inset 0 -1px alpha(@theme_selected_bg_color, 0.2);
+.spinbutton .button:first-child:active /*,
+.spinbutton .button:first-child:active:focus */ {
+    box-shadow: inset 1px 1px alpha(@theme_selected_bg_color, 0.2),
+                inset 0 -1px alpha(@theme_selected_bg_color, 0.2);
 }
 
-.spinbutton .button:last-child:active,
-.spinbutton .button:last-child:active:focus {
-    box-shadow: inset 1px 0 @inset_dark_color, inset 0 1px alpha(@theme_selected_bg_color, 0.2), inset -1px -1px alpha(@theme_selected_bg_color, 0.2);
+.spinbutton .button:last-child:active /*,
+.spinbutton .button:last-child:active:focus */ {
+    box-shadow: inset 1px 0 @inset_dark_color,
+                inset 0 1px alpha(@theme_selected_bg_color, 0.2),
+                inset -1px -1px alpha(@theme_selected_bg_color, 0.2);
 }
 
 /*****************
@@ -438,7 +443,8 @@ GtkColorSwatch:selected {
     border-style: solid;
     border-radius: 1px;
     border-color: alpha(black, 0.3);
-    box-shadow: inset 0 2px alpha(black, 0.07), inset 1px 1px alpha(black, 0.07);
+    box-shadow: inset 0 2px alpha(black, 0.07), 
+                inset 1px 1px alpha(black, 0.07);
 
     background-color: transparent;
     background-clip: border-box;
@@ -1030,8 +1036,8 @@ GtkComboBox.combobox-entry .button {
 .linked .button,
 .linked .button:active,
 .linked .button:active:hover,
-.linked .button:focus,
-.linked .button:focus:active,
+/* .linked .button:focus,
+.linked .button:focus:active, */
 .linked .button:insensitive {
     border-right-width: 0;
     border-left-width: 0;
@@ -2555,9 +2561,9 @@ column-header .button,
 column-header.button:insensitive,
 column-header .button:insensitive,
 column-header.button:hover,
-column-header .button:hover,
+column-header .button:hover /*,
 column-header.button:focus:hover,
-column-header .button:focus:hover {
+column-header .button:focus:hover */ {
     background-color: @theme_base_color;
     background-image: none;
     padding: 0 4px;
@@ -2578,12 +2584,12 @@ column-header .button:insensitive {
 
 column-header.button:hover,
 column-header .button:hover,
-column-header.button:focus:hover,
+/* column-header.button:focus:hover,
 column-header .button:focus:hover,
 column-header.button:active:focus:hover,
 column-header .button:active:focus:hover,
 column-header.button:active:focus,
-column-header .button:active:focus,
+column-header .button:active:focus, */
 column-header.button:active:hover,
 column-header .button:active:hover,
 column-header.button *:active,



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