picocss/scss/components/_popover.scss
Yohn 64373c2d44 RTL Dropdown Nav corrected thanks to @64bitint
Added popovers to possibly replace the notifications.
Started adding popover toasts
2024-12-13 19:43:12 -05:00

26 lines
533 B
SCSS

@use "sass:map";
@use "../settings" as *;
@if map.get($modules, "components/popover") {
#{$parent-selector} [popover] {
border-color: var(#{$css-var-prefix}primary);
&:popover-open {
margin: auto auto;
}
&::backdrop {
backdrop-filter: blur(3px);
background: rgba(0, 0, 0, 0.7);
}
button {
margin-top: -10px;
padding: 0;
border: 0 none;
background: transparent;
color: var(#{$css-var-prefix}primary);
font-size: 1.5em;
opacity: 0.8;
}
}
}