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