annotate mushra.css @ 423:c08af4b5c9f3 Dev_main

MUSHRA: Slider styling across browsers so easy to see. Sliders start grey and turn white when moved. Added mushra example test
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Fri, 18 Dec 2015 12:04:04 +0000
parents c22ce754b426
children 1ba2d8685c47
rev   line source
n@281 1 /*
n@281 2 * Hold any style information for MUSHRA interface. Customise if you like to make the interface your own!
n@281 3 *
n@281 4 */
n@281 5 body {
n@281 6 /* Set the background colour (note US English spelling) to grey*/
n@281 7 background-color: #ddd
n@281 8 }
n@281 9
n@281 10 div.pageTitle {
n@281 11 width: auto;
n@281 12 height: 20px;
n@281 13 margin-top: 20px;
n@281 14 }
n@281 15
n@281 16 div.pageTitle span{
n@281 17 font-size: 1.5em;
n@281 18 }
n@281 19
n@281 20 div.testHalt {
n@281 21 /* Specify any colouring during the test halt for pre/post questions */
n@281 22 background-color: rgba(0,0,0,0.5);
n@281 23 /* Don't mess with this bit */
n@281 24 z-index: 2;
n@281 25 width: 100%;
n@281 26 height: 100%;
n@281 27 position: absolute;
n@281 28 left: 0px;
n@281 29 top: 0px;
n@281 30 }
n@281 31
n@281 32 button {
n@281 33 /* Specify any button structure or style */
n@281 34 min-width: 20px;
n@281 35 background-color: #ddd
n@281 36 }
n@281 37
n@281 38
n@281 39 div.track-slider {
n@281 40 float: left;
n@281 41 width: 94px;
n@281 42 border: solid;
n@281 43 border-width: 1px;
n@281 44 border-color: black;
n@281 45 padding:2px;
n@281 46 }
n@281 47
nicholas@415 48 div.track-slider-playing {
nicholas@415 49 background-color: #FFDDDD;
nicholas@415 50 }
nicholas@415 51
nicholas@415 52 input.track-slider-range {
n@423 53 margin: 2px 0px;
nicholas@415 54 }
nicholas@415 55
n@281 56 input[type=range][orient=vertical]
n@281 57 {
n@281 58 writing-mode: bt-lr; /* IE */
n@281 59 -webkit-appearance: slider-vertical; /* WebKit */
n@281 60 width: 8px;
n@281 61 padding: 0 5px;
nicholas@418 62 color: rgb(255, 144, 144);
n@423 63 }
n@423 64
n@423 65 input[type=range]::-webkit-slider-runnable-track {
n@423 66 width: 8px;
n@423 67 cursor: pointer;
n@423 68 background: #fff;
n@423 69 border-radius: 4px;
n@423 70 border: 1px solid #000;
n@423 71 }
n@423 72
n@423 73 input[type=range]::-moz-range-track {
n@423 74 width: 8px;
n@423 75 cursor: pointer;
n@423 76 background: #fff;
n@423 77 border-radius: 4px;
n@423 78 border: 1px solid #000;
n@423 79 }
n@423 80
n@423 81 input.track-slider-not-moved[type=range]::-webkit-slider-runnable-track {
n@423 82 background: #aaa;
n@423 83 }
n@423 84
n@423 85 input.track-slider-not-moved[type=range]::-moz-range-track {
n@423 86 background: #aaa;
n@423 87 }
n@423 88
n@423 89 input[type=range]::-moz-range-thumb {
n@423 90 margin-left: -7px;
n@423 91 cursor: pointer;
n@423 92 margin-top: -1px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
n@423 93 box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; /* Add cool effects to your sliders! */
n@423 94 }
n@423 95
n@423 96 input[type=range]::-webkit-slider-thumb {
n@423 97 margin-left: -7px;
n@423 98 cursor: pointer;
n@423 99 margin-top: -1px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
n@423 100 box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; /* Add cool effects to your sliders! */
n@281 101 }