Adwaita: dodge drop active style for window and decoration nodes

to hilight drop target there is a wildcard selector which turns
the border and shadow to green, this clearly shouldn't happen when
the whole window is a drop target.
This commit is contained in:
Lapo Calamandrei 2016-10-12 19:30:30 +02:00
parent 9af1353e6d
commit c41294e2be
3 changed files with 6 additions and 6 deletions

View File

@ -4273,8 +4273,8 @@ button.circular { // FIXME: aggregate to buttons
}
}
*:drop(active):focus,
*:drop(active) { // FIXME needs to be done widget by widget, this wildcard should really die
:not(decoration):not(window):drop(active):focus,
:not(decoration):not(window):drop(active) { // FIXME needs to be done widget by widget, this wildcard should really die
border-color: $drop_target_color;
box-shadow: inset 0 0 0 1px $drop_target_color;
caret-color: $drop_target_color;

View File

@ -4533,8 +4533,8 @@ button.circular {
color: #919494;
transition: 200ms ease-out; }
*:drop(active):focus,
*:drop(active) {
:not(decoration):not(window):drop(active):focus,
:not(decoration):not(window):drop(active) {
border-color: #4e9a06;
box-shadow: inset 0 0 0 1px #4e9a06;
caret-color: #4e9a06; }

View File

@ -4564,8 +4564,8 @@ button.circular {
color: #8b8e8f;
transition: 200ms ease-out; }
*:drop(active):focus,
*:drop(active) {
:not(decoration):not(window):drop(active):focus,
:not(decoration):not(window):drop(active) {
border-color: #4e9a06;
box-shadow: inset 0 0 0 1px #4e9a06;
caret-color: #4e9a06; }