Adwaita: textview drag hilight

This commit is contained in:
Lapo Calamandrei 2016-03-12 15:22:35 +01:00
parent b46f7223ac
commit 8003937a68
3 changed files with 14 additions and 0 deletions

View File

@ -188,6 +188,12 @@ textview { // This will get overridden by .view, needed by gedit line numbers
background-color: mix($bg_color, $base_color, 50%);
&:backdrop { background-color: mix($backdrop_bg_color, $backdrop_base_color, 50%); }
&:drop(active) {
&, & > text { box-shadow: none; }
> text { background-color: transparentize($drop_target_color, 0.9); }
}
}
%osd, .osd {

View File

@ -119,6 +119,10 @@ 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(90, 164, 17, 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 {

View File

@ -119,6 +119,10 @@ 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(115, 210, 22, 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 {