diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-11 10:02:17 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-11 10:02:17 +0100 |
commit | 20206dfb0bfe1537912ae0a5b99f2fa40c881d33 (patch) | |
tree | 1b51dca6bce2d0dc1c2c667dd13af1ddc50baca1 /client/src/sass/video-js-custom.scss | |
parent | 9b7d1c723d7c11572d91d606954997e413f56a1f (diff) | |
download | PeerTube-20206dfb0bfe1537912ae0a5b99f2fa40c881d33.tar.gz PeerTube-20206dfb0bfe1537912ae0a5b99f2fa40c881d33.tar.zst PeerTube-20206dfb0bfe1537912ae0a5b99f2fa40c881d33.zip |
Fix loading spinner in player
Diffstat (limited to 'client/src/sass/video-js-custom.scss')
-rw-r--r-- | client/src/sass/video-js-custom.scss | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss index 2fcfc6203..fe9495e77 100644 --- a/client/src/sass/video-js-custom.scss +++ b/client/src/sass/video-js-custom.scss | |||
@@ -28,10 +28,6 @@ $control-bar-height: 34px; | |||
28 | $big-play-width: 3em; | 28 | $big-play-width: 3em; |
29 | $big-play-height: 1.5em; | 29 | $big-play-height: 1.5em; |
30 | 30 | ||
31 | line-height: $big-play-height; | ||
32 | height: $big-play-height; | ||
33 | width: $big-play-width; | ||
34 | |||
35 | border: 0; | 31 | border: 0; |
36 | border-radius: 0.3em; | 32 | border-radius: 0.3em; |
37 | 33 | ||
@@ -39,10 +35,7 @@ $control-bar-height: 34px; | |||
39 | top: 50%; | 35 | top: 50%; |
40 | margin-left: -($big-play-width / 2); | 36 | margin-left: -($big-play-width / 2); |
41 | margin-top: -($big-play-height / 2); | 37 | margin-top: -($big-play-height / 2); |
42 | } | 38 | background-color: transparent !important; |
43 | |||
44 | &:hover .vjs-big-play-button { | ||
45 | background-color: transparent; | ||
46 | } | 39 | } |
47 | 40 | ||
48 | .vjs-control-bar, | 41 | .vjs-control-bar, |
@@ -321,13 +314,8 @@ $control-bar-height: 34px; | |||
321 | 314 | ||
322 | // Thanks: https://projects.lukehaas.me/css-loaders/ | 315 | // Thanks: https://projects.lukehaas.me/css-loaders/ |
323 | .vjs-loading-spinner { | 316 | .vjs-loading-spinner { |
324 | margin: 0 !important; | ||
325 | //position: absolute; | ||
326 | // 15px is the nav bar height | ||
327 | top: calc(50% - 15px); | ||
328 | left: 50%; | 317 | left: 50%; |
329 | font-size: 10px; | 318 | font-size: 10px; |
330 | position: relative; | ||
331 | text-indent: -9999em; | 319 | text-indent: -9999em; |
332 | border: 0.7em solid rgba(255, 255, 255, 0.2); | 320 | border: 0.7em solid rgba(255, 255, 255, 0.2); |
333 | border-left-color: #ffffff; | 321 | border-left-color: #ffffff; |