HighContrast: Update textview selection styling

Use the selection element name.
This commit is contained in:
Matthias Clasen 2015-11-10 21:52:45 -05:00
parent fbd6a814c6
commit f3c915f18c
2 changed files with 10 additions and 16 deletions

View File

@ -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;
}
}

View File

@ -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; }