aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/video-js-custom.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-29 16:45:29 +0100
committerChocobozzz <me@florianbigard.com>2018-01-29 16:52:43 +0100
commit80d1057bfcd3582af0dacf5ccd5a7a93ef95410b (patch)
tree84a75ad2cab2300097d62bed15ab675e54ee7676 /client/src/sass/video-js-custom.scss
parent13fb4de93befee792772284ffa70a952dc407148 (diff)
downloadPeerTube-80d1057bfcd3582af0dacf5ccd5a7a93ef95410b.tar.gz
PeerTube-80d1057bfcd3582af0dacf5ccd5a7a93ef95410b.tar.zst
PeerTube-80d1057bfcd3582af0dacf5ccd5a7a93ef95410b.zip
Add little effect on hover for the play button
Diffstat (limited to 'client/src/sass/video-js-custom.scss')
-rw-r--r--client/src/sass/video-js-custom.scss8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/sass/video-js-custom.scss b/client/src/sass/video-js-custom.scss
index 351ef21cd..8ff963573 100644
--- a/client/src/sass/video-js-custom.scss
+++ b/client/src/sass/video-js-custom.scss
@@ -42,6 +42,14 @@ $control-bar-height: 34px;
42 border: 0; 42 border: 0;
43 padding: 0 43 padding: 0
44 } 44 }
45
46 .vjs-icon-placeholder::before {
47 transition: text-shadow 0.3s;
48 }
49
50 &:hover .vjs-icon-placeholder::before {
51 text-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
52 }
45 } 53 }
46 54
47 &.vjs-has-started .vjs-big-play-button { 55 &.vjs-has-started .vjs-big-play-button {