[epiphany] theme: Avoid CSS errors
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] theme: Avoid CSS errors
- Date: Sun, 24 Apr 2016 02:18:16 +0000 (UTC)
commit 02314b788265df9118efed4f1ff41189be0ef135
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Apr 23 21:17:21 2016 -0500
theme: Avoid CSS errors
Not sure how this is supposed to work, but specifying a gradient for an
image doesn't seem to make much sense, so let's just not do it... errors
be gone.
src/resources/epiphany.css | 4 ++--
src/resources/epiphany.scss | 5 ++---
2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/resources/epiphany.css b/src/resources/epiphany.css
index 89f2810..d14fa34 100644
--- a/src/resources/epiphany.css
+++ b/src/resources/epiphany.css
@@ -28,7 +28,7 @@ button.active-menu {
background-image: linear-gradient(to top, #a5b1bd, #c5cdd5 2px, #cbd2d9 3px);
background-color: #cbd2d9;
box-shadow: inset 0 1px #f1f3f5;
- background-image: -gtk-icontheme("user-not-tracked-symbolic"), #cbd2d9;
+ background-image: -gtk-icontheme("user-not-tracked-symbolic");
background-size: 64px 64px, 100% 100%;
background-position: 160px 0, 0 0;
background-repeat: no-repeat, no-repeat;
@@ -39,7 +39,7 @@ button.active-menu {
.incognito-mode.titlebar > *:backdrop {
color: #8b8e8e; }
.incognito-mode.titlebar:backdrop {
- background-image: -gtk-icontheme("user-not-tracked-symbolic"), linear-gradient(to bottom, #cbd2d9);
+ background-image: -gtk-icontheme("user-not-tracked-symbolic");
box-shadow: inset 0 1px #f1f3f5;
color: rgba(139, 142, 142, 0.1); }
.incognito-mode.titlebar button {
diff --git a/src/resources/epiphany.scss b/src/resources/epiphany.scss
index 3238cca..ee073bf 100644
--- a/src/resources/epiphany.scss
+++ b/src/resources/epiphany.scss
@@ -45,7 +45,7 @@ $edge_color: lighten($incognito_color, 13%);
.incognito-mode {
&.titlebar {
@include headerbar_fill($incognito_color, $hc:$edge_color);
- background-image: -gtk-icontheme($incognito_icon), $incognito_color;
+ background-image: -gtk-icontheme($incognito_icon);
background-size: 64px 64px, 100% 100%;
background-position: 160px 0, 0 0;
background-repeat: no-repeat, no-repeat;
@@ -56,8 +56,7 @@ $edge_color: lighten($incognito_color, 13%);
&:backdrop { color: $backdrop_fg_color }
}
&:backdrop {
- background-image: -gtk-icontheme($incognito_icon),
- linear-gradient(to bottom, $incognito_color);
+ background-image: -gtk-icontheme($incognito_icon);
box-shadow: inset 0 1px $edge_color;
color: transparentize($backdrop_fg_color, 0.9); // color of the overlayed icon in backdrop
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]