diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-11 15:25:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-11 15:25:46 +0200 |
commit | 2a19a1e4de848c8c60ef4b4e606770220b3a28df (patch) | |
tree | f4d37dc34887df5ade26fab2a25a741674b0d77c /client/src/sass/player/context-menu.scss | |
parent | f286060081609f9f96475da7f80225f47de92787 (diff) | |
download | PeerTube-2a19a1e4de848c8c60ef4b4e606770220b3a28df.tar.gz PeerTube-2a19a1e4de848c8c60ef4b4e606770220b3a28df.tar.zst PeerTube-2a19a1e4de848c8c60ef4b4e606770220b3a28df.zip |
Split player sass file
Diffstat (limited to 'client/src/sass/player/context-menu.scss')
-rw-r--r-- | client/src/sass/player/context-menu.scss | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/client/src/sass/player/context-menu.scss b/client/src/sass/player/context-menu.scss new file mode 100644 index 000000000..71d6d1b1d --- /dev/null +++ b/client/src/sass/player/context-menu.scss | |||
@@ -0,0 +1,33 @@ | |||
1 | @import '_variables'; | ||
2 | @import '_mixins'; | ||
3 | @import './_player-variables'; | ||
4 | |||
5 | $context-menu-width: 350px; | ||
6 | |||
7 | /* Sass for videojs-contextmenu-ui */ | ||
8 | |||
9 | .video-js .vjs-contextmenu-ui-menu { | ||
10 | position: absolute; | ||
11 | background-color: rgba(0, 0, 0, 0.5); | ||
12 | padding: 5px 0; | ||
13 | width: $context-menu-width; | ||
14 | |||
15 | .vjs-menu-content { | ||
16 | opacity: $primary-foreground-opacity; | ||
17 | color: $primary-foreground-color; | ||
18 | font-size: $font-size !important; | ||
19 | font-weight: $font-semibold; | ||
20 | } | ||
21 | |||
22 | .vjs-menu-item { | ||
23 | cursor: pointer; | ||
24 | font-size: 1em; | ||
25 | padding: 8px 16px; | ||
26 | text-align: left; | ||
27 | text-transform: none; | ||
28 | |||
29 | &:hover { | ||
30 | background-color: rgba(255, 255, 255, 0.2); | ||
31 | } | ||
32 | } | ||
33 | } \ No newline at end of file | ||