diff options
Diffstat (limited to 'client/src/sass/player/context-menu.scss')
-rw-r--r-- | client/src/sass/player/context-menu.scss | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/client/src/sass/player/context-menu.scss b/client/src/sass/player/context-menu.scss index ad673eea7..df78916c6 100644 --- a/client/src/sass/player/context-menu.scss +++ b/client/src/sass/player/context-menu.scss | |||
@@ -9,7 +9,8 @@ $context-menu-width: 350px; | |||
9 | .video-js .vjs-contextmenu-ui-menu { | 9 | .video-js .vjs-contextmenu-ui-menu { |
10 | position: absolute; | 10 | position: absolute; |
11 | background-color: rgba(0, 0, 0, 0.5); | 11 | background-color: rgba(0, 0, 0, 0.5); |
12 | padding: 5px 0; | 12 | padding: 8px 0; |
13 | border-radius: 4px; | ||
13 | width: $context-menu-width; | 14 | width: $context-menu-width; |
14 | 15 | ||
15 | .vjs-menu-content { | 16 | .vjs-menu-content { |
@@ -29,5 +30,30 @@ $context-menu-width: 350px; | |||
29 | &:hover { | 30 | &:hover { |
30 | background-color: rgba(255, 255, 255, 0.2); | 31 | background-color: rgba(255, 255, 255, 0.2); |
31 | } | 32 | } |
33 | |||
34 | [class^="vjs-icon-"] { | ||
35 | display: inline-flex; | ||
36 | position: relative; | ||
37 | top: 2px; | ||
38 | cursor: pointer; | ||
39 | width: 14px; | ||
40 | height: 14px; | ||
41 | background-color: white; | ||
42 | mask-size: cover; | ||
43 | margin-right: 0.8rem !important; | ||
44 | |||
45 | $icons: 'link-2', 'repeat', 'code', 'tick-white'; | ||
46 | |||
47 | @each $icon in $icons { | ||
48 | &[class$="-#{$icon}"] { | ||
49 | mask-image: url('#{$assets-path}/player/images/#{$icon}.svg'); | ||
50 | } | ||
51 | } | ||
52 | |||
53 | &[class$="-tick-white"] { | ||
54 | float: right; | ||
55 | margin: 0 !important; | ||
56 | } | ||
57 | } | ||
32 | } | 58 | } |
33 | } | 59 | } |