[gtk+/gtk-3-20] Adwaita: remove textview border
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] Adwaita: remove textview border
- Date: Fri, 27 May 2016 09:35:53 +0000 (UTC)
commit 6e56aaffe3f2a4a30ae42bcbc3bc124c0ca369a9
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri May 27 11:34:47 2016 +0200
Adwaita: remove textview border
see https://bugzilla.gnome.org/show_bug.cgi?id=764203
gtk/theme/Adwaita/_common.scss | 28 +---------------------------
gtk/theme/Adwaita/gtk-contained-dark.css | 18 +-----------------
gtk/theme/Adwaita/gtk-contained.css | 18 +-----------------
3 files changed, 3 insertions(+), 61 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 431456b..96e22be 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -118,33 +118,7 @@ textview {
}
}
-textview border {
- background-color: mix($bg_color, $base_color, 50%);
- background-image: image(transparentize(black, 0.8)); // HACK: the border node just draws background so,
- background-repeat: no-repeat; // using a background-image to draw the border
-
- &:backdrop { background-color: mix($backdrop_bg_color, $backdrop_base_color, 50%); }
-
- &.bottom {
- background-size: 100% 1px;
- background-position: top;
- }
-
- &.top {
- background-size: 100% 1px;
- background-position: bottom;
- }
-
- &.left {
- background-size: 1px 100%;
- background-position: right;
- }
-
- &.right {
- background-size: 1px 100%;
- background-position: left;
- }
-}
+textview border { background-color: mix($bg_color, $base_color, 50%); }
iconview { @extend .view; }
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 26cd2ce..2780005 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -74,23 +74,7 @@ textview text {
border-radius: 3px; }
textview border {
- background-color: #313434;
- background-image: image(rgba(0, 0, 0, 0.2));
- background-repeat: no-repeat; }
- textview border:backdrop {
- background-color: #333636; }
- textview border.bottom {
- background-size: 100% 1px;
- background-position: top; }
- textview border.top {
- background-size: 100% 1px;
- background-position: bottom; }
- textview border.left {
- background-size: 1px 100%;
- background-position: right; }
- textview border.right {
- background-size: 1px 100%;
- background-position: left; }
+ background-color: #313434; }
.rubberband,
rubberband,
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index f148bf1..6468a7e 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -74,23 +74,7 @@ textview text {
border-radius: 3px; }
textview border {
- background-color: #f4f4f3;
- background-image: image(rgba(0, 0, 0, 0.2));
- background-repeat: no-repeat; }
- textview border:backdrop {
- background-color: #f2f2f2; }
- textview border.bottom {
- background-size: 100% 1px;
- background-position: top; }
- textview border.top {
- background-size: 100% 1px;
- background-position: bottom; }
- textview border.left {
- background-size: 1px 100%;
- background-position: right; }
- textview border.right {
- background-size: 1px 100%;
- background-position: left; }
+ background-color: #f4f4f3; }
.rubberband,
rubberband,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]