353 lines
4.8 KiB
CSS
353 lines
4.8 KiB
CSS
/* global defaults */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font: 12pt Helvetica, Arial;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
background-color: #131416;
|
|
color: #EEEEEE;
|
|
}
|
|
|
|
.banner {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: .5em;
|
|
margin-bottom: 2em;
|
|
text-align: center;
|
|
}
|
|
|
|
.banner img {
|
|
max-width: 320px;
|
|
height: auto;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.banner img {
|
|
max-width: 80%;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24pt;
|
|
color: pink;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 14pt;
|
|
color: lightblue;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 12pt;
|
|
font-weight: bold;
|
|
color: pink;
|
|
}
|
|
|
|
br {
|
|
padding-bottom: .5em;
|
|
}
|
|
|
|
div.break.half {
|
|
padding-bottom: .25em;
|
|
}
|
|
|
|
div.break {
|
|
padding-bottom: .5em;
|
|
}
|
|
|
|
ul {
|
|
list-style-type: disc;
|
|
list-style-position: inside;
|
|
padding-bottom: .5em;
|
|
}
|
|
|
|
a {
|
|
color: lightblue;
|
|
}
|
|
|
|
.centered {
|
|
text-align: center;
|
|
}
|
|
|
|
.right {
|
|
text-align: right;
|
|
}
|
|
|
|
.truncate {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.badwrap {
|
|
overflow: wrap;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
/* footer */
|
|
footer {
|
|
flex: 0 1 auto;
|
|
justify-self: flex-end;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* central display */
|
|
.central {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0 10px;
|
|
min-height: 100vh;
|
|
margin: 0 10%;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.central {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.central p {
|
|
padding-bottom: .5em;
|
|
}
|
|
|
|
/* components */
|
|
.page {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.panel {
|
|
flex: 0 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
/* right-aligned panels */
|
|
.panel.right {
|
|
align-items: center;
|
|
}
|
|
|
|
.panel.right form {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
align-self: stretch;
|
|
}
|
|
|
|
.panel.right form button {
|
|
align-self: stretch;
|
|
margin-top: .2em;
|
|
margin-bottom: .2em;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.panel.right h1 {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
/* constrained panels */
|
|
.constrained {
|
|
align-self: center;
|
|
max-width: 320px;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.constrained {
|
|
align-self: stretch;
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
/* warning message */
|
|
.warning {
|
|
flex: 0 1 auto;
|
|
display: none;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-content: flex-end;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
border-color: #ff0000;
|
|
background: #ff6666;
|
|
}
|
|
|
|
.panel.right .warning {
|
|
align-self: stretch;
|
|
}
|
|
|
|
/* custom styling */
|
|
|
|
/* SidePanelPage structure */
|
|
.sidePanelPage {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.sidePanelPage {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
/* left panel */
|
|
.sidePanel {
|
|
flex: 0 1 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
min-width: 160px;
|
|
width: 160px;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.sidePanel {
|
|
align-self: stretch;
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
/* main panel */
|
|
.mainPanel {
|
|
margin-left: 30px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.mainPanel {
|
|
margin-left: 15px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.mainPanel {
|
|
margin-left: 0;
|
|
align-self: stretch;
|
|
width: auto;
|
|
}
|
|
}
|
|
|
|
/* flexbox tables */
|
|
.table {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.table .row {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.table .row {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.table .row .col {
|
|
flex: 1 1 1%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.table.noCollapse .row, .table .row.noCollapse {
|
|
flex-direction: row;
|
|
border-style: none;
|
|
}
|
|
|
|
/* bits and pieces */
|
|
.logoutButton {
|
|
align-self: stretch;
|
|
margin-bottom: .5em;
|
|
}
|
|
|
|
.newsLine {
|
|
border: none;
|
|
height: 1px;
|
|
color: lightblue;
|
|
background-color: lightblue;
|
|
margin-top: 1em;
|
|
margin-bottom: 2em;
|
|
}
|
|
|
|
pre {
|
|
color: pink;
|
|
background-color: #1a253a;
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.show.mobile {
|
|
display: none;
|
|
}
|
|
|
|
.centered.mobile {
|
|
text-align: initial;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
.show.mobile {
|
|
display: inline-block;
|
|
}
|
|
|
|
.hide.mobile {
|
|
display: none;
|
|
}
|
|
|
|
.centered.mobile {
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.central p.equipmentTextPadding {
|
|
padding-top: .25em;
|
|
padding-bottom: .25em;
|
|
}
|
|
|
|
.alwaysCentered {
|
|
text-align: center !important;
|
|
}
|
|
|
|
.rainbowText {
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-image: -webkit-gradient(linear, left top, left bottom,
|
|
color-stop(0.00, red),
|
|
color-stop(16%, orange),
|
|
color-stop(32%, yellow),
|
|
color-stop(48%, green),
|
|
color-stop(60%, blue),
|
|
color-stop(76%, indigo),
|
|
color-stop(1.00, violet)
|
|
);
|
|
}
|
|
|
|
.highlight {
|
|
background-color: #1a253a;
|
|
} |