1
mirror of https://github.com/rvdbreemen/OTGW-firmware synced 2024-11-16 04:33:49 +01:00
OTGW-firmware/theme/OTGW_Dark_Theme/index.css
Robert van den Breemen cb752dd43e update version to 0.9.5
2022-05-30 08:27:46 +02:00

449 lines
9.3 KiB
CSS

/*
***************************************************************************
** Program : index.css
** Version : v0.9.5
**
** Copyright (c) 2021-2022 Robert van den Breemen
**
** TERMS OF USE: MIT License. See bottom of file.
***************************************************************************
*/
* {
font-family: Arial, Helvetica, sans-serif;
}
html {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: 'Dosis', sans-serif;
line-height: 1.6;
color: white;
background: rgb(28, 28, 30);
}
table {
color: black;
border-collapse: collapse;
width: 90%;
background: rgb(28, 28, 30);
}
th {
white-space: nowrap;
border-right: 1px solid #ddd;
border-left: 1px solid #ddd;
vertical-align: bottom;
}
td {
white-space: nowrap;
border-bottom: 1px solid #ddd;
border-right: 1px solid #ddd;
border-left: 1px solid #ddd;
vertical-align: bottom;
}
tfoot {
font-size: 12px;
color: rgb(44, 44, 46);
}
input {
padding-top: 3px;
padding-bottom: 2px;
font-size: 12pt;
}
.outer-div {
/*width: 90%; */
text-align: center;
background-color: rgb(28, 28, 30)
}
.inner-div {
display: inline-block;
/*
margin: 0 auto;
padding: 3px;
background-color: rgb(28, 28, 30)
*/
}
.container-card {
padding: 50;
margin: 50;
list-style: none;
flex-direction: row; /*row | row-reverse | column | column-reverse*/
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
justify-content: space-around; /* flex-start | flex-end | center | space-between | space-around | space-evenly */
}
.container-box {
padding: 10px;
margin: 10px;
list-style: none;
flex-direction: column; /*row | row-reverse | column | column-reverse*/
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: column wrap;
justify-content: flex-start;
margin-top: 10px;
}
/*--------------------- N A V - B A R -----------------*/
.nav-container {
background: rgb(44, 44, 46);
padding-top: 6px;
padding-left: 1px;
padding-right: 1px;
padding-bottom: 6px;
min-height: 50px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
border-top-style: solid;
border-top-width: 1px;
border-top-color: rgb(72, 72, 74);
border-bottom-style: solid;
border-bottom-width: 1px;
border-bottom-color: rgb(72, 72, 74);
}
.nav-container a:hover {
color: white;
background: rgb(44, 44, 46); /* only for FSexplorer - Rest does not work */
}
.nav-left {
flex-basis: 10%;
display: flex;
flex-grow: 1;
gap: 0px;
flex: 2 1 0;
justify-content: left; /* horizonal alignment */
align-items: center; /* horizonal alignment */
min-height: 50px;
font-size: 26px;
font-weight: bold;
}
.nav-centered {
flex-basis: 10%;
display: flex;
flex-grow: 1;
gap: 0px;
flex: 2 1 0;
justify-content: left; /* horizonal alignment */
align-items: center; /* horizonal alignment */
min-height: 50px;
font-size: 26px;
font-weight: thin;
}
.nav-right {
flex-basis: 80%;
display: flex;
flex-grow: 9;
gap: 15px;
flex: 2 1 0;
justify-content: right; /* horizonal alignment */
align-items: center; /* horizonal alignment */
min-height: 50px;
}
.nav-right .adv_dropdown {
display: block;
position: absolute;
top: 121px;
background-color: rgb(44, 44, 46);
}
.nav-right .adv_dropdown.hidden {
display: none;
}
.nav-right .adv_dropdown span {
display: block;
height: 2em;
line-height: 2em;
width: auto;
cursor: pointer;
}
.nav-right .adv_dropdown span:hover {
background-color: rgb(44, 44, 46);
}
.nav-item {
font-size: 16px;
height: 40px;
width: 110px;
background-color: rgb(44, 44, 46);
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
box-shadow: none;
}
.nav-item:active {
transform: translate(2px, 2px);
box-shadow: none;
}
.nav-img {
height: 30px;
object-fit: cover;
cursor: pointer;
color:rgba(87, 152, 203, 1);
}
.nav-clock {
top: 1px;
color: white;
float: right;
font-size: small;
font-weight:bold;
text-align: right;
background: rgb(28, 28, 30);
width: 200px;
padding-right: 10px;
background: rgb(28, 28, 30);
}
/*-------------------------*/
/***
@media all and (max-width: 600px) {
.nav-container {
justify-content: space-around;
}
}
@media all and (max-width: 400px) {
.nav-container {
-webkit-flex-flow: column wrap;
flex-flow: column wrap;
padding: 0;
}
}
***/
.tabButton a:hover {
background-color: rgb(99, 99, 102);
}
.header h1 span {
position: relative;
top: 1px;
left: 10px;
}
.bottom {
position: fixed;
font-size: small;
color: gray;
bottom:0;
}
.right-0 {right: 0; padding-right: 10px; }
.left-0 {left: 0; padding-left: 10px; }
/*-- next 4 are for the API doc page --------*/
.div1 {
float: left;
margin-left: 20px;
margin-top: 10px;
}
.div1 a:link, a:visited {
background-color: rgb(28, 28, 30);
color: white;
padding: 5px 15px;
width: 210px;
text-align: right;
text-decoration: none;
display: inline-block;
}
.div1 a:hover, a:active {
background-color: rgb(28, 28, 30);
color: black;
}
.div2 {
margin-left: 280px;
margin-top: -52px;
}
/* header */
.headerrow {
vertical-align:bottom;
}
.headercolumnbig{
font-size: xx-large;
font-weight: bold;
float: left;
width: 350px;
}
.headercolumn{
font-size: smaller;
float: left;
width: 175px;
}
/* Clear floats after the columns */
.headerrow:after {
content: "";
display: table;
clear: both;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
.column {
width: 100%;
}
}
/* PIC firmware page */
#table {
display: table;
padding: 5px;
}
.picrow {
display: table-row;
padding: 5px;
}
.piccolumn1 {
display: table-cell;
width: 150px;
margin: 5px;
}
.piccolumn2 {
display: table-cell;
width: 75px;
margin: 5px;
}
.piccolumn3 {
display: table-cell;
width: 30px;
margin: 5px;
}
.piccolumn4 {
display: table-cell;
padding-left: 5px;
width: 16px;
margin: 5px;
}
.piccolumn5 {
display: table-cell;
width: 16px;
padding-left: 5px;
padding-right: 5px;
margin: 5px;
}
/* OTmonitor */
.otmonrow {
background: rgb(28, 28, 30);
display: table-row;
}
.otmoncolumn1 {
display: table-cell;
float: left;
width: 270px;
padding-left: 10px;
}
.otmoncolumn2 {
display: table-cell;
float: left;
width: 40px;
text-align: right;
}
.otmoncolumn3 {
display: table-cell;
float: left;
width: 30px;
margin-left: 2px;
}
/* DevInfo */
.devinfonrow {
background: rgb(28, 28, 30);
display: table-row;
font-size: 14px;
}
.devinfocolumn1 {
display: table-cell;
float: left;
width: 160px;
padding-left: 10px;
font-size: 12px;
}
.devinfocolumn2 {
display: table-cell;
float: left;
width: 160px;
text-align: left;
font-size: 12px;
}
/* Clear floats after the columns */
.devinforow:after {
content: "";
display: table;
clear: both;
background: rgb(28, 28, 30);
}
/* SettingsPage */
#settingMessage {
background-color: rgba(87, 152, 203, 1);
width: 860px;
margin-left: 10px;
color: white;
text-align: center;
}
/* define tag selectors () -------------------------------------------------- */
button { width: 100px; }
/*
***************************************************************************
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to permit
* persons to whom the Software is furnished to do so, subject to the
* following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
* OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
* THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
***************************************************************************
*/