forked from AuroraMiddleware/gtk
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:
parent
3e3f20854b
commit
9054e49776
@ -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;
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user