[epiphany] theme: insensitive -> disabled



commit 214fec5c9dc0b581e2c3705dd4113bc6f4b78b18
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Tue Jan 5 19:56:29 2016 -0600

    theme: insensitive -> disabled

 src/resources/epiphany.css  |   19 +------------------
 src/resources/epiphany.scss |    8 ++++----
 2 files changed, 5 insertions(+), 22 deletions(-)
---
diff --git a/src/resources/epiphany.css b/src/resources/epiphany.css
index 2a95bd7..1a4fa02 100644
--- a/src/resources/epiphany.css
+++ b/src/resources/epiphany.css
@@ -80,15 +80,6 @@ button.active-menu {
       text-shadow: 0 1px rgba(255, 255, 255, 0.76923);
       -gtk-icon-shadow: 0 1px rgba(255, 255, 255, 0.76923);
       box-shadow: inset 0 2px 1px -2px rgba(0, 0, 0, 0.6), 0 1px rgba(241, 243, 245, 0); }
-    .incognito-mode.titlebar button:insensitive {
-      color: #8b8e8e;
-      border-color: #8192a3;
-      background-image: linear-gradient(to bottom, #d2d8de);
-      text-shadow: none;
-      -gtk-icon-shadow: none;
-      box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(241, 243, 245, 0); }
-      .incognito-mode.titlebar button:insensitive > .label {
-        color: inherit; }
     .incognito-mode.titlebar button:backdrop {
       color: #8b8e8e;
       border-color: #cbd2d9;
@@ -103,16 +94,8 @@ button.active-menu {
         background-image: linear-gradient(to bottom, #aeb8c3);
         box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(241, 243, 245, 0);
         border-color: #8192a3; }
-      .incognito-mode.titlebar button:backdrop:insensitive {
-        color: #989ea3;
-        border-color: #d2d8de;
-        background-image: linear-gradient(to bottom, #d2d8de);
-        text-shadow: none;
-        -gtk-icon-shadow: none;
-        box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(241, 243, 245, 0);
+      .incognito-mode.titlebar button:backdrop:disabled {
         border-color: #8192a3; }
-        .incognito-mode.titlebar button:backdrop:insensitive > .label {
-          color: inherit; }
     .incognito-mode.titlebar button.flat:backdrop, .incognito-mode.titlebar button.titlebutton:backdrop {
       border-color: transparent;
       background-color: transparent;
diff --git a/src/resources/epiphany.scss b/src/resources/epiphany.scss
index 589ea8e..fba3403 100644
--- a/src/resources/epiphany.scss
+++ b/src/resources/epiphany.scss
@@ -71,8 +71,8 @@ $edge_color: lighten($incognito_color, 13%);
       &:hover { @include button(hover, $incognito_color, $edge:$edge_color); }
       &:active, &:checked, &#ephy-page-menu-button.active-menu {
         @include button(active, $incognito_color, $edge:$edge_color); }
-      &:insensitive {
-        @include button(insensitive, $incognito_color, $edge:$edge_color); }
+      &:disabled {
+        @include button(disabled, $incognito_color, $edge:$edge_color); }
       &:backdrop {
         @include button(backdrop, $incognito_color, $edge:$edge_color);
         border-color: _border_color($incognito_color);
@@ -81,8 +81,8 @@ $edge_color: lighten($incognito_color, 13%);
                           $edge:$edge_color);
           border-color: _border_color($incognito_color);
         }
-        &:insensitive {
-          @include button(backdrop-insensitive, $incognito_color,
+        &:disabled {
+          @include button(backdrop-disabled, $incognito_color,
                           $edge:$edge_color);
           border-color: _border_color($incognito_color);
         }


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