mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-18 04:39:14 +00:00
The style was already being shared with a sibling component. Now we can instantiate a plain old 'modal'.
15 lines
326 B
SCSS
15 lines
326 B
SCSS
// class name 'modal' is already taken by 'custom-alert' and 'custom-confirm'.
|
|
.modal-component {
|
|
visibility: visible;
|
|
position: fixed;
|
|
top: 3em;
|
|
&.in {
|
|
padding: 1.2rem;
|
|
}
|
|
}
|
|
|
|
/* prevent arrow on selected admin menu item appearing above modal */
|
|
body.modal-open #admin-menu li.selected a::after {
|
|
z-index: 0;
|
|
}
|