forked from AuroraMiddleware/gtk
Adwaita: textview drag hilight
This commit is contained in:
parent
b46f7223ac
commit
8003937a68
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user