Tone.js/examples/style/widgets.css

342 lines
5.3 KiB
CSS
Raw Normal View History

2014-08-27 15:16:49 +00:00
* {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
2014-08-26 03:46:54 +00:00
textarea {
-webkit-user-select: text!important;
-moz-user-select: text!important
user-select: text!important
}
2014-08-26 03:46:54 +00:00
#Container {
2014-08-27 15:16:49 +00:00
text-size-adjust: none;
-webkit-text-size-adjust: none;
width: 100%;
height: 100%;
position: absolute;
left: 0px;
top: 0px;
2014-09-06 19:35:31 +00:00
overflow-x: hidden;
}
/* FOR MOBILES */
@media (max-width: 320px) {
#TopBar #Homepage a{
font-size: 16px!important;
}
#Content{
font-size: 10px!important;
max-width: 100%!important;
}
2014-08-27 15:16:49 +00:00
}
2014-09-06 19:35:31 +00:00
2014-08-27 15:16:49 +00:00
/* CONTAINER */
#Content {
2014-08-26 03:46:54 +00:00
font-family: monospace;
2014-09-06 19:35:31 +00:00
position: relative;
margin: auto;
margin-top: 60px;
margin-bottom: 120px;
2014-08-26 03:46:54 +00:00
width: 200px;
2014-09-06 19:35:31 +00:00
height: auto;
2014-08-26 03:46:54 +00:00
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;
2014-09-06 19:35:31 +00:00
z-index: 1;
overflow: hidden;
}
#Explanation.Collapsed{
height: 16px;
2014-08-26 03:46:54 +00:00
}
#Explanation a {
color: white;
2014-08-27 15:16:49 +00:00
font-family: monospace;
font-size: 14px;
}
/* TOP BAR */
#TopBar {
position: fixed;
background-color: black;
height: 40px;
top: 10px;
left: 0px;
right: 0px;
2014-09-06 19:35:31 +00:00
z-index: 3;
2014-08-27 15:16:49 +00:00
}
#TopBar #HomePage {
2014-09-06 19:35:31 +00:00
position: relative;
float: left;
margin-left: 20px;
2014-08-27 15:16:49 +00:00
font-size: 24px;
line-height: 40px;
color: white;
}
2014-09-05 05:31:10 +00:00
#TopBar #HomePage a {
font-family: monospace;
font-size: 24px;
color: white;
text-transform: none;
text-decoration: none;
margin-left: 0px;
}
2014-08-27 15:16:49 +00:00
#TopBar #DropDown {
position: absolute;
right: 10px;
margin-left: -60px;
top: 5px;
/*width: 120px;*/
/*font-size: 12px;*/
}
#TopBar .LevelMeter {
2014-09-06 19:35:31 +00:00
position: relative;
float: left;
margin-left: 20px;
margin-top: 7px;
2014-08-27 15:16:49 +00:00
height: 25px;
width: 20px;
}
#TopBar .LevelMeterChannel #Level{
background-color: black;
2014-08-26 03:46:54 +00:00
}
/* ENVELOPE */
2014-08-26 04:49:11 +00:00
.Envelope {
2014-08-27 15:16:49 +00:00
width: 175px;
2014-08-26 03:46:54 +00:00
height: 140px;
border: 1px solid black;
}
2014-08-26 04:49:11 +00:00
.Envelope #Title{
2014-08-26 03:46:54 +00:00
width: 100%;
height: 30px;
text-align: center;
}
2014-09-02 04:25:51 +00:00
.Envelope .EnvelopeSlider {
2014-08-27 15:16:49 +00:00
margin-left: 25px;
2014-08-26 03:46:54 +00:00
height: 80px;
float: left;
}
2014-09-02 04:25:51 +00:00
.Envelope .EnvelopeSlider .Label{
2014-08-26 03:46:54 +00:00
position: absolute;
2014-08-27 15:16:49 +00:00
font-size: 9px;
2014-08-26 03:46:54 +00:00
text-align: center;
width: 30px;
left: -10px;
}
2014-09-02 04:25:51 +00:00
.Envelope .EnvelopeSlider .Label.Bottom{
2014-08-26 03:46:54 +00:00
top: 90px;
}
2014-09-02 04:25:51 +00:00
.Envelope .EnvelopeSlider .Label.Top{
2014-08-27 15:16:49 +00:00
top: -15px;
2014-08-26 03:46:54 +00:00
}
/* START BUTTON */
2014-08-26 04:49:11 +00:00
.StartButton {
2014-08-26 03:46:54 +00:00
background-color: rgba(0, 0, 0, 0.75);
position: absolute;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
2014-09-06 19:35:31 +00:00
z-index: 2;
2014-08-26 03:46:54 +00:00
opacity: 1;
}
2014-08-26 04:49:11 +00:00
.StartButton button{
2014-08-26 03:46:54 +00:00
position: absolute;
height: 100px;
width: 100px;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -50px;
2014-08-27 15:16:49 +00:00
font-size: 30px;
2014-08-26 04:49:11 +00:00
}
2014-08-27 16:20:29 +00:00
/* VALUE */
.Value {
width: auto;
height: 20px;
border: 1px solid black;
display: inline-block;
line-height: 20px;
}
.Value #Label {
margin-left: 10px;
margin-right: 5px;
position: relative;
float: left;
height: 100%;
font-size: 12px;
}
.Value #Value {
padding-right: 10px;
padding-left: 10px;
background-color: #8d8d8d;
color: white;
position: relative;
float: right;
height: 100%;
font-size: 12px;
}
2014-08-26 04:49:11 +00:00
/* VALUE METER */
.ValueMeter {
width: auto;
height: 20px;
display: inline-block;
line-height: 20px;
}
2014-08-27 17:15:24 +00:00
.ValueMeter .Value {
width: 100%;
2014-08-26 04:49:11 +00:00
height: 100%;
2014-08-27 15:16:49 +00:00
}
/* LEVEL METER */
.LevelMeter {
width: 40px;
height: 100px;
}
.LevelMeterChannel {
position: absolute;
top: 0;
height: 100%;
}
.LevelMeterChannel.Mono {
width: 100%;
height: 100%;
left: 0px;
}
.LevelMeterChannel.Left {
width: 45%;
left: 0px;
}
.LevelMeterChannel.Right {
width: 45%;
right: 0px;
}
.LevelMeterChannel #Clip{
position: absolute;
top: 0;
height: 5%;
width: 100%;
left: 0px;
background-color: red;
opacity: 0;
}
.LevelMeterChannel #Background{
position: absolute;
width: 100%;
left: 0px;
2014-08-28 02:22:49 +00:00
top: 5%;
2014-08-27 15:16:49 +00:00
height: 95%;
background: #f75931;
background: -moz-linear-gradient(top, #f75931 0%, #efe826 13%, #3fe02a 27%, #3fe02a 64%, #3fe02a 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f75931), color-stop(13%,#efe826), color-stop(27%,#3fe02a), color-stop(64%,#3fe02a), color-stop(100%,#3fe02a));
background: -webkit-linear-gradient(top, #f75931 0%,#efe826 13%,#3fe02a 27%,#3fe02a 64%,#3fe02a 100%);
background: -o-linear-gradient(top, #f75931 0%,#efe826 13%,#3fe02a 27%,#3fe02a 64%,#3fe02a 100%);
background: -ms-linear-gradient(top, #f75931 0%,#efe826 13%,#3fe02a 27%,#3fe02a 64%,#3fe02a 100%);
background: linear-gradient(to bottom, #f75931 0%,#efe826 13%,#3fe02a 27%,#3fe02a 64%,#3fe02a 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f75931', endColorstr='#3fe02a',GradientType=0 );
}
.LevelMeterChannel #Level {
position: absolute;
height: 50%;
background-color: white;
top: 0px;
width: 100%;
left: 0px;
2014-08-27 17:15:24 +00:00
/*transition: height 0.1s;*/
2014-08-27 15:16:49 +00:00
}
2014-08-28 04:39:17 +00:00
/* OSCILLATOR */
.Oscillator {
border: 1px solid black;
2014-09-02 16:10:21 +00:00
height: 31px;
2014-08-28 04:39:17 +00:00
width: auto;
}
.Oscillator #Label{
float: left;
margin-left: 10px;
2014-09-02 16:10:21 +00:00
line-height: 31px;
2014-08-28 04:39:17 +00:00
}
2014-09-02 04:25:51 +00:00
.Oscillator .DropDown .ui-selectmenu-button{
2014-09-02 16:10:21 +00:00
width: 120px!important;
2014-09-02 04:25:51 +00:00
}
2014-09-02 16:10:21 +00:00
.Oscillator .DropDown {
position: relative;
float: right;
margin-left: 2px;
width: 120px;
2014-09-02 04:25:51 +00:00
}
/* Slider */
.Slider .Value {
margin-top: 5px;
display: block;
}
.Slider .Input {
display: block;
}
2014-09-02 16:10:21 +00:00
/* DROP DOWN */
.DropDown .ui-selectmenu-button{
width: 120px!important;
}
.DropDown {
width: 120px;
2014-09-04 04:06:01 +00:00
}
/* CHECKBOX */
.Checkbox.pressed {
border: 1px solid black;
background: white!important;
color: black;
2014-09-02 16:10:21 +00:00
}