From 48484349148893b8761ef39d4b0e4b4bf59835f6 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Mon, 4 Jan 2021 14:17:00 +0000 Subject: [PATCH] Improve styles for interactive pop-up windows The title bar of floating windows that can be dragged now shows a "grab" cursor when hovered, and a "grabbing" cursor when being dragged. The buttons in those windows, which are clickable, now show the `pointer` (hand) cursor, instead of the `default` (regular arrow) cursor. --- src/style/main.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/style/main.css b/src/style/main.css index 07a23cd2..cd15030a 100644 --- a/src/style/main.css +++ b/src/style/main.css @@ -260,6 +260,14 @@ body.hgMode .visBackgroundColor { min-height: 400px; } +div.ui-draggable-handle { + cursor: grab; +} + +div.ui-draggable-dragging div.ui-draggable-handle { + cursor: grabbing; +} + div.canvasTerminalHolder > div.terminal-window-holder > div.wrapper { height: 100%; box-shadow: 0 0 12px rgb(0,0,0); @@ -433,6 +441,10 @@ div.toolbar > div.controls div.box.flex1 div:hover { } +div.ui-draggable div.controls div.box.flex1 div { + cursor: pointer; +} + div.controls div.box.flex1 div.close { background-color: #fb625f; }