8,960
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Скрываем всплывающее окно по умолчанию */ | |||
.popup-overlay { | .popup-overlay { | ||
display: none; | |||
position: fixed; | position: fixed; | ||
top: 0; | top: 0; | ||
| Line 6: | Line 8: | ||
height: 100%; | height: 100%; | ||
background: rgba(0, 0, 0, 0.7); | background: rgba(0, 0, 0, 0.7); | ||
justify-content: center; | justify-content: center; | ||
align-items: center; | align-items: center; | ||
} | |||
/* Показываем всплывающее окно, если оно активно */ | |||
#concert-list-trigger:focus + .popup-overlay { | |||
display: flex; | |||
} | } | ||
| Line 26: | Line 32: | ||
font-size: 20px; | font-size: 20px; | ||
} | } | ||
/* Скрытие окна при потере фокуса */ | |||
.popup-overlay:focus-within { | |||
display: none; | |||
} | |||