Tone.js/examples/style/examples.css

253 lines
5.4 KiB
CSS
Raw Normal View History

2015-02-12 03:39:28 +00:00
/**
* GLOBAL
*/
canvas {
border-radius: 0px !important;
margin-top: 5px; }
/* FOR MOBILES */
@media (max-width: 320px) {
#TopBar #Homepage a {
font-size: 16px !important; }
#Content {
font-size: 10px !important;
max-width: 100% !important; } }
body {
margin: 0px; }
#Explanation {
font-family: monospace;
2015-02-13 21:24:52 +00:00
background-color: #D0D0D0;
2015-02-12 03:39:28 +00:00
padding: 10px;
color: black;
font-size: 14px;
margin: 10px;
width: calc(100% - 4 * 10px); }
#Explanation a {
2015-02-13 20:43:20 +00:00
color: black;
2015-02-12 03:39:28 +00:00
font-family: monospace;
font-size: 14px; }
/* TOP BAR */
#TopBar {
background-color: black;
height: 40px;
margin: 10px;
position: relative;
width: calc(100% - 2 * 10px);
font-family: monospace; }
#TopBar #Homepage {
position: relative;
float: left;
margin-left: 20px;
font-size: 24px;
line-height: 40px;
color: white; }
#TopBar #Homepage a {
font-size: 24px;
color: white;
text-transform: none;
text-decoration: none;
margin-left: 0px; }
#TopBar #Examples {
left: 50%;
height: 40px;
line-height: 40px;
position: absolute; }
#TopBar #Examples a {
position: absolute;
font-size: 14px;
left: 50%;
transform: translate(-50%, 0);
text-align: center;
color: white;
text-transform: none;
text-decoration: none;
margin-left: 0px; }
#TopBar #Meter {
width: 50px;
height: 90%;
position: absolute;
right: 10px;
top: 5%; }
#TopBar #Meter .Level {
height: 100%;
position: absolute;
width: 47%;
background-color: #59d72e;
bottom: 0px; }
#TopBar #Meter #Left {
left: 0px; }
#TopBar #Meter #Right {
right: 0px; }
#Content {
font-family: monospace;
position: relative;
margin: auto;
height: auto;
margin-top: 20px;
width: 75%;
min-width: 320px;
max-width: 640px;
height: auto;
2015-02-13 15:52:16 +00:00
/**
* NX STUFF
*/
2015-02-12 03:39:28 +00:00
/**
* THE RACK
*/
/**
* CODE BLOCK
*/
/**
* ENVELOPE
*/
/**
* LOADING BAR
2015-02-13 15:52:16 +00:00
*/
/**
* METER
2015-02-13 20:23:30 +00:00
*/
/**
* DROP DOWN
2015-02-12 03:39:28 +00:00
*/ }
2015-02-13 15:52:16 +00:00
#Content [nx="slider"] {
width: 100%;
height: 20px; }
#Content [nx="range"] {
width: 100%;
height: 20px; }
#Content [nx="toggle"] {
width: 100%;
height: 40px; }
2015-02-12 03:39:28 +00:00
#Content .Rack {
width: 100%;
margin-bottom: 10px;
2015-02-13 21:24:52 +00:00
background-color: #D0D0D0;
border: 10px solid #D0D0D0;
2015-02-12 03:39:28 +00:00
position: relative; }
#Content .Rack .Title {
width: 100%;
height: 20px;
line-height: 20px;
margin: 0px 0 5px;
background-color: black;
font-size: 1.2em;
color: white;
cursor: pointer;
text-align: center; }
#Content .Rack.Collapsible .Title:after {
content: "\25B2";
position: absolute;
right: 5px; }
#Content .Rack.Collapsible.Expanded .Title:after {
transform: rotate(-180deg); }
#Content .Rack.Collapsible {
overflow: hidden;
height: 20px; }
#Content .Rack.Collapsible.Expanded {
height: auto; }
#Content .Code {
width: 100%;
font-family: monospace;
height: auto;
text-align: left;
display: inline-block;
font-size: 14px;
/*padding: $Margin;*/
/*line-height: ;*/
2015-02-13 21:24:52 +00:00
background-color: #F2F2F2; }
2015-02-12 03:39:28 +00:00
#Content .Envelope {
display: inline-block; }
#Content .Envelope canvas {
width: 25%;
height: calc(100% - 8px - 10px);
position: relative; }
#Content .Envelope #Labels {
width: 100%;
height: 8px; }
#Content .Envelope #Labels .Label {
text-transform: uppercase;
width: 25%;
text-align: center;
font-size: 8px;
display: inline-block; }
2015-02-13 15:52:16 +00:00
#Content .HorizontalSlider {
width: 100%;
height: 20px; }
2015-02-12 03:39:28 +00:00
#Content .LoadingBar {
width: 100%;
height: 20px;
margin: 10px;
text-align: center;
border: 1px solid black;
transition: all 0.4s; }
#Content .LoadingBar #Loader {
height: 100%;
width: 0%;
2015-02-13 21:24:52 +00:00
background-color: #D0D0D0;
2015-02-12 03:39:28 +00:00
transition: width 0.2s; }
2015-02-13 15:52:16 +00:00
#Content .Meter {
width: 100%;
height: 20px;
margin-top: 5px;
position: relative; }
#Content .Meter * {
line-height: 20px;
text-align: center;
position: absolute;
top: 0px;
height: 100%; }
#Content .Meter #Label {
left: 0px;
width: 60%;
background-color: white;
border: 1px solid black;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box; }
#Content .Meter #Value {
right: 0px;
width: 40%;
background-color: black;
color: white;
font-weight: bold; }
#Content .Meter #Units {
right: 10px;
text-align: right;
2015-02-13 21:24:52 +00:00
color: #D0D0D0; }
2015-02-13 20:23:30 +00:00
#Content .DropDown {
position: relative;
width: 100%;
height: 35px;
border: 1px solid black;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
margin-top: 5px; }
#Content .DropDown * {
line-height: 35px;
text-align: center;
position: absolute;
top: 0px;
height: 100%; }
#Content .DropDown #Label {
left: 0px;
width: 60%;
background-color: white; }
#Content .DropDown select {
right: 0px;
width: 40%;
line-height: 17.5px;
text-align: center;
font-style: monospace;
border-radius: 0px;
border: 0px;
background-color: black;
color: white; }
2015-02-12 03:39:28 +00:00
/*# sourceMappingURL=examples.css.map */