Tone.js/examples/style/examples.css

237 lines
5.1 KiB
CSS
Raw Normal View History

2015-02-12 03:39:28 +00:00
/**
2015-06-26 05:23:05 +00:00
* COLORS
*/
/**
* SIZING
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;
2015-06-26 05:23:05 +00:00
max-width: calc(100% - 32px) !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
#NotoneDrawer {
top: 40.5px;
z-index: 2; }
2015-02-12 03:39:28 +00:00
2015-06-26 05:23:05 +00:00
.Notone {
z-index: 3 !important; }
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;
2015-06-26 05:23:05 +00:00
height: 34.5px;
margin: 3px;
2015-02-12 03:39:28 +00:00
position: relative;
2015-06-26 05:23:05 +00:00
width: calc(100% - 2 * 3px);
2015-02-12 03:39:28 +00:00
font-family: monospace; }
#TopBar #Homepage {
position: relative;
float: left;
margin-left: 20px;
font-size: 24px;
2015-06-26 05:23:05 +00:00
line-height: 34.5px;
2015-02-12 03:39:28 +00:00
color: white; }
#TopBar #Homepage a {
2015-06-26 05:23:05 +00:00
line-height: inherit;
height: 100%;
position: absolute;
2015-02-12 03:39:28 +00:00
font-size: 24px;
color: white;
text-transform: none;
text-decoration: none;
margin-left: 0px; }
#TopBar #Examples {
left: 50%;
2015-06-26 05:23:05 +00:00
height: 34.5px;
line-height: 34.5px;
2015-02-12 03:39:28 +00:00
position: absolute; }
#TopBar #Examples a {
position: absolute;
font-size: 14px;
left: 50%;
2015-06-26 05:23:05 +00:00
-webkit-transform: translate(-50%, 0);
-ms-transform: translate(-50%, 0);
transform: translate(-50%, 0);
2015-02-12 03:39:28 +00:00
text-align: center;
color: white;
text-transform: none;
text-decoration: none;
margin-left: 0px; }
#TopBar #Meter {
width: 50px;
2015-02-20 05:59:19 +00:00
height: calc(100% - 10px);
2015-02-12 03:39:28 +00:00
position: absolute;
2015-06-26 05:23:05 +00:00
right: 3px;
2015-02-20 05:59:19 +00:00
top: 5px; }
2015-02-12 03:39:28 +00:00
#TopBar #Meter .Level {
height: 100%;
position: absolute;
width: 47%;
background-color: #59d72e;
bottom: 0px; }
#TopBar #Meter #Left {
left: 0px; }
#TopBar #Meter #Right {
right: 0px; }
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; }
.Mobile #Content {
width: calc(100% - 28px); }
2015-02-28 23:07:12 +00:00
2015-02-12 03:39:28 +00:00
#Content {
font-family: monospace;
2015-06-26 05:23:05 +00:00
position: absolute;
right: 3px;
width: calc(100% - 280px);
margin-bottom: 15px; }
#Content #Title {
height: 23px;
line-height: 23px;
font-size: 1.2em;
color: white;
width: calc(100% - padding);
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%; }
#Content #Explanation a {
2015-02-20 05:59:19 +00:00
color: black;
2015-06-26 05:23:05 +00:00
font-family: monospace;
font-size: 14px;
font-weight: bold;
text-decoration: none; }
#Content #Explanation a:hover {
color: #1EDF3E; }
#Content #Explanation a:hover:active {
color: #ED33CF; }
#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.Active {
color: #22DBC0;
background-color: #ED33CF; }