X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a8282aa69e00292bec986722c5230ff89f96f450..0eedef1eafceaaa3f4f78b014236bf642be2807b:/src/wolnelektury/static/2022/styles/components/_player.scss diff --git a/src/wolnelektury/static/2022/styles/components/_player.scss b/src/wolnelektury/static/2022/styles/components/_player.scss index fbc861c31..9e4095088 100644 --- a/src/wolnelektury/static/2022/styles/components/_player.scss +++ b/src/wolnelektury/static/2022/styles/components/_player.scss @@ -31,8 +31,13 @@ color: #007880; font-size: 26px; position: relative; - left: 3px; - transition: all $ease-dynamic 350ms; + transition: background $ease-dynamic 350ms; + &.icon-play { + left: 3px; + } + &.icon-pause { + left: 1px; + } } } @@ -64,13 +69,20 @@ height: 10px; width: 100%; display: block; - background: #FFFFFF; + background: #F2F2F2; border-radius: 5px; position: relative; overflow: hidden; - span { - width: 40%; + span.jp-seek-bar { + height: 100%; + position: absolute; + border-radius: 5px; + background-color: #FFFFFF; + top: 0; left: 0; + } + + span.jp-play-bar { height: 100%; position: absolute; border-radius: 5px; @@ -80,6 +92,20 @@ } } + +.c-player__title { + top: -27px; + left: 0; + position: absolute; + font-style: normal; + font-weight: normal; + font-size: 12px; + line-height: 140%; + letter-spacing: 0.05em; + color: #083F4D; +} + + .c-player__info { top: -27px; right: 0; @@ -97,7 +123,7 @@ display: block; position: relative; - span { + > span { position: absolute; padding-top: 10px; font-style: normal;