window: Remove default drop target style

The default does not fit well with our new custom one.

This also removes a bunch of code which was not used.

Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/258>
This commit is contained in:
Sophie Herold 2023-07-15 20:43:01 +02:00
parent cf8fa499d9
commit 08a9c3e450
4 changed files with 24 additions and 29 deletions

View file

@ -31,17 +31,21 @@ row.property label.subtitle {
box-shadow: 0 0 10px rgba(0, 0, 0, 200);
}
.custom-drag-n-drop-highlight {
/* Remove default adwaita style */
.drop-widget:drop(active):focus,
.drop-widget:drop(active) {
box-shadow: none;
}
/* Drag overlay */
.lp-dragging-area-highlight {
border-radius: 8px;
background-color: alpha(@blue_2, 0.35);
margin: 24px;
}
lpprintpreview {
background-color: rgb(240, 240, 240);
border-radius: 4px;
box-shadow: 0 0 14px 1px black;
}
}