annotate mushra.css @ 456:be5bff655c50 Dev_main

MUSHRA now has scale drawn by HTML5 Canvas
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Mon, 11 Jan 2016 10:40:02 +0000
parents da368f23bcd3
children 5bb6ffd45d3d
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@425 38 div#slider-holder {
n@425 39 height: inherit;
n@425 40 position: absolute;
n@425 41 left: 0px;
n@456 42 z-index: 3;
n@425 43 }
n@425 44
n@425 45 div#scale-holder {
n@425 46 height: inherit;
n@425 47 position: absolute;
n@425 48 left: 0px;
n@456 49 z-index: 2;
n@456 50 }
n@456 51
n@456 52 canvas#scale-canvas {
n@456 53 position: relative;
n@425 54 }
n@281 55
n@281 56 div.track-slider {
n@281 57 float: left;
n@281 58 width: 94px;
n@281 59 border: solid;
n@281 60 border-width: 1px;
n@281 61 border-color: black;
n@281 62 padding:2px;
n@425 63 margin-left: 50px;
n@281 64 }
n@281 65
nicholas@437 66 div.outside-reference {
nicholas@437 67 width:120px;
nicholas@437 68 padding-left: 55px;
nicholas@437 69 margin-left: 100px;
nicholas@437 70 height:20px;
nicholas@437 71 margin-bottom:5px;
nicholas@437 72 background-color: rgb(100,200,100);
nicholas@437 73 }
nicholas@437 74
nicholas@415 75 div.track-slider-playing {
nicholas@415 76 background-color: #FFDDDD;
nicholas@415 77 }
nicholas@415 78
nicholas@415 79 input.track-slider-range {
n@423 80 margin: 2px 0px;
nicholas@415 81 }
nicholas@415 82
n@281 83 input[type=range][orient=vertical]
n@281 84 {
n@281 85 writing-mode: bt-lr; /* IE */
n@281 86 -webkit-appearance: slider-vertical; /* WebKit */
n@281 87 width: 8px;
n@281 88 padding: 0 5px;
nicholas@418 89 color: rgb(255, 144, 144);
n@423 90 }
n@423 91
n@423 92 input[type=range]::-webkit-slider-runnable-track {
n@423 93 width: 8px;
n@423 94 cursor: pointer;
n@423 95 background: #fff;
n@423 96 border-radius: 4px;
n@423 97 border: 1px solid #000;
n@423 98 }
n@423 99
n@423 100 input[type=range]::-moz-range-track {
n@423 101 width: 8px;
n@423 102 cursor: pointer;
n@423 103 background: #fff;
n@423 104 border-radius: 4px;
n@423 105 border: 1px solid #000;
n@423 106 }
n@423 107
n@423 108 input.track-slider-not-moved[type=range]::-webkit-slider-runnable-track {
n@423 109 background: #aaa;
n@423 110 }
n@423 111
n@423 112 input.track-slider-not-moved[type=range]::-moz-range-track {
n@423 113 background: #aaa;
n@423 114 }
n@423 115
nicholas@434 116
n@423 117 input[type=range]::-moz-range-thumb {
n@423 118 margin-left: -7px;
n@423 119 cursor: pointer;
nicholas@434 120 margin-top: -1px;
nicholas@434 121 box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
n@423 122 }
n@423 123
n@423 124 input[type=range]::-webkit-slider-thumb {
n@423 125 cursor: pointer;
nicholas@434 126 margin-top: -1px;
nicholas@434 127 margin-left: -4px;
nicholas@434 128 }