dh-countdownsplus/styles/module.css

34 lines
No EOL
1.2 KiB
CSS

/* Movable Countdowns Styling */
/* Override system positioning constraints */
.movable-countdowns.daggerheart.dh-style.countdowns {
position: fixed !important;
/* Managed by AppV2 */
/* Reset system specific "docked" positioning */
right: auto !important;
align-self: auto !important;
margin: 0 !important;
transition: none !important;
/* Disable system transition for sliding */
box-shadow: 0 0 10px #000;
/* Add shadow for popping out */
/* User request: Prevent resizing larger than content */
max-width: fit-content !important;
max-height: fit-content !important;
}
/* Ensure window header is visible/draggable */
.movable-countdowns .window-header {
cursor: grab !important;
}
/* Ensure background image works if it relied on parent classes */
/* System uses .theme-dark .daggerheart.dh-style.countdowns */
/* If the body has theme-dark, this should still work. */
/* Hide system tracker when detached */
/* Exclude .movable-countdowns explicitly to prevent self-hiding if classes leak or overlap */
body.dh-countdowns-detached .daggerheart.dh-style.countdowns.faded-ui:not(.movable-countdowns) {
display: none !important;
}