[gtk/wip/baedert/filechooser: 6/9] Adwaita: Style treeview :focus(visible)
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/filechooser: 6/9] Adwaita: Style treeview :focus(visible)
- Date: Tue, 15 Jan 2019 07:11:54 +0000 (UTC)
commit b23403443443b42b1e6a1e8be68988452429e081
Author: Timm Bäder <mail baedert org>
Date: Tue Jan 15 06:44:51 2019 +0100
Adwaita: Style treeview :focus(visible)
Give it the old blue color, while just :focus is grey now (designer
input needed).
gtk/theme/Adwaita/_common.scss | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index d766a9e817..43b877dc78 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1780,9 +1780,13 @@ treeview.view {
rubberband { @extend rubberband; } // to avoid borders being overridden by the previously set props
&:selected {
- &:focus, & {
+ &:focus, &{
border-radius: 0;
+ background-color: grey;
+ }
+ &:focus(visible) {
+ border-radius: 0;
@extend %selected_items;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]