aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/sass/player/context-menu.scss
blob: ad673eea7525184c3c3518cc0eb1259ed436015e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                         
                                        














                                                 
 
@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);
    }
  }
}