mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
It submits to the existing controller. I wanted to submit it with StimulusReflex, but it [doesn't support file uploads](https://docs.stimulusreflex.com/guide/working-with-forms.html#a-note-about-file-uploads). Perhaps we'll enhance this with javascript later.
25 lines
399 B
SCSS
25 lines
399 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;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
p {
|
|
margin-bottom: 0.5em;
|
|
}
|
|
}
|
|
|
|
/* prevent arrow on selected admin menu item appearing above modal */
|
|
body.modal-open #admin-menu li.selected a::after {
|
|
z-index: 0;
|
|
}
|