verbose/css/main.css
2023-11-20 12:42:57 +01:00

400 lines
5.3 KiB
CSS

* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: "sans";
font-size: 12pt;
background-color: #222222;
color: white;
margin: 0;
padding: 0;
}
a {
color: #87decd;
}
form {
padding: 0;
margin: 0;
}
h1, h2, h3, h4, h5, h6 {
margin: 3mm 0 5mm 0;
padding: 0;
text-align: center;
color: white;
}
p {
margin: 0;
color: white;
text-indent: 3mm;
/*text-align: justify;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;*/
}
.firstp {
text-indent: 0;
}
.ul {
padding-left: 5mm;
margin-bottom: 0;
}
.notset {
color: #555555;
}
input:focus, textarea:focus, button:focus {
outline: none;
}
#main {
margin-left: auto;
margin-right: auto;
max-width: 20cm;
width: 100%;
padding: 3mm;
}
#notif {
width: 6cm;
position: fixed;
right: 3mm;
bottom: 3mm;
background-color: #16502d;
color: white;
border: 1px solid white;
padding: 3mm;
border-radius: 6px;
display: none;
font-size: 10pt;
cursor: pointer;
}
#popup {
display: none;
align-items: center;
position: fixed;
top: 0;
width: 100%;
height: 100vh;
z-index: 1;
background-color: rgba(0, 0, 0, .75);
}
#popupmsg {
margin-left: auto;
margin-right: auto;
max-width: 98%;
width: 15cm;
}
#puptitle {
border-radius: 9px 9px 0 0;
padding: 0;
background-color: white;
color: black;
font-weight: bold;
}
#pupmsg {
border-radius: 0 0 9px 9px;
border: 1px solid white;
border-top: 0;
padding: 1.5mm 3mm 1.5mm 3mm;
background-color: #555555;
color: white;
}
#pupmsg ul {
margin: 0;
margin-left: 3mm;
padding: 0;
}
.error, .success, .warning, .normtext {
width: 100%;
color: red;
margin-bottom: 15px;
border: 1px solid red;
border-radius: 6px;
padding: 3mm;
}
.warning {
color: orange;
border-color: orange;
}
.success {
color: lightgreen;
border-color: lightgreen;
}
.normtext {
background-color: #555555;
color: white;
border: none;
}
.hili {
color: #ffcc00;
}
.tittab {
border-collapse: collapse;
width: 100%;
border: none;
}
.tittab tr {
margin: 0;
padding: 0;
}
.tittab td {
margin: 0;
padding: 1mm;
vertical-align: middle;
}
.closeb {
cursor: pointer;
top: 3px;
vertical-align: middle;
}
.inputdiv, .lastinputdiv, .outputdiv, .lastoutputdiv {
width: 100%;
}
.inputdiv {
margin-bottom: 15px;
}
.lastoutputdiv {
margin-top: 15px;
}
.input, .inputx, .textarea, .button, .postbutton, .halfbutton, .copybutton, .output, .outputnobb, .outputli, .posthead, .lastborder, fieldset {
width: 100%;
border: 1px solid #555555;
border-radius: 0 6px 6px 6px;
font-size: 12pt;
margin: 0;
padding: 3px;
}
.input, .inputx, .textarea {
font-family: "sans";
}
.inputx {
border-radius: 0 6px 0 0;
}
.lastborder {
border-top: none;
border-radius: 0 0 6px 6px;
}
fieldset {
padding: 5px;
}
.halfbutton {
width: 50%;
height: 30px;
border-radius: 6px;
}
.button, .postbutton, .copybutton {
height: 40px;
border-radius: 6px;
font-weight: bold;
}
.button, .postbutton {
color: white;
background-color: #916f7c;
border-color: #ac939d #6c535d #6c535d #ac939d;
}
.button:hover, .postbutton:hover {
background-color: #6c535d;
border-color: #916f7c #48373e #48373e #916f7c;
}
.copybutton {
border-top: none;
border-radius: 0 0 6px 6px;
display: none;
}
.output, .outputnobb {
border-radius: 0;
margin: 0;
font-family: "sans";
}
.outputnobb {
background-color: white;
color: black;
border-bottom: none;
}
.outputli {
border-radius: 0 0 6px 6px;
}
label {
max-width: 96%;
font-weight: bold;
color: white;
background-color: #555555;
border-bottom: none;
border-radius: 6px 6px 0 0;
padding: 2px 6px 3px 6px;
display: inline-block;
margin: 0;
}
.trow {
display: table-row;
}
.tcell {
display: table-cell;
}
.cblab {
background-color: rgba(0, 0, 0, 0);
font-weight: normal;
display: table-cell;
}
.posthead, .errposthead {
font-weight: bold;
margin-bottom: 0;
border-bottom: none;
border-radius: 6px 6px 0 0;
color: white;
background-color: #555555;
padding: 3px 6px 3px 6px;
margin-top: 15px;
}
.errposthead {
background-color: red;
}
.separator {
width: 100%;
height: 25px;
}
.pseparator {
width: 100%;
height: 40px;
}
.postdiv, .postdivnobut {
border: 1px solid #555555;
background-color: white;
color: black;
padding: 3px;
}
.postdivnobut {
border-radius: 0 0 6px 6px;
}
.fullheight {
min-height: 90vh;
}
hr {
height: 1px;
background-color: #555555;
color: #555555;
border: none;
}
.debug {
width: 100%;
font-size: 10pt;
padding: 2mm;
}
#pmonitor {
display: none;
}
#pstatus {
color: white;
font-size: 10pt;
padding: 3px;
border: 1px solid white;
border-radius: 4px;
margin-bottom: 1mm;
}
#ppercenv {
padding: 3px;
border: 1px solid white;
border-radius: 4px;
margin-bottom: 1mm;
}
#pperc {
height: 3mm;
background-color: green;
width: 0;
border-radius: 2px;
}
#plog {
font-size: 10pt;
border-radius: 4px;
border: 1px solid white;
color: white;
height: 120px;
padding: 3px;
overflow-y: scroll;
}
#footer, #almfooter {
width: 100%;
text-align: center;
font-size: 9pt;
margin: 3mm 0 0 0;
}
#almfooter {
font-size: 10.5pt;
}
@media only screen and (max-width:10cm) {
body, .input, .inputx, .textarea, .button, .postbutton, .halfbutton, .copybutton, .output, .outputnobb, .outputli, .posthead, .lastborder, fieldset {
font-size: 11pt;
}
#pstatus, #plog, .debug {
font-size: 9pt;
}
#footer {
font-size: 8.5pt;
}
#almfooter {
font-size: 9.5pt;
}
}