forked from AuroraMiddleware/gtk
Adwaita: Fix selection styling in icon views
This was also broken by recent selection styling changes.
This commit is contained in:
parent
919be04a3d
commit
718ca64bb7
@ -119,6 +119,19 @@ textview text,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
iconview {
|
||||||
|
color: $text_color;
|
||||||
|
background-color: $base_color;
|
||||||
|
&:backdrop {
|
||||||
|
color: $backdrop_text_color;
|
||||||
|
background-color: $backdrop_base_color;
|
||||||
|
}
|
||||||
|
&:selected,
|
||||||
|
&:selected:focus {
|
||||||
|
@extend %selected_items;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.rubberband,
|
.rubberband,
|
||||||
rubberband {
|
rubberband {
|
||||||
border: 1px solid darken($selected_bg_color, 10%);
|
border: 1px solid darken($selected_bg_color, 10%);
|
||||||
|
@ -73,6 +73,13 @@ textview text,
|
|||||||
color: #d5d5d5;
|
color: #d5d5d5;
|
||||||
background-color: #2c2c2c; }
|
background-color: #2c2c2c; }
|
||||||
|
|
||||||
|
iconview {
|
||||||
|
color: white;
|
||||||
|
background-color: #292929; }
|
||||||
|
iconview:backdrop {
|
||||||
|
color: #d5d5d5;
|
||||||
|
background-color: #2c2c2c; }
|
||||||
|
|
||||||
.rubberband,
|
.rubberband,
|
||||||
rubberband,
|
rubberband,
|
||||||
flowbox rubberband,
|
flowbox rubberband,
|
||||||
@ -4458,20 +4465,20 @@ headerbar.selection-mode button.titlebutton,
|
|||||||
|
|
||||||
textview text selection, textview text selection:focus,
|
textview text selection, textview text selection:focus,
|
||||||
.view selection,
|
.view selection,
|
||||||
.view selection:focus, flowbox flowboxchild:selected, label selection, label selection:focus, label selection:hover, .grid-child:selected, entry selection, spinbutton selection, entry selection:focus, spinbutton selection:focus, modelbutton.flat:selected,
|
.view selection:focus, iconview:selected, iconview:selected:focus, flowbox flowboxchild:selected, label selection, label selection:focus, label selection:hover, .grid-child:selected, entry selection, spinbutton selection, entry selection:focus, spinbutton selection:focus, modelbutton.flat:selected,
|
||||||
.menuitem.button.flat:selected, treeview.view:selected, row:selected, .sidebar :selected {
|
.menuitem.button.flat:selected, treeview.view:selected, row:selected, .sidebar :selected {
|
||||||
background-color: #215d9c;
|
background-color: #215d9c;
|
||||||
color: #ffffff; }
|
color: #ffffff; }
|
||||||
textview text selection:insensitive,
|
textview text selection:insensitive,
|
||||||
.view selection:insensitive, flowbox flowboxchild:insensitive:selected, label selection:insensitive, .grid-child:insensitive:selected, entry selection:insensitive, spinbutton selection:insensitive, modelbutton.flat:insensitive:selected,
|
.view selection:insensitive, iconview:insensitive:selected, flowbox flowboxchild:insensitive:selected, label selection:insensitive, .grid-child:insensitive:selected, entry selection:insensitive, spinbutton selection:insensitive, modelbutton.flat:insensitive:selected,
|
||||||
.menuitem.button.flat:insensitive:selected, treeview.view:insensitive:selected, row:insensitive:selected, .sidebar :insensitive:selected, placessidebar row:selected:insensitive label {
|
.menuitem.button.flat:insensitive:selected, treeview.view:insensitive:selected, row:insensitive:selected, .sidebar :insensitive:selected, placessidebar row:selected:insensitive label {
|
||||||
color: #90aece; }
|
color: #90aece; }
|
||||||
textview text selection:backdrop,
|
textview text selection:backdrop,
|
||||||
.view selection:backdrop, flowbox flowboxchild:backdrop:selected, label selection:backdrop, .grid-child:backdrop:selected, entry selection:backdrop, spinbutton selection:backdrop, modelbutton.flat:backdrop:selected,
|
.view selection:backdrop, iconview:backdrop:selected, flowbox flowboxchild:backdrop:selected, label selection:backdrop, .grid-child:backdrop:selected, entry selection:backdrop, spinbutton selection:backdrop, modelbutton.flat:backdrop:selected,
|
||||||
.menuitem.button.flat:backdrop:selected, treeview.view:backdrop:selected, row:backdrop:selected, .sidebar :backdrop:selected {
|
.menuitem.button.flat:backdrop:selected, treeview.view:backdrop:selected, row:backdrop:selected, .sidebar :backdrop:selected {
|
||||||
color: #ffffff; }
|
color: #ffffff; }
|
||||||
textview text selection:backdrop:insensitive,
|
textview text selection:backdrop:insensitive,
|
||||||
.view selection:backdrop:insensitive, flowbox flowboxchild:backdrop:insensitive:selected, label selection:backdrop:insensitive, .grid-child:backdrop:insensitive:selected, entry selection:backdrop:insensitive, spinbutton selection:backdrop:insensitive, modelbutton.flat:backdrop:insensitive:selected,
|
.view selection:backdrop:insensitive, iconview:backdrop:insensitive:selected, flowbox flowboxchild:backdrop:insensitive:selected, label selection:backdrop:insensitive, .grid-child:backdrop:insensitive:selected, entry selection:backdrop:insensitive, spinbutton selection:backdrop:insensitive, modelbutton.flat:backdrop:insensitive:selected,
|
||||||
.menuitem.button.flat:backdrop:insensitive:selected, treeview.view:backdrop:insensitive:selected, row:backdrop:insensitive:selected, .sidebar :backdrop:insensitive:selected, placessidebar row:selected:insensitive label:backdrop, placessidebar row:selected:backdrop:insensitive label {
|
.menuitem.button.flat:backdrop:insensitive:selected, treeview.view:backdrop:insensitive:selected, row:backdrop:insensitive:selected, .sidebar :backdrop:insensitive:selected, placessidebar row:selected:insensitive label:backdrop, placessidebar row:selected:backdrop:insensitive label {
|
||||||
color: #648eba; }
|
color: #648eba; }
|
||||||
|
|
||||||
|
@ -73,6 +73,13 @@ textview text,
|
|||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: white; }
|
background-color: white; }
|
||||||
|
|
||||||
|
iconview {
|
||||||
|
color: black;
|
||||||
|
background-color: #ffffff; }
|
||||||
|
iconview:backdrop {
|
||||||
|
color: #333333;
|
||||||
|
background-color: white; }
|
||||||
|
|
||||||
.rubberband,
|
.rubberband,
|
||||||
rubberband,
|
rubberband,
|
||||||
flowbox rubberband,
|
flowbox rubberband,
|
||||||
@ -4630,21 +4637,21 @@ headerbar.selection-mode button.titlebutton,
|
|||||||
|
|
||||||
textview text selection, textview text selection:focus,
|
textview text selection, textview text selection:focus,
|
||||||
.view selection,
|
.view selection,
|
||||||
.view selection:focus, flowbox flowboxchild:selected, label selection, label selection:focus, label selection:hover, .grid-child:selected, entry selection, spinbutton selection, entry selection:focus, spinbutton selection:focus, modelbutton.flat:selected,
|
.view selection:focus, iconview:selected, iconview:selected:focus, flowbox flowboxchild:selected, label selection, label selection:focus, label selection:hover, .grid-child:selected, entry selection, spinbutton selection, entry selection:focus, spinbutton selection:focus, modelbutton.flat:selected,
|
||||||
.menuitem.button.flat:selected, treeview.view:selected, row:selected, .sidebar :selected {
|
.menuitem.button.flat:selected, treeview.view:selected, row:selected, .sidebar :selected {
|
||||||
background-color: #4a90d9;
|
background-color: #4a90d9;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
outline-color: rgba(255, 255, 255, 0.3); }
|
outline-color: rgba(255, 255, 255, 0.3); }
|
||||||
textview text selection:insensitive,
|
textview text selection:insensitive,
|
||||||
.view selection:insensitive, flowbox flowboxchild:insensitive:selected, label selection:insensitive, .grid-child:insensitive:selected, entry selection:insensitive, spinbutton selection:insensitive, modelbutton.flat:insensitive:selected,
|
.view selection:insensitive, iconview:insensitive:selected, flowbox flowboxchild:insensitive:selected, label selection:insensitive, .grid-child:insensitive:selected, entry selection:insensitive, spinbutton selection:insensitive, modelbutton.flat:insensitive:selected,
|
||||||
.menuitem.button.flat:insensitive:selected, treeview.view:insensitive:selected, row:insensitive:selected, .sidebar :insensitive:selected, placessidebar row:selected:insensitive label {
|
.menuitem.button.flat:insensitive:selected, treeview.view:insensitive:selected, row:insensitive:selected, .sidebar :insensitive:selected, placessidebar row:selected:insensitive label {
|
||||||
color: #a5c8ec; }
|
color: #a5c8ec; }
|
||||||
textview text selection:backdrop,
|
textview text selection:backdrop,
|
||||||
.view selection:backdrop, flowbox flowboxchild:backdrop:selected, label selection:backdrop, .grid-child:backdrop:selected, entry selection:backdrop, spinbutton selection:backdrop, modelbutton.flat:backdrop:selected,
|
.view selection:backdrop, iconview:backdrop:selected, flowbox flowboxchild:backdrop:selected, label selection:backdrop, .grid-child:backdrop:selected, entry selection:backdrop, spinbutton selection:backdrop, modelbutton.flat:backdrop:selected,
|
||||||
.menuitem.button.flat:backdrop:selected, treeview.view:backdrop:selected, row:backdrop:selected, .sidebar :backdrop:selected {
|
.menuitem.button.flat:backdrop:selected, treeview.view:backdrop:selected, row:backdrop:selected, .sidebar :backdrop:selected {
|
||||||
color: #ffffff; }
|
color: #ffffff; }
|
||||||
textview text selection:backdrop:insensitive,
|
textview text selection:backdrop:insensitive,
|
||||||
.view selection:backdrop:insensitive, flowbox flowboxchild:backdrop:insensitive:selected, label selection:backdrop:insensitive, .grid-child:backdrop:insensitive:selected, entry selection:backdrop:insensitive, spinbutton selection:backdrop:insensitive, modelbutton.flat:backdrop:insensitive:selected,
|
.view selection:backdrop:insensitive, iconview:backdrop:insensitive:selected, flowbox flowboxchild:backdrop:insensitive:selected, label selection:backdrop:insensitive, .grid-child:backdrop:insensitive:selected, entry selection:backdrop:insensitive, spinbutton selection:backdrop:insensitive, modelbutton.flat:backdrop:insensitive:selected,
|
||||||
.menuitem.button.flat:backdrop:insensitive:selected, treeview.view:backdrop:insensitive:selected, row:backdrop:insensitive:selected, .sidebar :backdrop:insensitive:selected, placessidebar row:selected:insensitive label:backdrop, placessidebar row:selected:backdrop:insensitive label {
|
.menuitem.button.flat:backdrop:insensitive:selected, treeview.view:backdrop:insensitive:selected, row:backdrop:insensitive:selected, .sidebar :backdrop:insensitive:selected, placessidebar row:selected:insensitive label:backdrop, placessidebar row:selected:backdrop:insensitive label {
|
||||||
color: #80b1e4; }
|
color: #80b1e4; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user