Mercurial > hg > webaudioevaluationtool
comparison interfaces/horizontal-sliders.css @ 472:23f77550b842 Dev_main
Added new horizontal slider class. Launched using ABC test interface.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Wed, 13 Jan 2016 12:27:38 +0000 |
parents | |
children | 9ae9d1fb80bf |
comparison
equal
deleted
inserted
replaced
471:3a9b869ba7f8 | 472:23f77550b842 |
---|---|
1 /* | |
2 * Hold any style information for MUSHRA interface. Customise if you like to make the interface your own! | |
3 * | |
4 */ | |
5 body { | |
6 /* Set the background colour (note US English spelling) to grey*/ | |
7 background-color: #ddd | |
8 } | |
9 | |
10 div.pageTitle { | |
11 width: auto; | |
12 height: 20px; | |
13 margin: 10px 0px; | |
14 } | |
15 | |
16 div.pageTitle span{ | |
17 font-size: 1.5em; | |
18 } | |
19 | |
20 div.testHalt { | |
21 /* Specify any colouring during the test halt for pre/post questions */ | |
22 background-color: rgba(0,0,0,0.5); | |
23 /* Don't mess with this bit */ | |
24 z-index: 2; | |
25 width: 100%; | |
26 height: 100%; | |
27 position: absolute; | |
28 left: 0px; | |
29 top: 0px; | |
30 } | |
31 | |
32 button { | |
33 /* Specify any button structure or style */ | |
34 min-width: 20px; | |
35 background-color: #ddd | |
36 } | |
37 | |
38 div#slider-holder { | |
39 height: inherit; | |
40 position: absolute; | |
41 left: 0px; | |
42 z-index: 3; | |
43 margin-top:25px; | |
44 } | |
45 | |
46 div#scale-holder { | |
47 height: inherit; | |
48 position: absolute; | |
49 left: 0px; | |
50 z-index: 2; | |
51 } | |
52 | |
53 div#scale-text-holder { | |
54 position:relative; | |
55 float: left; | |
56 } | |
57 div.scale-text { | |
58 position: absolute; | |
59 font-size: 1.2em; | |
60 } | |
61 | |
62 canvas#scale-canvas { | |
63 position: relative; | |
64 float: left; | |
65 } | |
66 | |
67 div.track-slider { | |
68 float: left; | |
69 height: 94px; | |
70 border: solid; | |
71 border-width: 1px; | |
72 border-color: black; | |
73 padding:2px; | |
74 margin-left: 94px; | |
75 margin-bottom: 25px; | |
76 } | |
77 | |
78 div.track-slider-title { | |
79 float: left; | |
80 padding-top: 40px; | |
81 width: 100px; | |
82 } | |
83 | |
84 button.track-slider-button { | |
85 float: left; | |
86 width: 100px; | |
87 height: 94px; | |
88 } | |
89 | |
90 | |
91 button.outside-reference { | |
92 width:120px; | |
93 height:20px; | |
94 margin-bottom:5px; | |
95 position: absolute; | |
96 } | |
97 | |
98 div.track-slider-playing { | |
99 background-color: #FFDDDD; | |
100 } | |
101 | |
102 input.track-slider-range { | |
103 float: left; | |
104 margin: 2px 0px; | |
105 } | |
106 | |
107 input[type=range] | |
108 { | |
109 height: 94px; | |
110 padding: 0 10px; | |
111 color: rgb(255, 144, 144); | |
112 } | |
113 | |
114 input[type=range]::-webkit-slider-runnable-track { | |
115 width: 8px; | |
116 cursor: pointer; | |
117 background: #fff; | |
118 border-radius: 4px; | |
119 border: 1px solid #000; | |
120 } | |
121 | |
122 input[type=range]::-moz-range-track { | |
123 width: 8px; | |
124 cursor: pointer; | |
125 background: #fff; | |
126 border-radius: 4px; | |
127 border: 1px solid #000; | |
128 } | |
129 | |
130 input.track-slider-not-moved[type=range]::-webkit-slider-runnable-track { | |
131 background: #aaa; | |
132 } | |
133 | |
134 input.track-slider-not-moved[type=range]::-moz-range-track { | |
135 background: #aaa; | |
136 } | |
137 | |
138 | |
139 input[type=range]::-moz-range-thumb { | |
140 margin-left: -7px; | |
141 cursor: pointer; | |
142 margin-top: -1px; | |
143 box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; | |
144 } | |
145 | |
146 input[type=range]::-webkit-slider-thumb { | |
147 cursor: pointer; | |
148 margin-top: -1px; | |
149 margin-left: -4px; | |
150 } |