mirror of
https://github.com/boxgaming/qbjs.git
synced 2024-09-19 20:14:58 +00:00
222 lines
4.1 KiB
CSS
222 lines
4.1 KiB
CSS
|
@font-face {
|
||
|
font-family: dosvga;
|
||
|
src: url(dosvga.ttf);
|
||
|
}
|
||
|
body {
|
||
|
background-color: rgb(0, 0, 39);
|
||
|
font-family: dosvga, Arial, Helvetica, sans-serif;
|
||
|
letter-spacing: -1px;
|
||
|
color: #999;
|
||
|
}
|
||
|
a, a:link, a:visited {
|
||
|
text-decoration: none;
|
||
|
color: #ccc;
|
||
|
margin-right: 5px;
|
||
|
}
|
||
|
a:hover { color: #fff; }
|
||
|
a:before { content: "< "; }
|
||
|
a:after { content: " >"; }
|
||
|
#output-content a, #output-content a:link, #output-content a:visited { color: #999 }
|
||
|
#output-content a:before { content: ""; }
|
||
|
#output-content a:after { content: ""; }
|
||
|
|
||
|
#code-container {
|
||
|
position: absolute;
|
||
|
left: 10px;
|
||
|
top: 10px;
|
||
|
}
|
||
|
#code {
|
||
|
margin-bottom: 5px;
|
||
|
border: 1px solid #666;
|
||
|
}
|
||
|
#game-container {
|
||
|
position: absolute;
|
||
|
left: 620px;
|
||
|
top: 10px;
|
||
|
}
|
||
|
#gx-container {
|
||
|
border: 1px solid #666;
|
||
|
text-align: center;
|
||
|
background-color: #000;
|
||
|
/*letter-spacing: 0px;*/
|
||
|
}
|
||
|
#gx-canvas {
|
||
|
border: 1px solid #222;
|
||
|
background-color: #000;
|
||
|
}
|
||
|
#output-container {
|
||
|
position: absolute;
|
||
|
color: #ccc;
|
||
|
display: none;
|
||
|
}
|
||
|
#output-content {
|
||
|
border: 1px solid #666;
|
||
|
overflow: scroll;
|
||
|
height: 250px;
|
||
|
}
|
||
|
#js-code {
|
||
|
white-space: pre;
|
||
|
padding: 5px;
|
||
|
color: #999;
|
||
|
}
|
||
|
#show-js-container {
|
||
|
color: #666;
|
||
|
position: absolute;
|
||
|
padding-top: 3px;
|
||
|
}
|
||
|
#warning-container {
|
||
|
white-space: pre;
|
||
|
font-family: dosvga;
|
||
|
color: #999;
|
||
|
padding: 5px;
|
||
|
}
|
||
|
#edit-button {
|
||
|
float: left;
|
||
|
}
|
||
|
#share-button {
|
||
|
float: right;
|
||
|
}
|
||
|
#share-button, #toggle-console {
|
||
|
margin-right: 0;
|
||
|
}
|
||
|
#slider {
|
||
|
position: absolute;
|
||
|
top: 10px;
|
||
|
color: #666;
|
||
|
}
|
||
|
.slider-button {
|
||
|
padding-top: 2px;
|
||
|
}
|
||
|
.slider-button:hover {
|
||
|
color: #ccc;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.modal {
|
||
|
display: none;
|
||
|
}
|
||
|
.modal.is-open {
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
#tabs {
|
||
|
margin-bottom: -1px;
|
||
|
}
|
||
|
.tab {
|
||
|
display:inline-block;
|
||
|
padding: 5px 10px;
|
||
|
border: 1px solid #666;
|
||
|
border-bottom: 0px;
|
||
|
margin-right: 2px;
|
||
|
color: #999;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
.tab:hover {
|
||
|
color: #fff;
|
||
|
background-color: rgb(0, 49, 78);
|
||
|
}
|
||
|
#tabs .active {
|
||
|
border-bottom: 1px solid rgb(0, 0, 39);
|
||
|
color: #ccc;
|
||
|
}
|
||
|
#tabs .active:hover {
|
||
|
background-color: transparent;
|
||
|
color: #ccc;
|
||
|
}
|
||
|
#gx-load-screen {
|
||
|
display: none;
|
||
|
text-align: center;
|
||
|
margin: auto;
|
||
|
width: 600px;
|
||
|
height: 360px;
|
||
|
font-size: 24px;
|
||
|
color: #ccc;
|
||
|
border: 1px solid #000;
|
||
|
text-decoration: none;
|
||
|
background-position: center center;
|
||
|
background-image: url('play.png');
|
||
|
background-repeat: no-repeat;
|
||
|
background-color: #444;
|
||
|
}
|
||
|
#gx-load-screen:hover {
|
||
|
background-color: #555;
|
||
|
}
|
||
|
#gx-load-screen:before { content: ""; }
|
||
|
#gx-load-screen:after { content: ""; }
|
||
|
|
||
|
#gx-container a, #gx-container a:link, #gx-container a:visited {
|
||
|
color: rgb(69, 118, 147);
|
||
|
}
|
||
|
#gx-container a:hover {
|
||
|
color: rgb(69, 118, 147);
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
#gx-container a:before { content: ""; }
|
||
|
#gx-container a:after { content: ""; }
|
||
|
|
||
|
#gx-container, #gx-container table {
|
||
|
font-family: arial, helvetica, sans-serif;
|
||
|
font-size: 14px;
|
||
|
}
|
||
|
|
||
|
#share-dialog {
|
||
|
background-color:#ddd;
|
||
|
}
|
||
|
#share-dialog textarea {
|
||
|
font-family: dosvga;
|
||
|
font-size: 1em;
|
||
|
letter-spacing: -1px;
|
||
|
background-color: #efefef;
|
||
|
}
|
||
|
#share-dialog a { color: #333; }
|
||
|
#share-dialog a:hover { color: #000; }
|
||
|
|
||
|
#logo {
|
||
|
position: absolute;
|
||
|
right: 1px;
|
||
|
top: 1px;
|
||
|
cursor: pointer;
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
#logo:hover { opacity: 1.0; }
|
||
|
|
||
|
#fs-path {
|
||
|
margin: 5px;
|
||
|
padding: 5px;
|
||
|
border: 1px solid #333;
|
||
|
}
|
||
|
#fs-refresh {
|
||
|
margin-top: -3px;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.fs-file, .fs-dir {
|
||
|
display: block;
|
||
|
margin: 0px 5px;
|
||
|
padding: 5px;
|
||
|
padding-left: 25px;
|
||
|
text-decoration: none;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.fs-file:hover, .fs-dir:hover {
|
||
|
background-color: rgb(255, 255, 255, .1);
|
||
|
}
|
||
|
|
||
|
.fs-file {
|
||
|
background-image: url('file.png');
|
||
|
background-repeat: no-repeat;
|
||
|
background-size: 20px 20px;
|
||
|
background-position: 1px 1px;
|
||
|
}
|
||
|
|
||
|
.fs-dir {
|
||
|
background-image: url('folder.png');
|
||
|
background-repeat: no-repeat;
|
||
|
background-size: 20px 20px;
|
||
|
background-position: 1px 2px;
|
||
|
}
|
||
|
|
||
|
#fs-refresh {
|
||
|
float: right;
|
||
|
}
|