X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/24721591455e048cffca365384e6759daae05916..40ea08ada00c0ad2e2b08718a27b7d046ae4035b:/src/wolnelektury/static/2021/css/components/_media.scss?ds=inline diff --git a/src/wolnelektury/static/2021/css/components/_media.scss b/src/wolnelektury/static/2021/css/components/_media.scss index 80f50b4d0..86c9c6cad 100644 --- a/src/wolnelektury/static/2021/css/components/_media.scss +++ b/src/wolnelektury/static/2021/css/components/_media.scss @@ -62,3 +62,134 @@ margin: 0; } } + +.c-media__popup { + position: fixed; + z-index: 10; + top: 0; + left: 0; + width: 100%; + height: 100%; + align-items: center; + justify-content: center; + background-color: rgba($color-white, 0.75); + display: none; + + &.is-open { + display: flex; + } +} + +.c-media__popup__box { + background-color: white; + border: 1px solid #CCCCCC; + padding: 40px; + min-width: 640px; + position: relative; +} + +.c-media__popup__box__lead { + padding-bottom: 30px; + border-bottom: 2px solid #666666; + + h2 { + font-weight: bold; + font-size: 24px; + line-height: 125%; + letter-spacing: -0.01em; + color: #666666; + margin-top: 0; + } + + p { + font-weight: normal; + font-size: 16px; + line-height: 19px; + letter-spacing: 0.01em; + color: #666666; + margin-top: 0; + } +} + +.c-media__popup__box__item { + display: flex; + align-items: center; + justify-content: space-between; + width: 100%; + padding: 20px 0; + + &:not(:last-child) { + border-bottom: 1px solid #666666; + } + + h3 { + font-weight: bold; + font-size: 16px; + line-height: 19px; + letter-spacing: 0.01em; + color: #666666; + margin-top: 0; + } + + p { + font-weight: normal; + font-size: 16px; + line-height: 19px; + letter-spacing: 0.01em; + color: #666666; + margin-top: 10px; + max-width: 390px; + } + + ul { + list-style: none; + padding: 0; + margin: 10px 0 0; + + li { + line-height: 1; + + &:not(:last-child) { + margin-bottom: 15px; + } + + a { + font-weight: normal; + font-size: 14px; + line-height: 16px; + letter-spacing: 0.01em; + text-decoration: underline; + color: #666666; + + &:hover { + text-decoration: none; + } + } + } + } + + .l-button { + padding: 6px 10px; + min-width: 120px; + display: block; + text-align: center; + } +} + +.c-media__popup__close { + position: absolute; + padding: 0; + border: 0; + outline: 0; + cursor: pointer; + font-size: 0; + background-color: transparent; + top: 35px; + right: 40px; + transition: all $ease-dynamic 350ms; + opacity: 0.75; + + &:hover { + opacity: 1; + } +}