diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-08 20:35:52 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-12-09 09:16:08 +0100 |
commit | 41f8f6207a25b75c69120cabe9b0571ac055f2ec (patch) | |
tree | d1e1a11108fd0f88c544e4459dbf38c56f126c5a /client | |
parent | 6f6e89dbc2e28759065c8a54cfb54e1bf381111a (diff) | |
download | PeerTube-41f8f6207a25b75c69120cabe9b0571ac055f2ec.tar.gz PeerTube-41f8f6207a25b75c69120cabe9b0571ac055f2ec.tar.zst PeerTube-41f8f6207a25b75c69120cabe9b0571ac055f2ec.zip |
miniature duration visibility and overlay background opacity
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/shared/video/video-thumbnail.component.scss | 1 | ||||
-rw-r--r-- | client/src/sass/include/_miniature.scss | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-thumbnail.component.scss b/client/src/app/shared/video/video-thumbnail.component.scss index 469b659e9..e48629778 100644 --- a/client/src/app/shared/video/video-thumbnail.component.scss +++ b/client/src/app/shared/video/video-thumbnail.component.scss | |||
@@ -28,5 +28,6 @@ | |||
28 | border-radius: 3px; | 28 | border-radius: 3px; |
29 | font-size: 12px; | 29 | font-size: 12px; |
30 | font-weight: $font-bold; | 30 | font-weight: $font-bold; |
31 | z-index: 1; | ||
31 | } | 32 | } |
32 | } | 33 | } |
diff --git a/client/src/sass/include/_miniature.scss b/client/src/sass/include/_miniature.scss index 4a1780b3f..b0e07d61a 100644 --- a/client/src/sass/include/_miniature.scss +++ b/client/src/sass/include/_miniature.scss | |||
@@ -45,7 +45,7 @@ $play-overlay-width: 18px; | |||
45 | width: inherit; | 45 | width: inherit; |
46 | height: inherit; | 46 | height: inherit; |
47 | opacity: 0; | 47 | opacity: 0; |
48 | background-color: rgba(0, 0, 0, 0.7); | 48 | background-color: rgba(0, 0, 0, 0.3); |
49 | 49 | ||
50 | &, .icon { | 50 | &, .icon { |
51 | transition: all $play-overlay-transition; | 51 | transition: all $play-overlay-transition; |