[gtk+] HighContrast: Update textview selection styling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] HighContrast: Update textview selection styling
- Date: Wed, 11 Nov 2015 03:01:41 +0000 (UTC)
commit f3c915f18c41ea716b7e97b2cd6b3b9d22dc0440
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 10 21:52:45 2015 -0500
HighContrast: Update textview selection styling
Use the selection element name.
gtk/theme/HighContrast/_common.scss | 6 +++---
gtk/theme/HighContrast/gtk.css | 20 +++++++-------------
2 files changed, 10 insertions(+), 16 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index f19d6cf..c53b9a5 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -113,9 +113,9 @@ textview text,
color: $backdrop_fg_color;
background-color: $backdrop_base_color;
}
- &:selected,
- &:selected:focus,
- &:selected:hover {
+ & selection,
+ & selection:focus,
+ & selection:hover {
@extend %selected_items;
}
}
diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css
index 12b716d..954b89a 100644
--- a/gtk/theme/HighContrast/gtk.css
+++ b/gtk/theme/HighContrast/gtk.css
@@ -1995,13 +1995,10 @@ GtkLevelBar.vertical {
.level-bar.fill-block.empty-fill-block:backdrop {
border-color: rgba(0, 0, 0, 0.15); }
-textview text:selected, textview text:selected:focus, textview text:selected:hover,
-.view:selected,
-calendar:selected,
-.view:selected:focus,
-calendar:focus:selected,
-.view:selected:hover,
-calendar:hover:selected, label selection, label selection:focus, label selection:hover, label
selection:backdrop, entry selection
+textview text selection, textview text selection:focus, textview text selection:hover,
+.view selection,
+.view selection:focus,
+.view selection:hover, label selection, label selection:focus, label selection:hover, label
selection:backdrop, entry selection
entry selection:focus, spinbutton selection
entry selection:focus, entry selection
spinbutton selection:focus, spinbutton selection
@@ -2011,17 +2008,14 @@ spinbutton selection:focus, modelbutton.flat:hover, modelbutton.flat:selected,
background-color: #000;
color: #fff;
outline-color: rgba(255, 255, 255, 0.3); }
- textview text:backdrop:selected,
- .view:backdrop:selected,
- calendar:backdrop:selected,
- calendar:backdrop:focus:selected,
- calendar:backdrop:hover:selected, label selection:backdrop, entry selection
+ textview text selection:backdrop,
+ .view selection:backdrop, label selection:backdrop, entry selection
entry selection:backdrop:focus, spinbutton selection
entry selection:backdrop:focus, entry selection
spinbutton selection:backdrop:focus, spinbutton selection
spinbutton selection:backdrop:focus, modelbutton.flat:backdrop:hover, modelbutton.flat:backdrop:selected,
.menuitem.button.flat:backdrop:hover,
- .menuitem.button.flat:backdrop:selected, .list-row.activatable:backdrop:selected,
.sidebar:backdrop:selected {
+ .menuitem.button.flat:backdrop:selected, .list-row.activatable:backdrop:selected,
.sidebar:backdrop:selected, placessidebar .view:backdrop:selected, placessidebar calendar:backdrop:selected {
background-color: gray;
color: #fff; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]