Adwaita: more drag hilight fixes

This commit is contained in:
Lapo Calamandrei 2016-03-14 19:19:43 +01:00
parent 0b840a04a2
commit 32b410c77b
3 changed files with 11 additions and 18 deletions

View File

@ -189,11 +189,12 @@ textview { // This will get overridden by .view, needed by gedit line numbers
&:backdrop { background-color: mix($backdrop_bg_color, $backdrop_base_color, 50%); }
&:drop(active) {
&, & > text { box-shadow: none; }
// &:drop(active) {
// &, & > text { box-shadow: none; }
//
// > text { background-color: transparentize($drop_target_color, 0.9); }
// }
> text { background-color: transparentize($drop_target_color, 0.9); }
}
}
%osd, .osd {
@ -4159,8 +4160,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
border-color: black;
box-shadow: inset 0 0 0 1px black;
border-color: $drop_target_color;
box-shadow: inset 0 0 0 1px $drop_target_color;
}
stackswitcher button.text-button { min-width: 100px; } // FIXME aggregate with buttons

View File

@ -119,10 +119,6 @@ textview {
background-color: #313434; }
textview:backdrop {
background-color: #333636; }
textview:drop(active), textview:drop(active) > text {
box-shadow: none; }
textview:drop(active) > text {
background-color: rgba(78, 154, 6, 0.1); }
popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.osd, .csd popover.background.osd, .app-notification,
.app-notification.frame, .osd .scale-popup, .osd {
@ -4159,8 +4155,8 @@ button.circular {
*:drop(active):focus,
*:drop(active) {
border-color: black;
box-shadow: inset 0 0 0 1px black; }
border-color: #4e9a06;
box-shadow: inset 0 0 0 1px #4e9a06; }
stackswitcher button.text-button {
min-width: 100px; }

View File

@ -119,10 +119,6 @@ textview {
background-color: #f4f4f3; }
textview:backdrop {
background-color: #f4f4f3; }
textview:drop(active), textview:drop(active) > text {
box-shadow: none; }
textview:drop(active) > text {
background-color: rgba(78, 154, 6, 0.1); }
popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.osd, .csd popover.background.osd, .app-notification,
.app-notification.frame, .osd .scale-popup, .osd {
@ -4193,8 +4189,8 @@ button.circular {
*:drop(active):focus,
*:drop(active) {
border-color: black;
box-shadow: inset 0 0 0 1px black; }
border-color: #4e9a06;
box-shadow: inset 0 0 0 1px #4e9a06; }
stackswitcher button.text-button {
min-width: 100px; }