Tone.js/examples/style/widgets.css
2014-08-26 00:49:11 -04:00

120 lines
No EOL
1.6 KiB
CSS

/* CONTAINER */
#Container {
font-family: monospace;
position: absolute;
-webkit-transform : translate(-50%, -50%);
transform : translate(-50%, -50%);
width: 200px;
height: 200px;
left: 50%;
top: 50%;
z-index: 0;
}
#Explanation {
font-family: monospace;
background-color: black;
padding: 10px;
color: white;
font-size: 14px;
text-align: left;
position: fixed;
bottom: 10px;
left: 10px;
right: 10px;
z-index: 1;
}
#Explanation a {
color: white;
}
/* ENVELOPE */
.Envelope {
width: 150px;
height: 140px;
border: 1px solid black;
}
.Envelope #Title{
width: 100%;
height: 30px;
text-align: center;
}
.Envelope .Slider {
margin-left: 20px;
height: 80px;
float: left;
}
.Envelope .Slider .Label{
position: absolute;
font-size: 8px;
text-align: center;
width: 30px;
left: -10px;
}
.Envelope .Slider .Label.Bottom{
top: 90px;
}
.Envelope .Slider .Label.Top{
top: -10px;
}
/* START BUTTON */
.StartButton {
background-color: rgba(0, 0, 0, 0.75);
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 10000;
opacity: 1;
}
.StartButton button{
position: absolute;
height: 100px;
width: 100px;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -50px;
}
/* VALUE METER */
.ValueMeter {
width: auto;
height: 20px;
border: 1px solid black;
display: inline-block;
line-height: 20px;
}
.ValueMeter #Label {
margin-left: 10px;
margin-right: 5px;
position: relative;
float: left;
height: 100%;
font-size: 12px;
}
.ValueMeter #Value {
padding-right: 10px;
padding-left: 10px;
background-color: #8d8d8d;
color: white;
position: relative;
float: right;
height: 100%;
font-size: 12px;
}