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