[gtk/gtk-3-24: 1/2] Adwaita: Fix switch slider border on selected row
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] Adwaita: Fix switch slider border on selected row
- Date: Tue, 2 Apr 2019 15:49:49 +0000 (UTC)
commit 3770defce728b7844ec6d0193b63d7078f4dabaa
Author: Alex Monday <monday15 gmx com>
Date: Tue Apr 2 20:12:56 2019 +0500
Adwaita: Fix switch slider border on selected row
Closes https://gitlab.gnome.org/GNOME/gtk/issues/1802
gtk/theme/Adwaita/_common.scss | 3 ---
gtk/theme/Adwaita/gtk-contained.css | 4 ----
2 files changed, 7 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index a39fec44d9..d90a7405c0 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2847,9 +2847,6 @@ switch {
&:backdrop { border-color: $selected_borders_color; }
- slider:dir(rtl) { border-left-color: $borders_color; }
- slider:dir(ltr) { border-right-color: $borders_color; }
-
slider { &:checked, & { border-color: $selected_borders_color; } }
}
}
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index e05d6b337f..633295e7b1 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1135,10 +1135,6 @@ row:selected switch { box-shadow: none; border-color: #185fb4; }
row:selected switch:backdrop { border-color: #185fb4; }
-row:selected switch slider:dir(rtl) { border-left-color: #cdc7c2; }
-
-row:selected switch slider:dir(ltr) { border-right-color: #cdc7c2; }
-
row:selected switch slider:checked, row:selected switch slider { border-color: #185fb4; }
/************************* Check and Radio items * */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]