From d96d9c09943ec4519ebf150d40b1dd9787a6e453 Mon Sep 17 00:00:00 2001 From: drfho Date: Tue, 6 Jun 2023 23:00:59 +0200 Subject: [PATCH] ZMI bigpict: highlight sub-elements onhover (RBZ) --- .../zpt/ZMSMetamodelProvider/manage_bigpicture.zpt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Products/zms/zpt/ZMSMetamodelProvider/manage_bigpicture.zpt b/Products/zms/zpt/ZMSMetamodelProvider/manage_bigpicture.zpt index 1af4a880..e0a00174 100644 --- a/Products/zms/zpt/ZMSMetamodelProvider/manage_bigpicture.zpt +++ b/Products/zms/zpt/ZMSMetamodelProvider/manage_bigpicture.zpt @@ -267,12 +267,18 @@ form.all-packages #toc { left:30em; margin-top:-2.5em; } +.box .ref:hover { + z-index:100000; +} .box .ref .cardinality { border-bottom:1px solid #C00; padding:2px; min-width:10em; font-size:smaller; } +.box .ref:hover .cardinality { + border-bottom: 3px solid #C00; +} .box .ref .attr { background-color:#FFE; border:1px solid #C00; @@ -282,6 +288,14 @@ form.all-packages #toc { font-size:smaller; margin-top:0.8em } +.box .ref:hover .attr { + cursor:pointer; + box-shadow:0 6px 16px -3px #0008; + background:#C00; + color:white; + border: 3px solid #C00; + transform:scale(1.1) +} @media print { ol.objlist {