2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-23 01:53:28 +00:00
confluent/confluent_web/consoles.css
Jarrod Johnson bea9cd4149 Add web assets to confluent tree
This adds web assets so web developers can have a widget that can
be integrated into a web ui.
2014-06-04 16:11:06 -04:00

184 lines
2.4 KiB
CSS

/**
* style.css (https://github.com/chjj/tty.js)
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
*/
html, body {
margin: 0;
padding: 0;
}
div {
border: 0;
padding: 0;
margin: 0;
}
html {
background: #fff;
}
html.dark {
background: #333;
}
html.maximized {
overflow: hidden;
}
body {
margin: 25px;
}
/* Only allow plaintext?
[contenteditable=""],
[contenteditable="true"] {
-webkit-user-modify: read-write-plaintext-only !important;
}
*/
/**
* Terminal
*/
.window {
padding-top: 15px;
border: #fafafa solid 1px;
background: #272829;
position: absolute;
top: 20px;
left: 20px;
z-index: 1000;
box-shadow: rgba(0, 0, 0, 0.8) 2px 2px 20px;
}
.maximized .window {
border: none;
box-shadow: none;
}
.dark .window {
box-shadow: none;
}
.bar {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 13px;
padding: 1px 0;
font-family: "DejaVu Sans Mono", "Liberation Mono", monospace;
color: #fafafa;
}
.dark .bar,
.maximized .bar {
}
.title {
position: absolute;
left: 10px;
top: 2px;
font-size: 11px;
cursor: default;
}
.tab {
font-size: 16px;
margin-right: 8px;
margin-top: -2px;
float: right;
cursor: pointer;
}
.tab:hover {
font-weight: bold;
}
.grip {
position: absolute;
bottom: -10px;
right: -10px;
width: 22px;
height: 22px;
cursor: se-resize;
z-index: -1;
background: transparent;
}
.grip:hover {
}
.terminal {
border: #000 solid 5px;
font-family: "DejaVu Sans Mono", "Liberation Mono", monospace;
font-size: 1pc;
color: #f0f0f0;
background: #000;
}
.reverse-video {
color: #000;
background: #f0f0f0;
}
/**
* Page
*/
h1 {
font: 20px/1.5 sans-serif;
background: #333;
margin: -25px -25px 0 -25px;
height: 30px;
padding: 10px 25px;
color: white;
border-top: #e15729 solid 10px;
}
#open, #lights {
font: 20px/1.5 sans-serif;
position: fixed;
right: 0;
padding: 10px;
height: 50px;
color: white;
cursor: pointer;
margin: 0;
background: none;
border: none;
-webkit-appearance: none;
}
#open {
top: 10px;
background: #333;
}
#lights {
font-size: 18px;
height: 46px;
top: 60px;
background: #555;
}
#open:hover, #lights:hover {
color: slategrey;
background: white;
}
#open:active, #lights:active {
color: orange;
}
#help {
font: 12px/1.5 sans-serif;
color: #999;
position: fixed;
bottom: 10px;
left: 10px;
}
.dark h1, .dark #help { display: none; }