annotate interfaces/horizontal-sliders.css @ 472:23f77550b842 Dev_main

Added new horizontal slider class. Launched using ABC test interface.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 13 Jan 2016 12:27:38 +0000
parents
children 9ae9d1fb80bf
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@472 104 margin: 2px 0px;
n@472 105 }
n@472 106
n@472 107 input[type=range]
n@472 108 {
n@472 109 height: 94px;
n@472 110 padding: 0 10px;
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 width: 8px;
n@472 116 cursor: pointer;
n@472 117 background: #fff;
n@472 118 border-radius: 4px;
n@472 119 border: 1px solid #000;
n@472 120 }
n@472 121
n@472 122 input[type=range]::-moz-range-track {
n@472 123 width: 8px;
n@472 124 cursor: pointer;
n@472 125 background: #fff;
n@472 126 border-radius: 4px;
n@472 127 border: 1px solid #000;
n@472 128 }
n@472 129
n@472 130 input.track-slider-not-moved[type=range]::-webkit-slider-runnable-track {
n@472 131 background: #aaa;
n@472 132 }
n@472 133
n@472 134 input.track-slider-not-moved[type=range]::-moz-range-track {
n@472 135 background: #aaa;
n@472 136 }
n@472 137
n@472 138
n@472 139 input[type=range]::-moz-range-thumb {
n@472 140 margin-left: -7px;
n@472 141 cursor: pointer;
n@472 142 margin-top: -1px;
n@472 143 box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
n@472 144 }
n@472 145
n@472 146 input[type=range]::-webkit-slider-thumb {
n@472 147 cursor: pointer;
n@472 148 margin-top: -1px;
n@472 149 margin-left: -4px;
n@472 150 }