author | ymh <ymh.work@gmail.com> |
Thu, 23 Feb 2017 18:59:04 +0100 | |
changeset 525 | c06db7aa1b10 |
parent 480 | 814468b0fc69 |
permissions | -rw-r--r-- |
477 | 1 |
.player-sound-control { |
2 |
||
3 |
& { |
|
4 |
margin: 0px 19px 0px 0px; |
|
5 |
font-size: 20px; |
|
6 |
} |
|
7 |
||
8 |
#sound-control-speaker { |
|
9 |
width: 2em; |
|
10 |
line-height: 80px; |
|
11 |
} |
|
12 |
||
13 |
#sound-control-speaker i { |
|
14 |
cursor: pointer; |
|
15 |
vertical-align: middle; |
|
16 |
} |
|
17 |
||
18 |
#sound-control-speaker i::before { |
|
19 |
font-size: 20px; |
|
20 |
} |
|
21 |
||
22 |
#sound-control-speaker i.fa-times::before { |
|
23 |
font-size: 16px; |
|
24 |
} |
|
25 |
||
26 |
#sound-control-speaker i.fa-volume-off+i.fa-times { |
|
27 |
display:inline-block; |
|
28 |
} |
|
29 |
||
30 |
#sound-control-speaker i.fa-times { |
|
31 |
display:none; |
|
32 |
} |
|
33 |
||
34 |
#sound-control-scale { |
|
35 |
background-color: $corpus-white; |
|
36 |
width: 1em; |
|
37 |
height: 90px; |
|
38 |
position: fixed; |
|
39 |
z-index: 1; |
|
40 |
display: none; |
|
41 |
} |
|
42 |
||
43 |
#sound-control-scale:hover { |
|
44 |
display: block; |
|
45 |
} |
|
46 |
||
47 |
.sound-control-scale-indicator { |
|
48 |
color: $corpus-black; |
|
49 |
text-align: center; |
|
50 |
display: table; |
|
51 |
margin: 0 auto; |
|
52 |
cursor: pointer; |
|
53 |
-webkit-touch-callout: none; /* iOS Safari */ |
|
54 |
-webkit-user-select: none; /* Chrome/Safari/Opera */ |
|
55 |
-khtml-user-select: none; /* Konqueror */ |
|
56 |
-moz-user-select: none; /* Firefox */ |
|
57 |
-ms-user-select: none; /* Internet Explorer/Edge */ |
|
58 |
user-select: none; |
|
59 |
} |
|
60 |
||
61 |
.sound-control-scale-indicator[disabled] { |
|
62 |
color: $corpus-grey; |
|
63 |
cursor: default; |
|
64 |
pointer-events: none; |
|
65 |
} |
|
66 |
||
479
e7df0b5b09b6
better cross browser compatibility, still pb with MS edge
ymh <ymh.work@gmail.com>
parents:
478
diff
changeset
|
67 |
#sound-control-range-wrapper { |
480
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
68 |
height: 50px; |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
69 |
margin-left: 8px; |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
70 |
} |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
71 |
|
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
72 |
|
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
73 |
.rangeslider--vertical { |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
74 |
width: 5px; |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
75 |
height: 50px; |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
76 |
min-height: 50px; |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
77 |
max-height: 100%; |
477 | 78 |
} |
79 |
||
480
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
80 |
.rangeslider__handle { |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
81 |
width: 11px; |
479
e7df0b5b09b6
better cross browser compatibility, still pb with MS edge
ymh <ymh.work@gmail.com>
parents:
478
diff
changeset
|
82 |
height: 11px; |
e7df0b5b09b6
better cross browser compatibility, still pb with MS edge
ymh <ymh.work@gmail.com>
parents:
478
diff
changeset
|
83 |
} |
480
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
84 |
|
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
85 |
.rangeslider__handle:after { |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
86 |
width: 5px; |
479
e7df0b5b09b6
better cross browser compatibility, still pb with MS edge
ymh <ymh.work@gmail.com>
parents:
478
diff
changeset
|
87 |
height: 5px; |
477 | 88 |
} |
89 |
||
480
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
90 |
.rangeslider--vertical .rangeslider__handle { |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
91 |
left: -4px |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
92 |
} |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
93 |
|
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
94 |
.rangeslider__fill { |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
95 |
background: $corpus-blue; |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
96 |
} |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
97 |
|
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
98 |
.rangeslider--disabled { |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
99 |
pointer-events: none; |
814468b0fc69
use rangeslider.js polyfill to ensure cross browser compatibility
ymh <ymh.work@gmail.com>
parents:
479
diff
changeset
|
100 |
} |
477 | 101 |
|
102 |
#sound-control-scale-minus { |
|
103 |
position: absolute; |
|
479
e7df0b5b09b6
better cross browser compatibility, still pb with MS edge
ymh <ymh.work@gmail.com>
parents:
478
diff
changeset
|
104 |
top: 70px; |
477 | 105 |
left: 7px; |
106 |
} |
|
107 |
||
108 |
} |