This is useful for elements which have a click handler defined, but the
action of that handler is dependent on some condition. Without adding
pointer-events:none; the element would be displayed as clickable.

Signed-off-by: Michael Köppl <[email protected]>
---
 src/proxmox-dark/scss/proxmox/_general.scss | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/proxmox-dark/scss/proxmox/_general.scss 
b/src/proxmox-dark/scss/proxmox/_general.scss
index 1342f02..35a5a01 100644
--- a/src/proxmox-dark/scss/proxmox/_general.scss
+++ b/src/proxmox-dark/scss/proxmox/_general.scss
@@ -42,3 +42,8 @@ div.eol-notice + div[id^="panel-"] > 
div[id^="panel-"][id$="-bodyWrap"] > div {
 .pmx-hint a:active {
   color: $highlighted-text;
 }
+
+// Unclickable elements (mostly for elements with conditional handlers)
+.pmx-unclickable {
+  pointer-events: none;
+}
-- 
2.47.3



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to