jsbin/css/style.css

316 lines
4.2 KiB
CSS

body {
margin: 0;
padding: 0;
font-family: "Helvetica Neue";
font-size: 13px;
min-width: 976px;
overflow: hidden;
background: url(/images/jsbin-bg.gif) repeat-x top left;
}
p {
margin: 0;
}
#control {
height: 63px;
position: relative;
width: 100%;
}
.control, .help, .starting {
width: 100px;
padding: 15px;
float: left;
}
.control, .starting {
width: 30%;
}
.control {
padding-right: 0;
width: 33%;
}
.starting {
text-align: center;
}
.help {
width: 250px;
text-align: right;
float: right;
}
ul.flat {
margin: 0;
padding: 0;
}
ul.flat li {
float: left;
display: block;
list-style: none;
margin: 0 0 0 15px;
padding: 0;
}
.help ul.flat {
float: right;
}
#control > *, a {
color: #232323;
text-shadow: #fff 1px 1px 1px;
}
a {
font-weight: bold;
}
a:hover {
text-shadow: #fff -1px -1px 3px;
}
.light {
font-weight: normal;
text-decoration: none;
}
.stretch {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#bin {
top: 64px;
width: 100%;
}
div.html {
left: 50%;
}
/*.mozilla #bin div.html {
margin-left: -2px;
}
.mozilla #bin.javascript div.javascript,
.mozilla #bin div.html {
border: 1px solid #0080FF;
}
#bin.javascript div.html,
#bin div.javascript {
border: 0;
}
*/
div.code {
width: 50%;
}
div.preview {
display: none;
width: 100%;
}
.code .label {
padding: 10px;
margin: 0 10px;
padding-right: 0;
margin-left: 1px;
position: absolute;
z-index: 10;
}
.code .label p {
/* display: inline;*/
font-weight: bold;
}
.code .label label {
margin-top: 10px;
}
#library {
padding: 2px;
width: 100px;
}
iframe.javascript {
border-right: 1px solid #ccc !important;
}
.buttons {
float: left;
display: block;
margin-right: 10px;
}
a.button {
border: 1px solid #ccc;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
height: 12px;
line-height: 12px;
padding: 10px;
display: block;
float: left;
text-decoration: none;
margin: 0px 5px;
background: #fff;
background: rgba(255, 255, 255, 0.3);
}
.button:hover {
-moz-box-shadow: #fff 0px 0px 5px;
-webkit-box-shadow: #fff 0px 0px 5px;
background: rgba(0, 0, 0, 0.05);
}
.button:active, .button:focus {
-moz-box-shadow: #C8C8C8 0px 0px 3px;
-webkit-box-shadow: #C8C8C8 0px 0px 3px;
border-color: #fff;
outline: 0;
text-shadow: none;
}
body.source a.source,
body.preview a.preview {
background: #000;
background: rgba(0, 0, 0, 0.25);
text-shadow: none;
border: 1px solid #ccc;
-moz-box-shadow: #fff 0px 0px 5px;
-webkit-box-shadow: #fff 0px 0px 5px;
background-image:
-webkit-gradient(
radial,
center center,
0,
center center,
50,
color-stop(0, #BFBFBF),
color-stop(1, #949494)
);
}
#preview iframe {
height: 100%;
width: 100%;
border: 0;
}
body.source #preview {
display: none;
}
body.preview #source {
opacity: 0;
filter:alpha(opacity=0);
}
body.preview #preview,
body.source #source {
display: block;
}
body.preview #source select {
display: none;
}
.overlay {
z-index: 98;
background: #000;
background: rgba(255, 255, 255, 0.3);
}
#intro {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99;
background: url(/images/op7.png) repeat;
display: none;
}
#intro .lightbox {
background: #ccc;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
color: #000;
padding: 10px;
width: 600px;
margin: 100px auto;
position: relative;
}
#intro .lightbox div {
background: #fff;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border: 1px solid #fff;
padding: 20px;
}
#intro h1 {
margin: 0 0 22px 0;
}
#intro ul,
#intro ol {
padding-left: 10px;
margin: 0;
}
#intro ul {
list-style: none;
}
#intro ul li {
margin-left: 0;
}
#intro li {
margin: 20px;
font-size: 120%;
}
#intro .intro, #intro .keyboardShortcuts {
float: left;
width: 48%;
}
#intro .keyboardShortcuts {
border-left: 1px dashed #ccc;
}
#intro .screencasts {
text-align: center;
font-size: 130%;
padding: 20px 0 0 0;
clear: left;
border-top: 1px solid #ccc;
}
#revert {
display: none;
}
#revert:after {
content: ' — ';
}
#newRevision {
display: none;
}