comparison interfaces/horizontal-sliders.css @ 3132:38d2150045f5

#286 reformatted the horizontal sliders to use grids
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 21 Feb 2019 12:55:05 +0000
parents 75feafa06f01
children
comparison
equal deleted inserted replaced
3131:735d96d343f6 3132:38d2150045f5
1 /* 1 /*
2 * Hold any style information for MUSHRA interface. Customise if you like to make the interface your own! 2 * Hold any style information for MUSHRA interface. Customise if you like to make the interface your own!
3 * 3 *
4 */ 4 */
5 5
6 body { 6 body {
7 /* Set the background colour (note US English spelling) to grey*/ 7 /* Set the background colour (note US English spelling) to grey*/
8 background-color: #ddd 8 background-color: #ddd
49 float: left; 49 float: left;
50 height: 94px; 50 height: 94px;
51 border: solid; 51 border: solid;
52 border-width: 1px; 52 border-width: 1px;
53 border-color: black; 53 border-color: black;
54 padding: 2px;
55 margin-left: 94px; 54 margin-left: 94px;
56 margin-bottom: 25px; 55 margin-bottom: 25px;
56 display: grid;
57 grid-template-columns: 113px 1fr 107px;
57 } 58 }
58 div.track-slider-title { 59 div.track-slider-title {
59 float: left; 60 padding-top: 30px;
60 padding-top: 40px;
61 width: 100px;
62 } 61 }
63 button.track-slider-button { 62 button.track-slider-button {
64 float: left; 63 width: 90px;
65 width: 100px; 64 height: 74px;
66 height: 94px; 65 margin: 10px;
67 } 66 }
68 div#outside-reference-holder { 67 div#outside-reference-holder {
69 display: flex; 68 display: flex;
70 align-content: center; 69 align-content: center;
71 justify-content: center; 70 justify-content: center;
76 margin: 0px 5px; 75 margin: 0px 5px;
77 } 76 }
78 div.track-slider-playing { 77 div.track-slider-playing {
79 background-color: rgba(255, 201, 201, 0.5); 78 background-color: rgba(255, 201, 201, 0.5);
80 } 79 }
81 input.track-slider-range {
82 float: left;
83 margin: 2px 10px;
84 }
85 input[type=range] { 80 input[type=range] {
86 height: 94px; 81 height: 94px;
87 padding: 0px; 82 padding: 0px;
88 color: rgb(255, 144, 144); 83 color: rgb(255, 144, 144);
84 background-color: rgba(0,0,0,0);
89 } 85 }
90 input[type=range]::-webkit-slider-runnable-track { 86 input[type=range]::-webkit-slider-runnable-track {
91 cursor: pointer; 87 cursor: pointer;
92 background: #fff; 88 background: #fff;
93 border-radius: 4px; 89 border-radius: 4px;