From a3ddf5a673c4706d03b340c11779b621f699ff48 Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Fri, 23 Jan 2026 10:54:06 +0100 Subject: [PATCH] fix? --- glance-system/glance-orsi.yaml | 37 ++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/glance-system/glance-orsi.yaml b/glance-system/glance-orsi.yaml index e40cd8b..b854f57 100644 --- a/glance-system/glance-orsi.yaml +++ b/glance-system/glance-orsi.yaml @@ -1206,18 +1206,47 @@ data: } /* ========================================================================= - Fix black borders - make them purple-tinted for ALL widgets + Fix borders - make them more visible purple ========================================================================= */ .widget { - border: 1px solid rgba(226, 146, 255, 0.15) !important; + border: 1px solid rgba(226, 146, 255, 0.3) !important; } - /* Widget headers should also have purple border if they have one */ + /* Widget headers border */ .widget-header { - border-bottom-color: rgba(226, 146, 255, 0.15) !important; + border-bottom-color: rgba(226, 146, 255, 0.25) !important; } + /* ========================================================================= + Fix iframe widget - overlay should not cover the header + ========================================================================= */ + + /* Make the iframe widget header appear above the overlay */ + .widget.widget-type-iframe > .widget-header { + position: relative; + z-index: 3; + } + + /* Alternative: adjust overlay to only cover the content area */ + .widget.widget-type-iframe::after { + content: ""; + position: absolute; + top: 45px; /* Skip the header area - adjust if header height differs */ + left: 0; + right: 0; + bottom: 0; + z-index: 2; + pointer-events: none; + border-radius: 0 0 12px 12px; + background: rgba(226, 146, 255, 0.16); + } + + /* If iframe has no header (frameless), cover the whole thing */ + .widget.widget-type-iframe.widget-content-frameless::after { + top: 0; + border-radius: 12px; + } /* ========================================================================= Forcing transparency on no-tint iframes ========================================================================= */