Blame view

node_modules/video.js/src/css/components/_control.scss 835 Bytes
2a09d1a4   liuqimichale   添加宜春 天水 宣化
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
36
37
  // vjs-control might be better named vjs-button now.
  // It's used on both real buttons (play button)
  // and div buttons (menu buttons)
  .video-js .vjs-control {
    position: relative;
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 4em;
    @include flex(none);
  
  }
  .vjs-button > .vjs-icon-placeholder:before {
    font-size: 1.8em;
    line-height: 1.67;
  
    @extend %icon-default;
  }
  
  // Replacement for focus outline
  .video-js .vjs-control:focus:before,
  .video-js .vjs-control:hover:before,
  .video-js .vjs-control:focus {
    text-shadow: 0em 0em 1em rgba($primary-foreground-color, 1);
  }
  
  // Hide control text visually, but have it available for screenreaders
  .video-js .vjs-control-text {
    @include hide-visually;
  }
  
  // IE 8 + 9 Support
  .vjs-no-flex .vjs-control {
    display: table-cell;
    vertical-align: middle;
  }