X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9b913776e3da4d4879c001b9379808897273c8fd..0f43b6ba435ae72565f7a1ccd942edfabc9d6d97:/src/wolnelektury/static/2022/styles/components/_media.scss?ds=sidebyside diff --git a/src/wolnelektury/static/2022/styles/components/_media.scss b/src/wolnelektury/static/2022/styles/components/_media.scss index e52708b87..c4af4ebd1 100644 --- a/src/wolnelektury/static/2022/styles/components/_media.scss +++ b/src/wolnelektury/static/2022/styles/components/_media.scss @@ -52,8 +52,10 @@ border-radius: 0 0 5px 5px; margin: 0 auto; display: flex; + gap: 10px; align-items: center; justify-content: space-between; + position: relative; .icons {} .content { @@ -76,6 +78,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 {