Files
owl/playground.css
T
2019-04-01 09:22:12 +02:00

160 lines
2.3 KiB
CSS

/* GENERIC STUFF ****************************************/
html,
body {
height: 100%;
font-family: sans-serif;
}
body {
margin: 0;
}
.btn {
cursor: pointer;
}
/* APPLICATION ROOT ****************************************/
.playground {
display: grid;
height: 100%;
width: 100%;
grid-template-columns: auto 6px 100%;
}
/* LEFT BAR ****************************************/
.left-bar {
display: grid;
grid-template-rows: 50px auto;
background-color: #2f3129;
}
.left-bar.split {
grid-template-rows: 50px 60% 23px 30%;
}
.menubar {
background-color: #1c2128;
color: white;
font-size: 18px;
display: flex;
flex-direction: row-reverse;
align-items: center;
}
.menubar select {
margin-right: 15px;
font-size: 16px;
height: 25px;
}
.run-code {
margin-right: 12px;
height: 25px;
border: 2px solid transparent;
}
.run-code:hover {
border-bottom: 2px solid gray;
}
.layout-selector {
font-size: 33px;
padding: 0px 3px;
margin-right: 17px;
cursor: pointer;
margin: 8px;
color: #cccccc;
transform: rotate(90deg);
}
.layout-selector.active {
font-weight: bold;
color: white;
}
/* TABBED EDITOR ****************************************/
.tabBar {
color: white;
height: 22px;
margin-top: -22px;
padding-left: 5px;
}
.tab {
display: inline-block;
cursor: pointer;
padding: 0 8px;
font-size: 16px;
line-height: 20px;
width: 34px;
text-align: center;
}
.tab.active {
border-bottom: 2px solid gray;
}
.tab:hover {
font-weight: bold;
}
.code-editor {
margin-top: 8px;
height: calc(100% - 10px);
}
/* SEPARATOR ****************************************/
.separator {
background-color: #1c2128;
cursor: col-resize;
}
/* RIGHT PANE ****************************************/
.right-pane {
background-color: lightgray;
overflow: hidden;
}
.right-pane iframe {
background-color: white;
width: 100%;
height: 100%;
border: 0;
}
.right-pane iframe.disabled {
pointer-events: none;
}
.content {
height: 100%;
}
.right-pane .welcome {
text-align: center;
font-size: 30px;
color: gray;
margin-top: 50px;
}
.right-pane .url {
font-size: 20px;
margin-top: 20px;
}
.url a {
color: gray;
}
.right-pane .note {
font-size: 20px;
margin-top: 20px;
}
.right-pane .error {
height: 100%;
padding-top: 40%;
font-size: 30px;
color: darkred;
text-align: center;
}