[epiphany] theme: stop abusing linear-gradient
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] theme: stop abusing linear-gradient
- Date: Sun, 24 Apr 2016 02:10:56 +0000 (UTC)
commit b8546efa6b157fb54ec8bc44d8c6db85cf42b1d5
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Apr 23 21:09:56 2016 -0500
theme: stop abusing linear-gradient
src/resources/epiphany.css | 2 +-
src/resources/epiphany.scss | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/resources/epiphany.css b/src/resources/epiphany.css
index 852db5e..89f2810 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"), linear-gradient(#cbd2d9);
+ background-image: -gtk-icontheme("user-not-tracked-symbolic"), #cbd2d9;
background-size: 64px 64px, 100% 100%;
background-position: 160px 0, 0 0;
background-repeat: no-repeat, no-repeat;
diff --git a/src/resources/epiphany.scss b/src/resources/epiphany.scss
index 3f87356..3238cca 100644
--- a/src/resources/epiphany.scss
+++ b/src/resources/epiphany.scss
@@ -45,8 +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),
- linear-gradient($incognito_color);
+ background-image: -gtk-icontheme($incognito_icon), $incognito_color;
background-size: 64px 64px, 100% 100%;
background-position: 160px 0, 0 0;
background-repeat: no-repeat, no-repeat;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]