Files
owl/playground.css
T

179 lines
2.8 KiB
CSS
Raw Normal View History

2019-03-28 17:31:25 +01:00
/* GENERIC STUFF ****************************************/
2019-03-28 14:01:49 +01:00
html,
body {
height: 100%;
2019-04-02 13:40:01 +02:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial,
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2019-03-28 14:01:49 +01:00
}
body {
margin: 0;
}
2019-03-28 17:31:25 +01:00
.btn {
cursor: pointer;
}
/* APPLICATION ROOT ****************************************/
2019-03-28 14:01:49 +01:00
.playground {
display: grid;
height: 100%;
width: 100%;
2019-03-30 20:22:11 +01:00
grid-template-columns: auto 6px 100%;
2019-03-28 14:01:49 +01:00
}
2019-03-28 17:31:25 +01:00
/* LEFT BAR ****************************************/
2019-03-28 14:01:49 +01:00
.left-bar {
2019-04-01 10:06:04 +02:00
display: flex;
flex-direction: column;
2019-03-28 17:31:25 +01:00
background-color: #2f3129;
}
2019-03-31 22:37:04 +02:00
.left-bar.split {
2019-04-01 09:22:12 +02:00
grid-template-rows: 50px 60% 23px 30%;
2019-03-31 22:37:04 +02:00
}
2019-03-28 17:31:25 +01:00
.menubar {
background-color: #1c2128;
color: white;
font-size: 18px;
2019-03-31 09:35:03 +02:00
display: flex;
2019-04-01 10:06:04 +02:00
flex: 0 0 50px;
2019-03-31 09:35:03 +02:00
flex-direction: row-reverse;
align-items: center;
user-select: none;
2019-03-31 09:35:03 +02:00
}
.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;
}
2019-03-31 22:37:04 +02:00
.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;
}
2019-03-31 09:35:03 +02:00
/* TABBED EDITOR ****************************************/
2019-04-01 10:06:04 +02:00
.tabbed-editor {
flex: 2 2 auto;
position: relative;
}
.separator.horizontal + .tabbed-editor {
flex: 1 1 auto;
}
2019-03-31 09:35:03 +02:00
.tabBar {
color: white;
height: 22px;
margin-top: -22px;
padding-left: 5px;
2019-04-01 10:06:04 +02:00
user-select: none;
}
.tabBar.resizeable {
cursor: row-resize;
2019-03-28 17:31:25 +01:00
}
.tab {
display: inline-block;
cursor: pointer;
padding: 0 8px;
font-size: 16px;
2019-03-31 09:35:03 +02:00
line-height: 20px;
2019-03-28 17:31:25 +01:00
width: 34px;
text-align: center;
2019-04-01 10:06:04 +02:00
border-bottom: 2px solid transparent;
2019-03-28 14:01:49 +01:00
}
2019-03-28 17:31:25 +01:00
.tab.active {
border-bottom: 2px solid gray;
}
2019-03-28 14:01:49 +01:00
.code-editor {
2019-03-28 17:31:25 +01:00
margin-top: 8px;
2019-03-31 09:35:03 +02:00
height: calc(100% - 10px);
2019-03-28 17:31:25 +01:00
}
2019-03-30 20:22:11 +01:00
/* SEPARATOR ****************************************/
.separator {
background-color: #1c2128;
cursor: col-resize;
}
2019-04-01 10:06:04 +02:00
.separator.horizontal {
height: 20px;
}
2019-03-29 15:35:09 +01:00
/* RIGHT PANE ****************************************/
.right-pane {
2019-04-01 10:49:46 +02:00
background-color: bisque;
2019-03-28 17:31:25 +01:00
overflow: hidden;
2019-03-28 14:01:49 +01:00
}
2019-03-29 15:35:09 +01:00
.right-pane iframe {
2019-03-28 17:31:25 +01:00
background-color: white;
2019-03-28 14:01:49 +01:00
width: 100%;
height: 100%;
2019-03-28 17:31:25 +01:00
border: 0;
}
2019-03-30 20:22:11 +01:00
.right-pane iframe.disabled {
pointer-events: none;
}
2019-03-29 15:35:09 +01:00
.content {
height: 100%;
}
.right-pane .welcome {
2019-03-28 17:31:25 +01:00
text-align: center;
font-size: 30px;
color: gray;
margin-top: 50px;
}
2019-03-29 15:35:09 +01:00
.right-pane .url {
2019-03-28 17:31:25 +01:00
font-size: 20px;
margin-top: 20px;
}
.url a {
color: gray;
}
2019-03-29 15:35:09 +01:00
.right-pane .note {
2019-03-28 17:31:25 +01:00
font-size: 20px;
margin-top: 20px;
2019-03-28 14:01:49 +01:00
}
2019-03-29 15:35:09 +01:00
.right-pane .error {
height: 100%;
padding-top: 40%;
font-size: 30px;
color: darkred;
text-align: center;
}