X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fplayer%2Fstats.scss;h=6fcbcd969874ea15111763e51f488c9f1146633e;hb=8beea2d37d90e9a12d895f4a9eebc1e532313d8c;hp=953f6032a3a8278721e2b7809d4abd552d296466;hpb=ff563914bb10728301a24fb9e548c9efb62387eb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/player/stats.scss b/client/src/sass/player/stats.scss index 953f6032a..6fcbcd969 100644 --- a/client/src/sass/player/stats.scss +++ b/client/src/sass/player/stats.scss @@ -6,6 +6,8 @@ $contextmenu-background-color: rgba(0, 0, 0, 0.6); .video-js { .vjs-stats-content { + @include transition(opacity 0.1s); + position: absolute; background-color: $contextmenu-background-color; padding: 5px 0; @@ -18,8 +20,6 @@ $contextmenu-background-color: rgba(0, 0, 0, 0.6); z-index: 64; font-size: 12px; line-height: 1.2; - - @include transition(opacity 0.1s); } .vjs-stats-close { @@ -38,5 +38,4 @@ $contextmenu-background-color: rgba(0, 0, 0, 0.6); width: 11.5em; white-space: nowrap; } - }