summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-08-09 13:49:51 -0500
committerGitHub <noreply@github.com>2019-08-09 13:49:51 -0500
commitf6f176afc1790fe13cdde324a45a84561381122b (patch)
tree1d8a0e47ba3ba825da7eb779bf7da9fb09c99533 /assets
parent3de37a61c51e0fea89fdd9d5be713a82bb366da5 (diff)
parent46577fb1285e99ca60438d575c9eb0542cde52b0 (diff)
downloadinvidious-f6f176afc1790fe13cdde324a45a84561381122b.tar.gz
invidious-f6f176afc1790fe13cdde324a45a84561381122b.tar.bz2
invidious-f6f176afc1790fe13cdde324a45a84561381122b.zip
Merge pull request #680 from leonklingele/add-player-styles
Add support for player styles
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index c527cbca..4b81d9f5 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -433,3 +433,22 @@ video.video-js {
.pure-control-group label {
word-wrap: normal;
}
+
+.video-js.player-style-invidious {
+ /* This is already the default */
+}
+
+.video-js.player-style-youtube .vjs-control-bar {
+ display: flex;
+ flex-direction: row;
+}
+.video-js.player-style-youtube .vjs-big-play-button {
+ /*
+ Styles copied from video-js.min.css, definition of
+ .vjs-big-play-centered .vjs-big-play-button
+ */
+ top: 50%;
+ left: 50%;
+ margin-top: -.81666em;
+ margin-left: -1.5em;
+}