Tone.js/examples/style/examples.css

255 lines
5.5 KiB
CSS
Raw Normal View History

2015-02-12 03:39:28 +00:00
/* FOR MOBILES */
2015-06-26 05:23:05 +00:00
@media (max-width: 400px) {
2015-02-12 03:39:28 +00:00
#TopBar #Homepage a {
font-size: 16px !important; }
#Content {
font-size: 10px !important;
max-width: calc(100% - 6px) !important; }
2015-02-28 23:07:12 +00:00
#Content * {
2015-06-26 05:23:05 +00:00
font-size: 14px !important; } }
html, body {
padding: 0px;
margin: 0px;
height: calc(100% - 4px); }
2015-02-12 03:39:28 +00:00
2015-06-26 05:23:05 +00:00
/**
*
* TOP BAR
*
*/
2015-02-12 03:39:28 +00:00
#TopBar {
background-color: black;
height: 35px;
2015-06-26 05:23:05 +00:00
margin: 3px;
2015-02-12 03:39:28 +00:00
position: relative;
width: calc(100% - 6px);
2015-02-12 03:39:28 +00:00
font-family: monospace; }
#TopBar #TonejsLogo {
position: absolute;
top: 3px; }
2015-02-12 03:39:28 +00:00
#TopBar #Examples {
right: 10px;
top: 0px;
height: 35px;
line-height: 35px;
position: absolute;
width: 100px;
text-align: left; }
2015-02-12 03:39:28 +00:00
#TopBar #Examples a {
position: absolute;
font-size: 14px;
color: white;
text-transform: none;
text-decoration: none; }
2015-02-12 03:39:28 +00:00
2015-02-28 23:07:12 +00:00
#MobileStart {
position: absolute;
width: 100%;
height: 100%;
z-index: 10000;
top: 0px;
left: 0px;
background-color: rgba(0, 0, 0, 0.5); }
#MobileStart #Button {
position: absolute;
left: 50%;
top: 50%;
background-color: black;
color: white;
font-family: monospace;
border-radius: 3px;
margin-top: -40px;
margin-left: -40px;
width: 80px;
height: 80px;
text-align: center;
line-height: 80px; }
2015-06-26 05:23:05 +00:00
#MobileStart #Button:hover {
background-color: #7F33ED;
color: white; }
#MobileStart #Button:hover:active {
background-color: #ED33CF;
color: #22DBC0; }
2015-02-12 03:39:28 +00:00
#Content {
font-family: monospace;
2015-06-26 05:23:05 +00:00
position: absolute;
left: 3px;
width: calc(100% - 6px);
2015-06-26 05:23:05 +00:00
margin-bottom: 15px; }
#Content #Title {
height: 23px;
line-height: 23px;
font-size: 1.2em;
color: white;
width: calc(100% - 15px);
2015-06-26 05:23:05 +00:00
padding-left: 15px;
background-color: black; }
#Content #Explanation {
2015-02-20 05:59:19 +00:00
position: relative;
2015-06-26 05:23:05 +00:00
font-family: monospace;
padding: 15px;
color: black;
font-size: 14px;
2015-02-20 05:59:19 +00:00
box-sizing: border-box;
2015-06-26 05:23:05 +00:00
border: 3px solid black;
border-top-width: 0px;
width: 100%; }
2015-06-27 21:25:01 +00:00
#Content #Explanation img {
width: 80%;
max-width: 700px;
margin-left: auto;
margin-right: auto;
display: block; }
#Content a {
color: black;
font-family: monospace;
font-size: 14px;
font-weight: bold;
text-decoration: none; }
#Content a:hover {
color: #1EDF3E; }
#Content a:hover:active {
color: #ED33CF; }
2015-06-26 05:23:05 +00:00
#Content #DragContainer {
margin-left: 3px;
margin-top: 3px;
margin-bottom: 15px;
width: calc(100% - 3px);
height: 400px;
position: relative;
color: white; }
#Content .Slider.x {
position: relative;
height: 94px;
2015-02-12 03:39:28 +00:00
width: 100%;
2015-06-26 05:23:05 +00:00
margin-top: 3px; }
#Content .Slider.x .Axis {
top: 50%;
margin-top: -1.5px; }
#Content .Slider.y {
position: relative;
width: 94px;
height: 400px; }
#Content .Slider.y .Axis {
left: 50%;
margin-left: -1.5px; }
#Content .Dragger {
width: 90px;
height: 90px;
position: absolute;
background-color: black;
border-radius: 50%;
z-index: 1;
margin-top: -2px;
border: 2px solid white;
cursor: -webkit-grab; }
#Content .Dragger #Name {
2015-02-12 03:39:28 +00:00
width: 100%;
height: 100%;
2015-06-26 05:23:05 +00:00
position: relative;
2015-02-13 20:23:30 +00:00
text-align: center;
2015-06-26 05:23:05 +00:00
font-size: 12px;
font-family: monospace;
line-height: 90px;
2015-02-13 20:23:30 +00:00
color: white; }
2015-06-26 05:23:05 +00:00
#Content .Dragger:hover {
background-color: #3833ED;
color: white; }
#Content .Dragger.is-pointer-down {
cursor: -webkit-grabbing;
background-color: #ED33CF; }
#Content .Dragger.is-pointer-down #Name {
color: #1EDF3E; }
#Content .Axis {
position: absolute;
background-color: black;
width: 3px;
height: 3px;
top: 3px;
left: 3px;
border-radius: 1.5px;
z-index: 0; }
#Content #xAxis {
width: calc(100% - 6px); }
#Content #yAxis {
height: calc(100% - 6px); }
#Content .Button {
2015-02-24 17:03:22 +00:00
width: 100%;
2015-06-26 05:23:05 +00:00
margin-top: 3px;
height: 90px;
background-color: black;
line-height: 90px;
color: white;
border-radius: 10px;
text-align: center;
cursor: pointer; }
#Content .Button:hover {
color: white;
background-color: #3833ED; }
#Content .Button:hover:active, #Content #Content .Button:hover:active.Active {
2015-06-26 05:23:05 +00:00
color: #22DBC0;
background-color: #ED33CF; }
2015-06-27 21:25:01 +00:00
#Content .Button.Toggle.Active {
box-sizing: border-box;
border: 3px solid black;
line-height: 84px;
color: black;
background-color: white; }
#Content .Transport {
width: 100%;
height: 30px;
background-color: black;
line-height: 30px;
color: white;
border-radius: 10px;
margin-top: 3px;
position: relative; }
#Content .Transport #Position {
width: 70px;
left: 50%;
margin-left: -35px;
text-align: left;
height: 100%;
position: absolute;
color: white; }
2015-06-27 21:25:01 +00:00
#Keyboard {
margin: 3px !important; }
code {
background-color: #ECECEC;
color: #333;
2015-06-27 21:25:01 +00:00
padding: 1px; }
#Loading {
font-family: monospace;
z-index: 100000;
position: absolute;
background-color: rgba(140, 140, 140, 0.5);
width: 100%;
height: calc(100% - 37.5px);
top: 37.5px;
left: 0px;
opacity: 1;
-webkit-transition: opacity 0.4s;
transition: opacity 0.4s; }
#Loading #Text {
color: white;
position: absolute;
text-align: center;
top: 50%;
left: 50%;
width: 300px;
margin-left: -150px;
height: 60px;
margin-top: -30px;
line-height: 60px;
font-size: 42px; }
#Loading.Loaded {
pointer-events: none;
opacity: 0; }