aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/player/context-menu.scss
blob: ad673eea7525184c3c3518cc0eb1259ed436015e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@import '_variables';
@import '_mixins';
@import './_player-variables';

$context-menu-width: 350px;

/* Sass for videojs-contextmenu-ui */

.video-js .vjs-contextmenu-ui-menu {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 0;
  width: $context-menu-width;

  .vjs-menu-content {
    opacity: $primary-foreground-opacity;
    color: pvar(--embedForegroundColor);
    font-size: $font-size !important;
    font-weight: $font-semibold;
  }

  .vjs-menu-item {
    cursor: pointer;
    font-size: 1em;
    padding: 8px 16px;
    text-align: left;
    text-transform: none;

    &:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }
  }
}