| 1 |
.has-ep-search-modal { |
| 2 |
overflow: hidden; |
| 3 |
} |
| 4 |
|
| 5 |
.ep-search-modal { |
| 6 |
--ep-search-modal-focus-within: 0; |
| 7 |
background-color: rgba(43, 46, 56, 0.9); |
| 8 |
bottom: 0; |
| 9 |
display: flex; |
| 10 |
left: 0; |
| 11 |
position: fixed; |
| 12 |
right: 0; |
| 13 |
top: 0; |
| 14 |
z-index: 9999; |
| 15 |
|
| 16 |
@nest .rtl & { |
| 17 |
direction: rtl; |
| 18 |
text-align: right; |
| 19 |
} |
| 20 |
|
| 21 |
@nest .admin-bar & { |
| 22 |
top: 32px; |
| 23 |
|
| 24 |
@media ( max-width: 782px ) { |
| 25 |
top: 46px; |
| 26 |
} |
| 27 |
} |
| 28 |
|
| 29 |
&[aria-hidden="true"] { |
| 30 |
display: none; |
| 31 |
} |
| 32 |
|
| 33 |
&:focus-within { |
| 34 |
--ep-search-modal-focus-within: 1; |
| 35 |
} |
| 36 |
} |
| 37 |
|
| 38 |
.ep-search-modal__content { |
| 39 |
background-color: var(--ep-search-background-color); |
| 40 |
bottom: 0; |
| 41 |
display: flex; |
| 42 |
flex-direction: column; |
| 43 |
left: 0; |
| 44 |
position: absolute; |
| 45 |
right: 0; |
| 46 |
top: 0; |
| 47 |
|
| 48 |
@media ( min-width: 768px ) { |
| 49 |
bottom: 1em; |
| 50 |
margin: 0 auto; |
| 51 |
max-width: calc(100% - 2em); |
| 52 |
top: 1em; |
| 53 |
width: 80em; |
| 54 |
} |
| 55 |
} |
| 56 |
|
| 57 |
.ep-search-modal__close { |
| 58 |
align-self: flex-end; |
| 59 |
padding: 1em !important; |
| 60 |
} |
| 61 |
|