1
1
mirror of https://github.com/primer/css.git synced 2024-12-18 11:41:33 +03:00
css/modules/primer-utilities/lib/details.scss
2018-06-18 14:18:57 -07:00

19 lines
340 B
SCSS

// stylelint-disable selector-max-type
.details-overlay[open] > summary::before {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 80;
display: block;
cursor: default;
content: " ";
background: transparent;
}
.details-overlay-dark[open] > summary::before {
z-index: 99;
background: $black-fade-50;
}