X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ddf2102eff7ea420a4ea5144c43409587fc1156e..94a4fcc7ab9e1713dc2defc8b35c875fc90f6fa5:/src/wolnelektury/static/2022/styles/components/_media.scss diff --git a/src/wolnelektury/static/2022/styles/components/_media.scss b/src/wolnelektury/static/2022/styles/components/_media.scss index e52708b87..ebeb7aad2 100644 --- a/src/wolnelektury/static/2022/styles/components/_media.scss +++ b/src/wolnelektury/static/2022/styles/components/_media.scss @@ -54,6 +54,7 @@ display: flex; align-items: center; justify-content: space-between; + position: relative; .icons {} .content { @@ -76,6 +77,47 @@ font-size: 12px; line-height: 140%; } + + .c-media__settings { + position: absolute; + left: 0; + right: 0; + top: 0; + z-index: 5; + min-height: 30px; + overflow: hidden; + + .icon { + position: absolute; + transition: .5s rotate; + bottom: 0; + right: 0; + line-height: 30px; + width: 40px; + text-align: center; + margin: 0; + } + > div { + height: 0; + transition: .5s height; + overflow: hidden; + background: #F2F2F2; + border-bottom: 5px solid #D5ECED; + margin-top: -5px; + > div { + padding: 30px; + } + } + &.active { + .icon { + rotate: 180deg; + + } + > div { + height: 150px; + } + } + } } .c-media__popup {