aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/player/bezels.scss
blob: b8c3325d00ad4f575632c71f3be68e112a6d5599 (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
34
35
@keyframes bezels-fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(2);
  }
}

.vjs-bezel {
  @include margin-left(-26px);

  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  z-index: 19;
  margin-top: -26px;
  background: rgba(0, 0, 0, .5);
  border-radius: 26px;
  animation: bezels-fadeout .5s linear 1 normal forwards;
  pointer-events: none;
}

.vjs-bezel-icon {
  width: 36px;
  height: 36px;
  margin: 8px;

  svg .vjs-svg-fill {
    fill: #fff;
  }
}