2023-01-25 15:13:56 +00:00
|
|
|
.pop-up
|
2023-03-23 12:54:00 +00:00
|
|
|
width: 100%
|
2023-01-25 15:13:56 +00:00
|
|
|
height: 100vh
|
|
|
|
|
|
|
|
position: fixed
|
2023-03-23 12:54:00 +00:00
|
|
|
inset: 0
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
display: none
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
background-color: $bg-transparent
|
2023-01-25 15:13:56 +00:00
|
|
|
opacity: 0
|
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
z-index: 101
|
2023-01-25 15:13:56 +00:00
|
|
|
transition: opacity 0.2s ease
|
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
.pop-up__click-off
|
2023-03-14 22:07:17 +00:00
|
|
|
width: 100%
|
2023-03-10 15:55:34 +00:00
|
|
|
height: 100vh
|
2023-03-01 23:29:34 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
position: absolute
|
|
|
|
top: 0
|
|
|
|
left: 0
|
2023-03-01 23:29:34 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
z-index: +1
|
2023-03-01 23:29:34 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
.pop-up-wrapper
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
width: 621px
|
|
|
|
height: auto
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
position: absolute
|
|
|
|
bottom: 50%
|
|
|
|
left: 50%
|
|
|
|
transform: translate(-50%, 50%) scale(0.8)
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
display: flex
|
|
|
|
flex-direction: column
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-30 15:51:06 +00:00
|
|
|
background-color: RGB($bg-200)
|
2023-03-10 15:55:34 +00:00
|
|
|
border-radius: $rad
|
|
|
|
overflow: hidden
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
z-index: +2
|
|
|
|
transition: transform 0.2s $animation-smooth
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-30 15:51:06 +00:00
|
|
|
.pop-up-header
|
2023-03-10 15:55:34 +00:00
|
|
|
margin: 0
|
2023-03-15 17:03:24 +00:00
|
|
|
padding: 1rem
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
width: 100%
|
|
|
|
height: auto
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
display: flex
|
|
|
|
flex-direction: column
|
2023-03-23 22:22:52 +00:00
|
|
|
gap: 0.5rem
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
overflow-y: auto
|
|
|
|
overflow-x: hidden
|
2023-03-23 12:54:00 +00:00
|
|
|
text-size-adjust: auto
|
2023-03-10 15:55:34 +00:00
|
|
|
text-overflow: ellipsis
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-30 15:51:06 +00:00
|
|
|
h2, h3
|
2023-03-10 15:55:34 +00:00
|
|
|
margin: 0
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
width: 100%
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
position: sticky
|
|
|
|
top: 0
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-23 22:22:52 +00:00
|
|
|
font-size: 1.5rem
|
|
|
|
font-weight: 800
|
2023-03-10 15:55:34 +00:00
|
|
|
text-align: center
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($fg-white)
|
2023-03-10 15:55:34 +00:00
|
|
|
|
|
|
|
p
|
|
|
|
margin: 0
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
width: 100%
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
font-size: 1rem
|
|
|
|
font-weight: 500
|
|
|
|
text-align: center
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($fg-white)
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-23 15:47:35 +00:00
|
|
|
svg
|
|
|
|
width: 1rem
|
|
|
|
height: 1rem
|
|
|
|
|
|
|
|
display: inline-block
|
|
|
|
vertical-align: middle
|
|
|
|
|
|
|
|
a, .link
|
|
|
|
font-size: 1rem
|
|
|
|
font-weight: 500
|
|
|
|
text-align: center
|
|
|
|
line-height: 1
|
|
|
|
|
2023-03-25 16:22:32 +00:00
|
|
|
color: RGB($primary)
|
2023-03-23 15:47:35 +00:00
|
|
|
|
|
|
|
cursor: pointer
|
|
|
|
text-decoration: none
|
|
|
|
|
|
|
|
&:hover
|
|
|
|
text-decoration: underline
|
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
img
|
|
|
|
margin: auto
|
|
|
|
padding: 0
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
width: auto
|
|
|
|
height: auto
|
|
|
|
max-width: 100%
|
|
|
|
max-height: 40vh
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
border-radius: $rad-inner
|
|
|
|
|
|
|
|
form
|
|
|
|
margin: 0
|
|
|
|
padding: 0
|
|
|
|
|
|
|
|
width: 100%
|
|
|
|
height: auto
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
display: flex
|
|
|
|
flex-direction: column
|
|
|
|
gap: 0.5rem
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
justify-content: center
|
|
|
|
|
|
|
|
.pop-up-controlls
|
2023-01-25 15:13:56 +00:00
|
|
|
margin: 0
|
2023-03-25 16:22:32 +00:00
|
|
|
padding: 0.25rem
|
2023-01-25 15:13:56 +00:00
|
|
|
|
|
|
|
width: 100%
|
|
|
|
height: auto
|
|
|
|
|
|
|
|
display: flex
|
2023-03-10 15:55:34 +00:00
|
|
|
flex-direction: row
|
|
|
|
justify-content: flex-end
|
2023-03-25 16:22:32 +00:00
|
|
|
gap: 0.25rem
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-30 15:51:06 +00:00
|
|
|
background-color: RGB($bg-100)
|
2023-03-15 17:03:24 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
&.active
|
|
|
|
opacity: 1
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
.pop-up-wrapper
|
|
|
|
transform: translate(-50%, 50%) scale(1)
|
2023-01-25 15:13:56 +00:00
|
|
|
|
|
|
|
@media (max-width: $breakpoint)
|
|
|
|
.pop-up
|
2023-03-10 15:55:34 +00:00
|
|
|
.pop-up-wrapper
|
2023-03-23 15:47:35 +00:00
|
|
|
width: calc(100% - 0.75rem)
|
2023-03-23 12:54:00 +00:00
|
|
|
max-height: 95vh
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
.pop-up-content
|
|
|
|
max-height: 100%
|
2023-03-02 13:19:10 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
img
|
|
|
|
max-height: 50vh
|
2023-03-02 13:19:10 +00:00
|
|
|
|
2023-03-23 12:54:00 +00:00
|
|
|
.pop-up-controlls button
|
|
|
|
width: 100%
|
2023-01-25 15:13:56 +00:00
|
|
|
|
2023-03-10 15:55:34 +00:00
|
|
|
&.active
|
2023-03-23 12:54:00 +00:00
|
|
|
opacity: 1
|