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

651 lines
11 KiB
CSS
Raw Normal View History

:root {
--fg-gray: #495057;
--bg-gray: rgba(0,0,0,0.25);
2020-06-07 10:43:07 -04:00
--gradbar: linear-gradient(to right, #ddd, #666, #ddd);
}
2020-06-07 10:43:07 -04:00
a, a:hover, a:visited {
border: none;
color: inherit;
text-decoration: none;
}
body {
2020-06-05 23:21:53 -04:00
position: fixed;
overflow: hidden;
2020-06-05 23:21:53 -04:00
font-weight: normal;
font-family: sans-serif;
font-size: larger;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
body,div {
2020-06-05 23:21:53 -04:00
display: flex;
padding: 0px;
border: 0px;
2020-06-05 23:21:53 -04:00
margin: 0px;
}
2020-06-05 23:21:53 -04:00
div {
position: relative;
}
button {
display: flex;
border: 1px solid #ccc;
border-radius: 3px;
background-color: #eee;
padding: 2px 7px 3px 7px;
2020-06-05 23:21:53 -04:00
margin: 1px;
margin-bottom: 2px;
}
button:hover {
background-color: #aaa;
color: black;
}
button[load] {
width: 100%;
text-align: left;
}
button[del] {
margin-left: 5px;
}
2020-06-05 23:21:53 -04:00
input {
background-color: #eee;
margin-bottom: 1px;
text-align: right;
border: 1px solid #bbb;
}
input:focus {
background-color: #fec;
}
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;
}
2020-06-06 23:21:42 -04:00
select, textarea, button, input, a {
outline: none;
}
2020-06-05 23:21:53 -04:00
select {
border: 1px solid #bbb;
2020-06-06 23:21:42 -04:00
background-color: white;
2020-06-05 23:21:53 -04:00
border-radius: 3px;
}
2020-06-06 23:21:42 -04:00
select option[local="1"] {
color: #55d;
}
select option[favorite="1"] {
font-weight: bold;
}
th, tr, td, span, div, label, button {
user-select: none;
}
2020-06-06 11:17:04 -04:00
th, tr, td {
white-space: nowrap;
}
.noselect {
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
2020-06-05 23:21:53 -04:00
.noshow {
display: none;
}
2020-06-05 23:21:53 -04:00
.row {
flex-direction: row;
}
2020-06-05 23:21:53 -04:00
.col {
flex-direction: column;
}
2020-06-05 23:21:53 -04:00
.auto {
flex-basis: auto;
}
2020-06-05 23:21:53 -04:00
.grow {
flex-grow: 1;
}
2020-06-05 23:21:53 -04:00
.a-start {
align-items: flex-start;
}
2020-06-05 23:21:53 -04:00
.a-center {
align-items: center;
}
2020-06-05 23:21:53 -04:00
.a-end {
align-items: flex-end;
}
2020-06-05 23:21:53 -04:00
.j-start {
justify-content: flex-start;
}
2020-06-05 23:21:53 -04:00
.j-center {
justify-content: center;
}
2020-06-05 23:21:53 -04:00
.j-end {
justify-content: flex-end;
}
2020-06-05 23:21:53 -04:00
.space-between {
justify-content: space-between;
}
2020-06-05 23:21:53 -04:00
:-moz-any() {
overflow-x: hidden !important;
overflow-y: hidden !important;
}
2020-06-05 23:21:53 -04:00
:-moz-any() {
overflow-x: scroll !important;
overflow-y: scroll !important;
margin-right: -14px !important;
margin-bottom: -14px !important;
}
2020-06-05 23:21:53 -04:00
#curtain {
top: 0;
left: 0;
right: 0;
bottom: 0;
position: absolute;
background-color: #fff;
font-family: 'Russo One', sans-serif;
z-index: 100;
}
2020-06-05 23:21:53 -04:00
#container {
position: fixed;
z-index: -1;
2020-06-05 23:21:53 -04:00
width: 100%;
height: 100%;
}
2020-06-05 23:21:53 -04:00
#container canvas {
width: 100%;
height: 100%;
overflow: hidden;
}
2020-06-05 23:21:53 -04:00
#top {
font-family: 'Russo One', sans-serif;
background-color: rgba(255,255,255,0.75);
2020-06-05 23:21:53 -04:00
padding: 3px;
}
2020-06-05 23:21:53 -04:00
#top > div {
margin: 0 5px 0 5px;
}
2020-06-05 23:21:53 -04:00
#app-mode, #app-acct {
2020-06-05 23:21:53 -04:00
width: 125px;
}
2020-06-05 23:21:53 -04:00
#app-acct {
justify-content: flex-end;
}
#app-acct:hover #acct-pop {
display: flex;
}
#acct-pop {
display: none;
color: var(--fg-gray);
font-family: sans-serif;
position: absolute;
z-index: 10;
top: 100%;
right: -3px;
}
#acct-pop > div {
margin-top: 10px;
background-color: white;
border: 1px solid #ddd;
border-radius: 3px;
padding: 5px 0 5px 0;
}
#acct-pop > div > div {
padding: 0 5px 0 5px;
}
#acct-pop > div:hover {
color: #000;
background-color: #f4f4f4;
}
#acct-lang:hover #lang-pop {
display: flex;
}
#lang-pop {
display: none;
position: absolute;
right: 100%;
top: -6px;
align-items: stretch;
text-align: right;
border-radius: 3px;
border: 1px solid #ddd;
background-color: white;
}
#lang-pop > div {
padding: 4px 6px 4px 6px;
}
#lang-pop > div:hover {
color: #000;
background-color: #f4f4f4;
}
2020-06-05 23:21:53 -04:00
#mid {
pointer-events: none;
}
2020-06-05 23:21:53 -04:00
#mid-lcol, #mid-rcol, #modal {
pointer-events: visible;
}
2020-06-05 23:21:53 -04:00
#mid-sep {
height: 1px;
2020-06-07 10:43:07 -04:00
background-image: var(--gradbar);
}
2020-06-05 23:21:53 -04:00
2020-06-06 00:38:46 -04:00
#lt-top {
height: 10px;
border-top-right-radius: 10px;
background-color: var(--bg-gray);
left: -5px;
}
#lt-sep {
background-color: var(--bg-gray);
height: 10px;
2020-06-06 00:38:46 -04:00
left: -5px;
}
#lt-end {
height: 10px;
border-bottom-right-radius: 10px;
background-color: var(--bg-gray);
2020-06-06 00:38:46 -04:00
left: -5px;
}
2020-06-05 23:21:53 -04:00
.pop-lcol {
position: absolute;
display: none;
top: -3px;
left: 100%;
z-index: 10;
}
2020-06-05 23:21:53 -04:00
.pop-lcol > div {
flex-direction: column;
align-items: center;
2020-06-05 23:21:53 -04:00
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-gray);
}
2020-06-05 23:21:53 -04:00
.pop-lcol > div:hover {
background-color: #eee;
border: 1px solid #aaa;
color: #000;
}
2020-06-05 23:21:53 -04:00
.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-gray);
2020-06-05 23:21:53 -04:00
left: -5px;
background-color: rgba(255,255,255,0.75);
}
2020-06-05 23:21:53 -04:00
.lt-menu svg {
font-size: 40px;
text-align: center;
}
2020-06-05 23:21:53 -04:00
.lt-menu label {
font-size: smaller;
}
2020-06-05 23:21:53 -04:00
.lt-menu:hover {
background-color: #eee;
border: 1px solid #aaa;
color: #000;
}
2020-06-05 23:21:53 -04:00
.lt-menu:hover .pop-lcol {
display: flex;
}
2020-06-05 23:21:53 -04:00
2020-06-07 10:43:07 -04:00
.ext-buttons button {
justify-content: center;
align-items: center;
text-align: center;
flex-grow: 1;
margin-top: 3px;
}
.txt-sel {
background-color: #eee;
}
.txt-sel button {
background-color: #ccc;
}
#end {
2020-06-05 23:21:53 -04:00
text-align: center;
font-size: smaller;
height: 25px;
}
2020-06-05 23:21:53 -04:00
#progress {
display: none;
position: absolute;
2020-06-05 23:21:53 -04:00
bottom: 0px;
top: 0px;
left: 10%;
right: 10%;
text-align: center;
background-color: #ddd;
}
2020-06-05 23:21:53 -04:00
#progbar {
width: 100%;
2020-06-05 23:21:53 -04:00
text-align: left;
position: relative;
background-color: rgba(255,0,0,0.75);
}
2020-06-05 23:21:53 -04:00
#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;
}
2020-06-05 23:21:53 -04:00
#modal {
display: none;
position: fixed;
z-index: 20;
2020-06-06 11:17:04 -04:00
transform: translateY(-50%);
top: 50%;
left: 0px;
2020-06-05 23:21:53 -04:00
right: 0px;
bottom: 0px;
2020-06-06 11:17:04 -04:00
height: 300px;
background-color: var(--bg-gray);
2020-06-06 11:17:04 -04:00
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;
2020-06-06 11:17:04 -04:00
font-size: smaller;
2020-06-07 10:43:07 -04:00
xfont-family: monospace;
2020-06-06 11:17:04 -04:00
background-color: rgba(255,255,255,0.75);
}
.mod-top {
2020-06-06 11:17:04 -04:00
height: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
background-color: var(--bg-gray);
2020-06-06 11:17:04 -04:00
}
#mod-x {
position: absolute;
z-index: 30;
2020-06-06 11:17:04 -04:00
bottom: -20px;
right: 5px;
}
.mod-end {
2020-06-06 11:17:04 -04:00
height: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 10px;
background-color: var(--bg-gray);
}
2020-06-07 10:43:07 -04:00
#help p {
margin: 2px;
}
#help a {
font-weight: bold;
text-decoration: underline;
}
#help #kiri-version {
font-weight: bold;
}
#help .header {
background-image: var(--gradbar);
white-space: nowrap;
text-align: center;
justify-content: center;
border-radius: 5px;
padding: 1px 0 2px 0;
margin-bottom: 5px;
font-family: monospace;
color: white;
}
#help .title {
justify-content: center;
flex-direction: column;
text-align: center;
font-size: larger;
font-weight: bold;
padding: 10px;
}
#help .content {
white-space: nowrap;
flex-direction: column;
font-family: monospace;
margin: 3px 0 8px 0;
}
#help .footer {
font-family: monospace;
align-items: center;
white-space: nowrap;
flex-direction: column;
padding: 8px 0 3px 0;
border-top: 1px dashed black;
}
#help th, #help td {
font-family: monospace;
}
.dev-type {
font-family: 'Russo One', sans-serif;
flex-direction: column;
align-items: center;
background-color: white;
margin: 5px;
}
.dev-sel {
color: #033;
background-color: #bbb;
}
2020-06-05 23:21:53 -04:00
2020-06-06 23:21:42 -04:00
.t-head {
text-align: center;
font-weight: bold;
padding-bottom: 5px;
}
.t-33 {
width: 33%;
}
.t-group {
2020-06-07 10:43:07 -04:00
background-image: var(--gradbar);
2020-06-06 23:21:42 -04:00
white-space: nowrap;
text-align: center;
2020-06-07 10:43:07 -04:00
justify-content: center;
2020-06-06 23:21:42 -04:00
border-radius: 2px;
padding: 1px 0 2px 0;
margin: 5px 0 5px 0;
color: white;
}
.t-body {
background-color: white;
border: 1px solid #bbb;
border-radius: 3px;
}
.t-inset {
padding: 3px;
}
.t-pad {
width: 5px;
}
.t-pad2 {
width: 10px;
}
#devices {
width: 150px;
}
#device {
width: 225px;
}
#gcode-edit {
width: 225px;
}
#device-action, #tool-action {
margin-top: 5px;
}
#device-action button, #tool-action button {
flex-direction: column;
justify-content: center;
}
2020-06-05 23:21:53 -04:00
#slider {
display: none;
2020-06-05 23:21:53 -04:00
position: absolute;
top: 5px;
2020-06-05 23:21:53 -04:00
right: 3px;
bottom: 5px;
2020-06-05 23:21:53 -04:00
width: 50px;
background-color: #f8f8f8;
border: 1px solid #aaa;
border-radius: 3px;
}
2020-06-05 23:21:53 -04:00
#slider > div {
flex-direction: column;
align-items: center;
}
2020-06-05 23:21:53 -04:00
#slider-begin {
background-color: #ccc;
border-bottom: 1px solid #aaa;
}
2020-06-05 23:21:53 -04:00
#slider-end {
background-color: #ccc;
border-top: 1px solid #aaa;
}
2020-06-05 23:21:53 -04:00
#slider-hold {
background-color: #ccc;
position: absolute;
right: 0;
left: 0;
border: 3px solid white;
}
2020-06-05 23:21:53 -04:00
#slider-hold .shim {
width: 100%;
height: 10px;
background-color: #aaa;
border: 1px solid #999;
}
2020-06-05 23:21:53 -04:00
#alert-area {
display: none;
2020-06-05 23:21:53 -04:00
justify-content: center;
align-items: center;
position: absolute;
bottom: 40px;
left: 0;
right: 0;
}
2020-06-05 23:21:53 -04:00
#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;
}
2020-06-05 23:21:53 -04:00
#alert-border:hover {
background-color: rgba(230,245,255,0.9);
border: 3px solid rgba(200,215,255,0.95);
2019-01-18 16:36:14 -05:00
}
#alert-text {
display: flex;
flex-direction: column;
2019-01-18 16:36:14 -05:00
text-align: left;
font-weight: bold;
color: black;
margin: 5px;
}
#alert-text p {
margin: 5px;
2020-03-06 09:33:24 -05:00
text-align: center;
}
2020-06-06 00:38:46 -04:00
#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-gray);
2020-06-06 00:38:46 -04:00
}
#set-end {
color: black;
padding: 1px 10px 2px 2px;
border-top-left-radius: 0;
border-bottom-left-radius: 10px;
background-color: var(--bg-gray);
2020-06-06 00:38:46 -04:00
height: 10px;
}
2020-06-06 11:17:04 -04:00
.set-group {
2020-06-06 00:38:46 -04:00
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-gray);
2020-06-06 00:38:46 -04:00
right: -5px;
}
2020-06-06 11:17:04 -04:00
.set-group:hover {
2020-06-06 00:38:46 -04:00
background-color: #eee;
border: 1px solid #aaa;
color: #000;
}
2020-06-06 11:17:04 -04:00
.set-pop {
2020-06-06 00:38:46 -04:00
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;
2020-06-06 11:17:04 -04:00
border-radius: 5px;
2020-06-06 00:38:46 -04:00
margin-right: 5px;
2020-06-06 11:17:04 -04:00
padding: 5px;
2020-06-06 00:38:46 -04:00
}
2020-06-06 23:21:42 -04:00
.var-row {
white-space: nowrap;
}
.var-row label {
2020-06-06 00:38:46 -04:00
padding: 2px 4px 2px 0;
flex-grow: 1;
}
2020-06-06 23:21:42 -04:00
.table-row {
flex-direction: row;
align-items: stretch;
}