diff --git a/Web/static/css/bsdn.css b/Web/static/css/bsdn.css index c8590ad1..6ed03359 100644 --- a/Web/static/css/bsdn.css +++ b/Web/static/css/bsdn.css @@ -2,7 +2,7 @@ width: 100%; position: relative; display: inline-flex; - font-family: sans-serif; + font-family: Tahoma, sans-serif; user-select: none; background-color: black; } @@ -55,7 +55,7 @@ p.bsdn_timeWrap { display: inline; margin: 0; - font-size: 10px; + font-size: 7pt; font-weight: bold; } @@ -104,6 +104,12 @@ button.bsdn_playButton { cursor: pointer; } +.bsdn_fullScreenButton > img:hover { + background: url("/assets/packages/static/openvk/img/bsdn/fullscreen_hover.gif"); + object-fit: none; + object-position: -64px 0; +} + .bsdn_teaserWrap { width: 100%; height: 100%; @@ -205,7 +211,8 @@ time.bsdn_timeFull { } .bsdn_teaserButton > img { - max-height: 69px; + max-height: 50px; + margin: 10px 0; } .bsdn_fullScreenButton > img, .bsdn_soundIcon { diff --git a/Web/static/img/bsdn/fullscreen_hover.gif b/Web/static/img/bsdn/fullscreen_hover.gif new file mode 100644 index 00000000..31db28b0 Binary files /dev/null and b/Web/static/img/bsdn/fullscreen_hover.gif differ diff --git a/Web/static/js/player.js b/Web/static/js/player.js index aa93e0b0..9cc30112 100644 --- a/Web/static/js/player.js +++ b/Web/static/js/player.js @@ -38,7 +38,9 @@ function _bsdnTpl(name, author) {
- +
@@ -192,7 +194,7 @@ function _bsdnEventListenerFactory(el, v) { ], pause: [ () => { - el.querySelector(".bsdn_playButton").innerHTML = "▶"; + el.querySelector(".bsdn_playButton").innerHTML = ""; el.querySelector(".bsdn-player").classList.remove("_bsdn_playing"); el.querySelector(".bsdn_teaserWrap").style.display = "flex"; }