year-view: render DnD selector on hover
This commit adds the ability to render a DnD square to give visual feedback for the hover operation.
This commit is contained in:
@@ -131,6 +131,11 @@ calendar-view.second-view-header {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.year-navigator.dnd {
|
||||
border: solid 1px #4e9a06;
|
||||
box-shadow: inset 0 0 0 1px #4e9a06;
|
||||
}
|
||||
|
||||
.year-navigator.with-events {
|
||||
background-color: @theme_fg_color;
|
||||
border-radius: 3px;
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<signal name="button-press-event" handler="navigator_button_press_cb" object="GcalYearView" swapped="yes"/>
|
||||
<signal name="button-release-event" handler="navigator_button_release_cb" object="GcalYearView" swapped="yes"/>
|
||||
<signal name="motion-notify-event" handler="navigator_motion_notify_cb" object="GcalYearView" swapped="yes"/>
|
||||
<signal name="drag-motion" handler="navigator_drag_motion_cb" object="GcalYearView" swapped="yes"/>
|
||||
<style>
|
||||
<class name="year-navigator"/>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user