diff --git a/ZGUI.css b/ZGUI.css index 7ea61e4..4f62764 100644 --- a/ZGUI.css +++ b/ZGUI.css @@ -151,6 +151,29 @@ button:not(.tablinks):not(.action-btn):not(.editor-source-tab):not(.status-state color: var(--mu-green-dark); } +/* Short action confirmations follow the TRIMSP-NL pattern: visible beside the + initiating control, non-blocking, and automatically dismissed. */ +.transient-warning { + background: #fff1c9; + border: 1px solid #c79824; + border-radius: 7px; + box-shadow: 0 7px 20px rgba(31, 39, 33, 0.17); + box-sizing: border-box; + color: #523c08; + line-height: 1.35; + max-width: min(380px, calc(100vw - 24px)); + opacity: 0; + padding: 9px 12px; + pointer-events: none; + position: fixed; + transition: opacity 0.2s ease; + z-index: 2000; +} + +.transient-warning.visible { + opacity: 1; +} + /* Persistent workflow actions. These controls apply across tabs, so they sit outside the Runs form and stay visible while the user edits parameters, constraints, or the MSR text. */ diff --git a/index.html b/index.html index bfebff9..bb10a8d 100644 --- a/index.html +++ b/index.html @@ -37,7 +37,8 @@ -