changeset 31:d8fb69db13bf

Fix theme warnings/errors
author IBBoard <dev@ibboard.co.uk>
date Fri, 09 Dec 2016 20:31:26 +0000
parents 78e21cea68af
children 09cbf23e5f34
files gtk-3.20/gtk.css gtk-3.20/gtk.scss
diffstat 2 files changed, 18 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/gtk-3.20/gtk.css	Mon Dec 05 21:03:53 2016 +0000
+++ b/gtk-3.20/gtk.css	Fri Dec 09 20:31:26 2016 +0000
@@ -4583,8 +4583,8 @@
 @define-color wm_button_active_color_a shade(#3D3D3D, 0.85);
 @define-color wm_button_active_color_b shade(#3D3D3D, 0.89);
 @define-color wm_button_active_color_c shade(#3D3D3D, 0.9);
-*:insensitive {
-  -gtk-image-effect: highlight; }
+*:disabled {
+  -gtk-icon-effect: highlight; }
 
 /***************
  * Header bars *
@@ -4627,7 +4627,7 @@
   color: #dddddd;
   background-image: linear-gradient(to bottom, #575757, #3D3D3D);
   text-shadow: 0 1px rgba(87, 87, 87, 0.5);
-  icon-shadow: 0 1px rgba(87, 87, 87, 0.5);
+  -gtk-icon-shadow: 0 1px rgba(87, 87, 87, 0.5);
   border-color: #303030;
   outline-color: #575757;
   box-shadow: inset 0 1px #575757, 0 1px #575757; }
@@ -4640,7 +4640,7 @@
     border-color: transparent;
     box-shadow: none;
     text-shadow: none;
-    icon-shadow: none; }
+    -gtk-icon-shadow: none; }
     .titlebar:not(headerbar) button.flat:hover, .titlebar:not(headerbar) button.flat:active, .titlebar:not(headerbar) button.flat:backdrop, .titlebar:not(headerbar) button.titlebutton:hover, .titlebar:not(headerbar) button.titlebutton:active, .titlebar:not(headerbar) button.titlebutton:backdrop,
     headerbar button.flat:hover,
     headerbar button.flat:active,
@@ -4661,7 +4661,7 @@
     border-color: #303030;
     background-image: linear-gradient(to bottom, shade(#575757, 1.1), shade(#3D3D3D, 1.1));
     text-shadow: 0 1px rgba(87, 87, 87, 0.5);
-    icon-shadow: 0 1px rgba(87, 87, 87, 0.5);
+    -gtk-icon-shadow: 0 1px rgba(87, 87, 87, 0.5);
     box-shadow: inset 0 1px #575757, 0 1px #575757; }
   .titlebar:not(headerbar) button:active, .titlebar:not(headerbar) button:checked, .titlebar:not(headerbar) button.titlebutton:active, .titlebar:not(headerbar) button.titlebutton:active:backdrop,
   headerbar button:active,
@@ -4673,7 +4673,7 @@
     border-color: #303030;
     background-image: linear-gradient(to bottom, #3D3D3D, #303030);
     text-shadow: 0 1px rgba(87, 87, 87, 0.5);
-    icon-shadow: 0 1px rgba(87, 87, 87, 0.5);
+    -gtk-icon-shadow: 0 1px rgba(87, 87, 87, 0.5);
     box-shadow: inset 0 1px rgba(87, 87, 87, 0.3), 0 1px #575757; }
   .titlebar:not(headerbar) button:backdrop,
   headerbar button:backdrop {
@@ -4683,7 +4683,7 @@
     border-color: #303030;
     box-shadow: none;
     text-shadow: none;
-    icon-shadow: none;
+    -gtk-icon-shadow: none;
     transition: 200ms ease-out;
     -gtk-icon-effect: none; }
     .titlebar:not(headerbar) button:backdrop:active, .titlebar:not(headerbar) button:backdrop:checked,
@@ -4754,12 +4754,12 @@
   background-color: #F0F0F0; }
   entry:focus, .linked.vertical > entry:focus, .linked.vertical > entry:first-child:focus, .linked.vertical > entry:last-child:focus, spinbutton:not(.vertical):focus {
     background-image: linear-gradient(to bottom, #bbbbbb, #ececec 2px, #F0F0F0 90%); }
-  entry:insensitive, .linked.vertical > entry:insensitive, .linked.vertical > entry:first-child:insensitive, .linked.vertical > entry:last-child:insensitive, spinbutton:not(.vertical):insensitive {
+  entry:disabled, .linked.vertical > entry:disabled, .linked.vertical > entry:first-child:disabled, .linked.vertical > entry:last-child:disabled, spinbutton:not(.vertical):disabled {
     background-image: linear-gradient(to bottom, #c6c6c6); }
   entry:backdrop, .linked.vertical > entry:backdrop, .linked.vertical > entry:first-child:backdrop, .linked.vertical > entry:last-child:backdrop, spinbutton:not(.vertical):backdrop {
     background-image: none;
     background-color: #ededed; }
-  entry:backdrop:insensitive, .linked.vertical > entry:backdrop:insensitive, .linked.vertical > entry:first-child:backdrop:insensitive, .linked.vertical > entry:last-child:backdrop:insensitive, spinbutton:not(.vertical):backdrop:insensitive {
+  entry:backdrop:disabled, .linked.vertical > entry:backdrop:disabled, .linked.vertical > entry:first-child:backdrop:disabled, .linked.vertical > entry:last-child:backdrop:disabled, spinbutton:not(.vertical):backdrop:disabled {
     background-image: linear-gradient(to bottom, #c6c6c6); }
 
 spinbutton:not(.vertical) button:hover {
--- a/gtk-3.20/gtk.scss	Mon Dec 05 21:03:53 2016 +0000
+++ b/gtk-3.20/gtk.scss	Fri Dec 09 20:31:26 2016 +0000
@@ -109,8 +109,8 @@
 
 
 // And now do our own overrides of styling
-*:insensitive {
-  -gtk-image-effect: highlight;
+*:disabled {
+  -gtk-icon-effect: highlight;
 }
 
 /***************
@@ -203,7 +203,7 @@
     color: $fg_dark_color;
     background-image: linear-gradient(to bottom, $header_button_raised_gradient_color_a, $bg_dark_color);
     text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
-    icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
+    -gtk-icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
     border-color: $header_button_border;
     outline-color: $header_button_raised_gradient_color_a;
     box-shadow: inset 0 1px $header_button_raised_gradient_color_a, 0 1px $header_button_raised_gradient_color_a;
@@ -215,7 +215,7 @@
       border-color: transparent;
       box-shadow: none;
       text-shadow: none;
-      icon-shadow: none;
+      -gtk-icon-shadow: none;
 
       &:hover, &:active, &:backdrop {
         color: $title_fg;
@@ -231,7 +231,7 @@
       border-color: $header_button_border;
       background-image: linear-gradient(to bottom, shade($header_button_raised_gradient_color_a, 1.1), shade($bg_dark_color, 1.1));
       text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
-      icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
+      -gtk-icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
       box-shadow: inset 0 1px $header_button_raised_gradient_color_a, 0 1px $header_button_raised_gradient_color_a;
     }
 
@@ -242,7 +242,7 @@
       border-color: $header_button_border;
       background-image: linear-gradient(to bottom, $bg_dark_color, $header_button_checked);
       text-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
-      icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
+      -gtk-icon-shadow: 0 1px transparentize($header_button_raised_gradient_color_a, 0.5);
       box-shadow: inset 0 1px transparentize($header_button_raised_gradient_color_a, 0.7), 0 1px $header_button_raised_gradient_color_a;
     }
 
@@ -253,7 +253,7 @@
         border-color: $header_button_border;
         box-shadow:none;
         text-shadow: none;
-        icon-shadow: none;
+        -gtk-icon-shadow: none;
 
         transition: $backdrop_transition;
         -gtk-icon-effect: none;
@@ -319,9 +319,9 @@
   background-color: $text_input_color;
   
   &:focus { background-image: entry_gradient($text_input_color); }
-  &:insensitive { background-image: linear-gradient(to bottom, $insensitive_bg_color); }
+  &:disabled { background-image: linear-gradient(to bottom, $insensitive_bg_color); }
   &:backdrop { background-image: none; background-color: $backdrop_text_input_color; }
-  &:backdrop:insensitive { background-image: linear-gradient(to bottom, $insensitive_bg_color); }
+  &:backdrop:disabled { background-image: linear-gradient(to bottom, $insensitive_bg_color); }
 }
 spinbutton:not(.vertical) button:hover {
   background-color: transparentize($bg_color,0.6);