WebguiappTemplate/HTML/res/appstyles.css

213 lines
3.9 KiB
CSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

:root {
/*========== Colors ==========*/
--bgr-color: #1D2327;
--panel-bgr-color: #2c3338;
--menu-bgr-color: #3c434a;
--header-bgr-color: #646970;
--accent-color: #dba617;
--text-color:#F0F0F1;
/*========== Font and typography ==========*/
--body-font: 'Consolas','Roboto', monospace;
--large-font-size: 1.2rem;
--normal-font-size: 0.9rem;
--small-font-size: .9rem;
--smaller-font-size: .8rem;
/*========== Font weight ==========*/
--font-medium: 500;
--font-semi-bold: 600;
}
.pwrbox{width:80%; height:auto; padding:5px; margin:10px auto; box-sizing:border-box;}
.pwrbox td {font: .9rem consolas, monospace; width:30%; padding:0;margin:0;}
.container{margin: 10px;
display: flex;
flex-wrap:wrap;}
div label input {margin-right: 100px;}
.cat{
margin: 4px;
background-color: var(--first-color);
border-radius: 5px;
border: 1px solid rgba(255, 255, 255, 0.4);
overflow: hidden;
float: left;
}
.cat label {float: left; line-height: 2.6em; width: 2.6em; height: 2.6em;}
.cat label span {text-align: center; padding: 0px 0px; display: block;}
.cat label input { position: absolute; display: none;color: var(--text-color) !important;}
.cat label input + span{color: var(--text-color);}
.cat input:checked + span {
color: var(--text-color);
text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}
input:checked + span{background-color: var(--navy-color);}
.channel{ width:100%;
display: flex;
flex-wrap:no-wrap;
margin:10px;
}
.chnam{
display: flex;
align-items: center;
}
.rngval {
-webkit-appearance: none;
margin: auto 10px;
width: 80%;
height: 5px;
border: none;
background: var(--navy-color);
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}
.rngval::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: var(--text-color);
cursor: pointer;
}
.rngval::-moz-range-thumb {
width: 25px;
height: 25px;
border-radius: 50%;
background: var(--text-color);
cursor: pointer;
}
.inpval{
display: flex;
align-items: center;
}
.switch {
position: relative;
display: inline-block;
width: 42px;
height: 24px;
margin: 10px 20px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #666;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: var(--text-color);
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: var(--accent-color);
}
input:focus + .slider {
box-shadow: 0 0 1px var(--accent-color);
}
input:checked + .slider:before {
-webkit-transform: translateX(18px);
-ms-transform: translateX(18px);
transform: translateX(18px);
}
/* Rounded sliders */
.slider.round {
border-radius: 24px;
}
.slider.round:before {
border-radius: 50%;
}
/*Timer styles*/
.timer
{
width:100%;
padding: 10px;
margin:5px;
border: 1px solid rgba(255, 255, 255, 0.4);
}
.timerrec {
width:100%;
display: flex;
flex-wrap:wrap;
}
.tmbtn{
float:right;
}
.tmlab{
float:left;
}
.nowrap
{
display: flex;
flex-wrap:no-wrap;
align-items: center;
width:100%;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}