grid-apps-cmms/web/kiri/index.css

476 lines
8.3 KiB
CSS

:root {
--fg-blue-gray: #89a;
--bg-blue-gray: #abc;
}
setpopsetpopa, a:hover, a:visited {
border: none;
outline: none;
color: inherit;
text-decoration: none;
}
body {
position: fixed;
overflow: hidden;
font-weight: normal;
font-family: sans-serif;
font-size: larger;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
body,div {
display: flex;
padding: 0px;
border: 0px;
margin: 0px;
}
div {
position: relative;
}
button {
outline: none;
border: 1px solid #ccc;
border-radius: 3px;
background-color: #eee;
padding: 2px 7px 3px 7px;
margin: 1px;
margin-bottom: 2px;
}
button:hover {
background-color: #aaa;
color: black;
}
button[load] {
width: 100%;
text-align: left;
}
button[del] {
margin-left: 5px;
}
input {
background-color: #eee;
margin-bottom: 1px;
text-align: right;
border: 1px solid #bbb;
}
input:focus {
background-color: #fec;
outline: none;
}
input[disabled] {
background-color: #ccc;
color: #000;
border-width: 1px;
}
input[type="range"] {
width: 85px;
background-color: transparent;
}
input[type=range]::-moz-focus-outer {
border: 0;
}
select {
outline: none;
}
select {
border: 1px solid #bbb;
background-color: #eee;
margin-bottom: 1px !important;
border-radius: 3px;
}
th, tr, td, span, div, label, button {
user-select: none;
}
th, tr, td {
white-space: nowrap;
}
.noselect {
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.noshow {
display: none;
}
.row {
flex-direction: row;
}
.col {
flex-direction: column;
}
.auto {
flex-basis: auto;
}
.grow {
flex-grow: 1;
}
.a-start {
align-items: flex-start;
}
.a-center {
align-items: center;
}
.a-end {
align-items: flex-end;
}
.j-start {
justify-content: flex-start;
}
.j-center {
justify-content: center;
}
.j-end {
justify-content: flex-end;
}
.space-between {
justify-content: space-between;
}
:-moz-any() {
overflow-x: hidden !important;
overflow-y: hidden !important;
}
:-moz-any() {
overflow-x: scroll !important;
overflow-y: scroll !important;
margin-right: -14px !important;
margin-bottom: -14px !important;
}
#curtain {
top: 0;
left: 0;
right: 0;
bottom: 0;
position: absolute;
background-color: #fff;
font-family: 'Russo One', sans-serif;
z-index: 100;
}
#container {
position: fixed;
z-index: -1;
width: 100%;
height: 100%;
}
#container canvas {
width: 100%;
height: 100%;
overflow: hidden;
}
#top {
font-family: 'Russo One', sans-serif;
background-color: rgba(255,255,255,0.75);
padding: 3px;
}
#top > div {
margin: 0 5px 0 5px;
}
#app-mode, #app-acct {
width: 125px;
}
#app-acct {
justify-content: flex-end;
}
#mid {
pointer-events: none;
}
#mid-lcol, #mid-rcol, #modal {
pointer-events: visible;
}
#mid-sep {
height: 1px;
background-image: linear-gradient(to right, #ddd, #666, #ddd);
}
#lt-top {
height: 10px;
border-top-right-radius: 10px;
background-color: var(--bg-blue-gray);
left: -5px;
}
#lt-sep {
background-color: var(--bg-blue-gray);
height: 10px;
left: -5px;
}
#lt-end {
height: 10px;
border-bottom-right-radius: 10px;
background-color: var(--bg-blue-gray);
left: -5px;
}
.pop-lcol {
position: absolute;
display: none;
top: -3px;
left: 100%;
z-index: 10;
}
.pop-lcol > div {
flex-direction: column;
align-items: center;
margin: 2px;
padding: 5px;
background-color: rgba(255,255,255,0.75);
border: 1px solid rgba(0,0,0,0);
border-radius: 3px;
width: 60px;
color: var(--fg-blue-gray);
}
.pop-lcol > div:hover {
background-color: #eee;
border: 1px solid #aaa;
color: #000;
}
.lt-menu {
flex-direction: column;
align-items: center;
margin: 2px 0 2px 0;
padding: 5px 5px 5px 10px;
border: 1px solid rgba(0,0,0,0);
border-radius: 3px;
color: var(--fg-blue-gray);
left: -5px;
background-color: rgba(255,255,255,0.75);
}
.lt-menu svg {
font-size: 40px;
text-align: center;
}
.lt-menu label {
font-size: smaller;
}
.lt-menu:hover {
background-color: #eee;
border: 1px solid #aaa;
color: #000;
}
.lt-menu:hover .pop-lcol {
display: flex;
}
#end {
text-align: center;
font-size: smaller;
height: 25px;
}
#progress {
display: none;
position: absolute;
bottom: 0px;
top: 0px;
left: 10%;
right: 10%;
text-align: center;
background-color: #ddd;
}
#progbar {
width: 100%;
text-align: left;
position: relative;
background-color: rgba(255,0,0,0.75);
}
#progtxt {
color: white;
height: 25px;
padding: 0 5px 0 5px;
margin: 0 5px 0 5px;
white-space: nowrap;
flex-direction: row;
align-items: center;
vertical-align: middle;
}
#modal {
display: none;
position: fixed;
z-index: 20;
transform: translateY(-50%);
top: 50%;
left: 0px;
right: 0px;
bottom: 0px;
height: 300px;
background-color: rgba(0,0,0,0.25);
border-bottom: 1px solid black;
border-top: 1px solid black;
overflow: hidden;
}
#modal > div {
position: absolute;
transform: translateX(50%) translateY(-50%);
right: 50%;
top: 50%;
}
.mdialog {
display: none;
padding: 10px;
min-height: 20px;
font-size: smaller;
font-family: monospace;
background-color: rgba(255,255,255,0.75);
}
#mod-top {
height: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
background-color: rgba(0,0,0,0.25);
}
#mod-x {
position: absolute;
z-index: 30;
bottom: -20px;
right: 5px;
}
#mod-end {
height: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
background-color: rgba(0,0,0,0.25);
}
#slider {
display: none;
position: absolute;
top: 5px;
right: 3px;
bottom: 5px;
width: 50px;
background-color: #f8f8f8;
border: 1px solid #aaa;
border-radius: 3px;
}
#slider > div {
flex-direction: column;
align-items: center;
}
#slider-begin {
background-color: #ccc;
border-bottom: 1px solid #aaa;
}
#slider-end {
background-color: #ccc;
border-top: 1px solid #aaa;
}
#slider-hold {
background-color: #ccc;
position: absolute;
right: 0;
left: 0;
border: 3px solid white;
}
#slider-hold .shim {
width: 100%;
height: 10px;
background-color: #aaa;
border: 1px solid #999;
}
#alert-area {
display: none;
justify-content: center;
align-items: center;
position: absolute;
bottom: 40px;
left: 0;
right: 0;
}
#alert-border {
display: flex;
justify-content: center;
align-items: center;
max-width: 50%;
background-color: rgba(230,245,255,0.8);
border: 3px solid rgba(200,215,255,0.6);
border-radius: 5px;
}
#alert-border:hover {
background-color: rgba(230,245,255,0.9);
border: 3px solid rgba(200,215,255,0.95);
}
#alert-text {
display: flex;
flex-direction: column;
text-align: left;
font-weight: bold;
color: black;
margin: 5px;
}
#alert-text p {
margin: 5px;
text-align: center;
}
#settings {
align-items: stretch;
}
#set-top {
color: black;
padding: 1px 10px 2px 2px;
border-top-left-radius: 10px;
border-bottom-left-radius: 0;
background-color: var(--bg-blue-gray);
}
#set-end {
color: black;
padding: 1px 10px 2px 2px;
border-top-left-radius: 0;
border-bottom-left-radius: 10px;
background-color: var(--bg-blue-gray);
height: 10px;
}
.set-group {
align-items: center;
flex-direction: column;
background-color: rgba(255,255,255,0.75);
border: 1px solid rgba(0,0,0,0);
border-radius: 3px;
margin: 2px 0 2px 4px;
padding: 8px 10px 8px 5px;
color: var(--fg-blue-gray);
right: -5px;
}
.set-group:hover {
background-color: #eee;
border: 1px solid #aaa;
color: #000;
}
.set-pop {
top: 50%;
right: 100%;
position: absolute;
white-space: nowrap;
flex-direction: column;
transform: translateY(-50%);
background-color: rgba(255,255,255,0.5);
border: 1px solid #aaa;
border-radius: 5px;
margin-right: 5px;
padding: 5px;
}
.set-pop label {
padding: 2px 4px 2px 0;
flex-grow: 1;
}