aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/video-js-custom.scss
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-11 09:13:01 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-12-11 09:13:01 +0100
commita86309b4af9ad8391822f628d74fc5c7d1a01974 (patch)
tree74a9485767b8f740483587e206a1d753844ce47b /client/src/sass/video-js-custom.scss
parentb9828abe54723ebffd2aabdad870b157518472b1 (diff)
downloadPeerTube-a86309b4af9ad8391822f628d74fc5c7d1a01974.tar.gz
PeerTube-a86309b4af9ad8391822f628d74fc5c7d1a01974.tar.zst
PeerTube-a86309b4af9ad8391822f628d74fc5c7d1a01974.zip
Responsive player
Diffstat (limited to 'client/src/sass/video-js-custom.scss')
-rw-r--r--client/src/sass/video-js-custom.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss
index 1200c07a5..2fcfc6203 100644
--- a/client/src/sass/video-js-custom.scss
+++ b/client/src/sass/video-js-custom.scss
@@ -138,6 +138,14 @@ $control-bar-height: 34px;
138 text-align: right; 138 text-align: right;
139 padding-right: 60px; 139 padding-right: 60px;
140 140
141 .vjs-webtorrent-displayed {
142 display: block;
143 }
144
145 .vjs-webtorrent-hidden {
146 display: none;
147 }
148
141 .download-speed-number, .upload-speed-number, .peers-number { 149 .download-speed-number, .upload-speed-number, .peers-number {
142 font-weight: $font-semibold; 150 font-weight: $font-semibold;
143 } 151 }
@@ -303,6 +311,12 @@ $control-bar-height: 34px;
303 } 311 }
304 } 312 }
305 } 313 }
314
315 @media screen and (max-width: 450px) {
316 .vjs-webtorrent-displayed {
317 display: none !important;
318 }
319 }
306} 320}
307 321
308// Thanks: https://projects.lukehaas.me/css-loaders/ 322// Thanks: https://projects.lukehaas.me/css-loaders/
@@ -340,3 +354,4 @@ $control-bar-height: 34px;
340 } 354 }
341 } 355 }
342} 356}
357