fix?
This commit is contained in:
@@ -1206,18 +1206,47 @@ data:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* =========================================================================
|
/* =========================================================================
|
||||||
Fix black borders - make them purple-tinted for ALL widgets
|
Fix borders - make them more visible purple
|
||||||
========================================================================= */
|
========================================================================= */
|
||||||
|
|
||||||
.widget {
|
.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 {
|
.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
|
Forcing transparency on no-tint iframes
|
||||||
========================================================================= */
|
========================================================================= */
|
||||||
|
|||||||
Reference in New Issue
Block a user