Blame view

node_modules/video.js/src/css/components/menu/_menu-inline.scss 1.4 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
  .video-js .vjs-menu-button-inline {
    @include transition(all 0.4s);
    overflow: hidden;
  }
  
  .video-js .vjs-menu-button-inline:before {
    // Icon pseudoelement has a different base font size (1.8em), so we need to
    // account for that in the width. 4em (standard button width) divided by 1.8
    // to get the same button width as normal.
    width: 2.222222222em;
  }
  
  // Hover state
  .video-js .vjs-menu-button-inline:hover,
  .video-js .vjs-menu-button-inline:focus,
  .video-js .vjs-menu-button-inline.vjs-slider-active,
  .video-js.vjs-no-flex .vjs-menu-button-inline {
    // This width is currently specific to the inline volume bar.
    width: 12em;
  }
  
  .vjs-menu-button-inline .vjs-menu {
    opacity: 0;
    height: 100%;
    width: auto;
  
    position: absolute;
    left: 4em;
    top: 0;
  
    padding: 0;
    margin: 0;
  
    @include transition(all 0.4s);
  }
  
  .vjs-menu-button-inline:hover .vjs-menu,
  .vjs-menu-button-inline:focus .vjs-menu,
  .vjs-menu-button-inline.vjs-slider-active .vjs-menu {
    display: block;
    opacity: 1;
  }
  
  .vjs-no-flex .vjs-menu-button-inline .vjs-menu {
    display: block;
    opacity: 1;
    position: relative;
    width: auto;
  }
  
  .vjs-no-flex .vjs-menu-button-inline:hover .vjs-menu,
  .vjs-no-flex .vjs-menu-button-inline:focus .vjs-menu,
  .vjs-no-flex .vjs-menu-button-inline.vjs-slider-active .vjs-menu {
    width: auto;
  }
  
  .vjs-menu-button-inline .vjs-menu-content {
    width: auto;
    height: 100%;
    margin: 0;
    overflow: hidden;
  }