Mercurial > hg > webaudioevaluationtool
comparison css/core.css @ 2580:a6b32c473577
Added minimum (left) and maximum (right) slider markers to the comment slider element
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Mon, 31 Oct 2016 15:14:53 +0000 |
parents | 2305ef6779fe |
children | 5f7c11fa5f83 |
comparison
equal
deleted
inserted
replaced
2579:d83b38564fbb | 2580:a6b32c473577 |
---|---|
1 /* structure.css | 1 /* structure.css |
2 * Define the structure for classes and objects in HTML | 2 * Define the structure for classes and objects in HTML |
3 */ | 3 */ |
4 | 4 |
5 div.title { | 5 div.title { |
6 width: 100%; | 6 width: 100%; |
7 height: 50px; | 7 height: 50px; |
8 margin-bottom: 10px; | 8 margin-bottom: 10px; |
9 font-size: 2em; | 9 font-size: 2em; |
10 } | 10 } |
11 | |
12 div.indicator-box { | 11 div.indicator-box { |
13 position: absolute; | 12 position: absolute; |
14 left: 150px; | 13 left: 150px; |
15 top: 10px; | 14 top: 10px; |
16 width: 300px; | 15 width: 300px; |
17 height: 60px; | 16 height: 60px; |
18 padding: 20px; | 17 padding: 20px; |
19 border-radius: 10px; | 18 border-radius: 10px; |
20 background-color: rgb(100,200,200); | 19 background-color: rgb(100, 200, 200); |
21 } | 20 } |
22 | |
23 div.comment-div { | 21 div.comment-div { |
24 border:1px solid #444444; | 22 border: 1px solid #444444; |
25 max-width: 600px; | 23 max-width: 600px; |
26 min-width: 400px; | 24 min-width: 400px; |
27 float: left; | 25 float: left; |
28 margin: 5px 10px 5px 5px; | 26 margin: 5px 10px 5px 5px; |
29 height: 90px; | 27 height: 90px; |
30 border-radius: 10px; | 28 border-radius: 10px; |
31 } | 29 } |
32 | |
33 div.comment-div span { | 30 div.comment-div span { |
34 margin-left: 15px; | 31 margin-left: 15px; |
35 } | 32 } |
36 | |
37 div.popupHolder { | 33 div.popupHolder { |
38 width: 500px; | 34 width: 500px; |
39 min-height: 250px; | 35 min-height: 250px; |
40 max-height: 400px; | 36 max-height: 400px; |
41 background-color: #fff; | 37 background-color: #fff; |
42 border-radius: 10px; | 38 border-radius: 10px; |
43 box-shadow: 0px 0px 50px #000; | 39 box-shadow: 0px 0px 50px #000; |
44 z-index: 10; | 40 z-index: 10; |
45 position: fixed; | 41 position: fixed; |
46 } | 42 } |
47 | |
48 div#popupContent { | 43 div#popupContent { |
49 margin-top: 20px; | 44 margin-top: 20px; |
50 margin-bottom: 35px; | 45 margin-bottom: 35px; |
51 overflow: auto; | 46 overflow: auto; |
52 } | 47 } |
53 | |
54 div#popupContent iframe { | 48 div#popupContent iframe { |
55 width: 100%; | 49 width: 100%; |
56 border: 0px none; | 50 border: 0px none; |
57 height: 290px; | 51 height: 290px; |
58 } | 52 } |
59 | |
60 div#popupTitleHolder { | 53 div#popupTitleHolder { |
61 width: inherit; | 54 width: inherit; |
62 min-height: 25px; | 55 min-height: 25px; |
63 max-height: 250px; | 56 max-height: 250px; |
64 overflow: auto; | 57 overflow: auto; |
65 margin-bottom: 5px; | 58 margin-bottom: 5px; |
66 padding: 8px; | 59 padding: 8px; |
67 text-align: center; | 60 text-align: center; |
68 } | 61 } |
69 | |
70 #popupTitle { | 62 #popupTitle { |
71 white-space: pre-line; | 63 white-space: pre-line; |
72 } | 64 } |
73 | |
74 div#popupResponse { | 65 div#popupResponse { |
75 width: inherit; | 66 width: inherit; |
76 min-height: 50px; | 67 min-height: 50px; |
77 max-height: 320px; | 68 max-height: 320px; |
78 overflow: auto; | 69 overflow: auto; |
79 position: relative; | 70 position: relative; |
80 } | 71 } |
81 | |
82 button.popupButton { | 72 button.popupButton { |
83 /* Button for popup window | 73 /* Button for popup window |
84 */ | 74 */ |
85 width: 50px; | 75 width: 50px; |
86 height: 25px; | 76 height: 25px; |
87 position: absolute; | 77 position: absolute; |
88 border-radius: 5px; | 78 border-radius: 5px; |
89 border: #444; | 79 border: #444; |
90 border-width: 1px; | 80 border-width: 1px; |
91 border-style: solid; | 81 border-style: solid; |
92 background-color: #fff; | 82 background-color: #fff; |
93 } | 83 } |
94 | |
95 div.popup-option-checbox { | 84 div.popup-option-checbox { |
96 /* Popup window checkbox */ | 85 /* Popup window checkbox */ |
97 padding: 5px; | 86 padding: 5px; |
98 width: fit-content; | 87 width: fit-content; |
99 width: -moz-fit-content; | 88 width: -moz-fit-content; |
100 width: -webkit-fit-content; | 89 width: -webkit-fit-content; |
101 } | 90 } |
102 | 91 div.popup-option-checbox input { |
103 div.popup-option-checbox input{ | |
104 /* Popup window checkbox */ | 92 /* Popup window checkbox */ |
105 margin-right: 15px; | 93 margin-right: 15px; |
106 } | 94 } |
107 | |
108 table.popup-option-list { | 95 table.popup-option-list { |
109 margin: auto; | 96 margin: auto; |
110 } | 97 } |
111 | |
112 table.popup-option-list tr { | 98 table.popup-option-list tr { |
113 padding: 5px; | 99 padding: 5px; |
114 } | 100 } |
115 | |
116 table.popup-option-list tr td { | 101 table.popup-option-list tr td { |
117 padding: 5px; | 102 padding: 5px; |
118 } | 103 } |
119 | |
120 button#popup-proceed { | 104 button#popup-proceed { |
121 bottom: 10px; | 105 bottom: 10px; |
122 right: 10px; | 106 right: 10px; |
123 } | 107 } |
124 | |
125 button#popup-previous { | 108 button#popup-previous { |
126 bottom: 10px; | 109 bottom: 10px; |
127 left: 10px; | 110 left: 10px; |
128 } | 111 } |
129 | |
130 div.testHalt { | 112 div.testHalt { |
131 /* Specify any colouring during the test halt for pre/post questions */ | 113 /* Specify any colouring during the test halt for pre/post questions */ |
132 background-color: rgba(0,0,0,0.5); | 114 background-color: rgba(0, 0, 0, 0.5); |
133 /* Don't mess with this bit */ | 115 /* Don't mess with this bit */ |
134 z-index: 9; | 116 z-index: 9; |
135 width: 100%; | 117 width: 100%; |
136 height: 100%; | 118 height: 100%; |
137 position: fixed; | 119 position: fixed; |
138 left: 0px; | 120 left: 0px; |
139 top: 0px; | 121 top: 0px; |
140 } | 122 } |
141 | |
142 div#lightbox-root { | 123 div#lightbox-root { |
143 visibility: hidden; | 124 visibility: hidden; |
144 z-index: 20; | 125 z-index: 20; |
145 top: 25px; | 126 top: 25px; |
146 min-height: 50px; | 127 min-height: 50px; |
147 max-height: 250px; | 128 max-height: 250px; |
148 } | 129 } |
149 | |
150 div.lightbox-error { | 130 div.lightbox-error { |
151 margin: 25px; | 131 margin: 25px; |
152 margin-bottom: 50px; | 132 margin-bottom: 50px; |
153 padding: 5px; | 133 padding: 5px; |
154 border-radius: 5px; | 134 border-radius: 5px; |
155 background-color: rgb(255,220,220); | 135 background-color: rgb(255, 220, 220); |
156 border: 2px rgb(200,0,0) solid; | 136 border: 2px rgb(200, 0, 0) solid; |
157 } | 137 } |
158 | |
159 div.lightbox-warning { | 138 div.lightbox-warning { |
160 margin: 25px; | 139 margin: 25px; |
161 margin-bottom: 50px; | 140 margin-bottom: 50px; |
162 padding: 5px; | 141 padding: 5px; |
163 border-radius: 5px; | 142 border-radius: 5px; |
164 background-color: rgb(255,255,220); | 143 background-color: rgb(255, 255, 220); |
165 border: 2px rgb(255,250,0) solid; | 144 border: 2px rgb(255, 250, 0) solid; |
166 } | 145 } |
167 | |
168 div.lightbox-message { | 146 div.lightbox-message { |
169 margin: 25px; | 147 margin: 25px; |
170 margin-bottom: 50px; | 148 margin-bottom: 50px; |
171 padding: 5px; | 149 padding: 5px; |
172 border-radius: 5px; | 150 border-radius: 5px; |
173 background-color: rgb(200,220,255); | 151 background-color: rgb(200, 220, 255); |
174 border: 2px rgb(50,100,250) solid; | 152 border: 2px rgb(50, 100, 250) solid; |
175 } | 153 } |
176 | |
177 div#lightbox-blanker { | 154 div#lightbox-blanker { |
178 visibility: hidden; | 155 visibility: hidden; |
179 z-index: 19; | 156 z-index: 19; |
180 } | 157 } |
181 | |
182 button.outside-reference { | 158 button.outside-reference { |
183 width:120px; | 159 width: 120px; |
184 height:20px; | 160 height: 20px; |
185 margin-bottom:5px; | 161 margin-bottom: 5px; |
186 position: absolute; | 162 position: absolute; |
187 } | 163 } |
188 | |
189 textarea.trackComment { | 164 textarea.trackComment { |
190 max-width: 594px; | 165 max-width: 594px; |
191 min-width: 350px; | 166 min-width: 350px; |
192 max-height: 60px; | 167 max-height: 60px; |
193 resize: none; | 168 resize: none; |
194 } | 169 } |
195 | |
196 div.playhead { | 170 div.playhead { |
197 width: 500px; | 171 width: 500px; |
198 height: 50px; | 172 height: 50px; |
199 background-color: #eee; | 173 background-color: #eee; |
200 border-radius: 10px; | 174 border-radius: 10px; |
201 padding: 10px; | 175 padding: 10px; |
202 } | 176 } |
203 | |
204 div.playhead-scrub-track { | 177 div.playhead-scrub-track { |
205 width: 100%; | 178 width: 100%; |
206 height: 10px; | 179 height: 10px; |
207 border-style: solid; | 180 border-style: solid; |
208 border-width: 1px; | 181 border-width: 1px; |
209 } | 182 } |
210 | |
211 div#playhead-scrubber { | 183 div#playhead-scrubber { |
212 width: 10px; | 184 width: 10px; |
213 height: 10px; | 185 height: 10px; |
214 position: relative; | 186 position: relative; |
215 background-color: #000; | 187 background-color: #000; |
216 } | 188 } |
217 | |
218 div.master-volume-holder-inline { | 189 div.master-volume-holder-inline { |
219 width: 100%; | 190 width: 100%; |
220 padding: 5px; | 191 padding: 5px; |
221 } | 192 } |
222 | |
223 div.master-volume-holder-float { | 193 div.master-volume-holder-float { |
224 position: absolute; | 194 position: absolute; |
225 top: 20px; | 195 top: 20px; |
226 left: 50px; | 196 left: 50px; |
227 width: 250px%; | 197 width: 250px%; |
228 padding: 5px; | 198 padding: 5px; |
229 } | 199 } |
230 | |
231 div#master-volume-root { | 200 div#master-volume-root { |
232 margin:auto; | 201 margin: auto; |
233 border: black 1px solid; | 202 border: black 1px solid; |
234 border-radius: 5px; | 203 border-radius: 5px; |
235 width: 250px; | 204 width: 250px; |
236 height: 40px; | 205 height: 40px; |
237 } | 206 } |
238 | |
239 input#master-volume-control { | 207 input#master-volume-control { |
240 width: 200px; | 208 width: 200px; |
241 height: 25px; | 209 height: 25px; |
242 float: left; | 210 float: left; |
243 margin: 0px; | 211 margin: 0px; |
244 padding: 0px; | 212 padding: 0px; |
245 } | 213 } |
246 | |
247 span#master-volume-feedback { | 214 span#master-volume-feedback { |
248 width: 45px; | 215 width: 45px; |
249 height: 25px; | 216 height: 25px; |
250 margin-left: 5px; | 217 margin-left: 5px; |
251 float: left; | 218 float: left; |
252 } | 219 } |
253 | |
254 div.error-colour { | 220 div.error-colour { |
255 background-color: #FF8F8F; | 221 background-color: #FF8F8F; |
256 } | 222 } |
257 button.error-colour { | 223 button.error-colour { |
258 background-color: #FF8F8F; | 224 background-color: #FF8F8F; |
259 color: black; | 225 color: black; |
260 } | 226 } |
261 | |
262 div.calibration-holder { | 227 div.calibration-holder { |
263 text-align: center; | 228 text-align: center; |
264 align-content: center; | 229 align-content: center; |
265 height: auto; | 230 height: auto; |
266 } | 231 } |
267 | |
268 div.calibration-slider { | 232 div.calibration-slider { |
269 width: 50px; | 233 width: 50px; |
270 margin: 2px; | 234 margin: 2px; |
271 text-align: center; | 235 text-align: center; |
272 align-content: center; | 236 align-content: center; |
273 float: left; | 237 float: left; |
274 } | 238 } |
275 | 239 div.calibration-slider input[type=range][orient=vertical] { |
276 div.calibration-slider input[type=range][orient=vertical] | 240 writing-mode: bt-lr; |
277 { | 241 /* IE */ |
278 writing-mode: bt-lr; /* IE */ | 242 -webkit-appearance: slider-vertical; |
279 -webkit-appearance: slider-vertical; /* WebKit */ | 243 /* WebKit */ |
280 width: 8px; | 244 width: 8px; |
281 padding: 0 5px; | 245 padding: 0 5px; |
282 height: 290px; | 246 height: 290px; |
283 } | 247 } |
248 | |
249 /* Comment Boxes */ | |
250 | |
251 div.comment-slider-text-holder { | |
252 display: flex; | |
253 flex-direction: row; | |
254 justify-content: space-between; | |
255 } | |
256 div.comment-slider-text-holder span { | |
257 margin: 0px 5px; | |
258 } |