worker-time-control/css/style.css

479 lines
8.5 KiB
CSS

/*
Created on : 29-jul-2019, 11:30:28
Author : enrique blasco blanquer
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
user-select: none;
}
html, body {
width: 100%;
height: 100%;
font-family: 'Poppins', 'Verdana', 'Sans';
background: #121212;
}
h1 {
position: fixed;
bottom: 20px;
right: 20px;
font-size: 1em;
font-weight: 400;
color: white;
}
span {
color: #ED4947;
}
.total {
float: right;
font-weight: bold;
font-size: 1.4em;
margin-top: -40px;
}
ul {
list-style: none;
}
.pinContainer {
width: 320px;
height: 460px;
position: fixed;
top: 0;
bottom: 21%;
left: 0;
right: 0;
margin: auto;
text-align: center;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
#txtPin {
text-align: center;
padding: 15px 5px;
background: white;
line-height: 40px;
font-weight: 400;
font-size: 1.5em;
border-radius: 50px;
display: block;
width: 310px;
height: 70px;
margin: auto;
margin-bottom: 10px;
overflow: hidden;
font-size: 26px;
}
#logo {
width: 25%;
padding-bottom: 20px;
}
.btnPin {
display: flex;
align-items: center;
justify-content: center;
float: left;
width: calc(100% / 3);
height: calc(500px / 5);
padding: 5px;
}
.btnPinNum {
width: 100%;
height: 100%;
font-size: 2.5em;
background: #292929;
color: white;
margin: auto;
border-radius: 48%;
font-weight: 400;
display: flex;
align-items: center;
justify-content: center;
}
.btnPinNum:active {
background: #333;;
}
.btnCancel {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background: rgba(237,73,71,.90);
color: #fff;
border-radius: 50%;
}
.btnCancel:active {
background: rgb(172,55,54);
}
.btnOk {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background: rgba(163,171,38,.90);
color: #fff;
border-radius: 50%;
}
#invertColor {
filter: invert(100%);
}
.btnOk:active {
background: rgb(130, 136, 31);
}
#txtNombre {
padding-top: 0px;
padding-left: 10px;
float: left;
color: #fff;
text-align: right;
font-size: 1.8em;
font-weight: bold;
}
.paneles {
overflow: hidden;
width: 100%;
}
.planPanel {
float: left;
width: 100%;
padding: 20px 20px 0 20px;
height: auto;
}
.problemsPanel {
float: left;
width: 100%;
height: auto;
padding: 20px;
}
.container {
width: 100%;
height: 100%;
background: #292929;
padding: 20px;
overflow: hidden;
box-shadow: 0 0 5px rgba(0,0,0,.2);
border-radius: 8px;
}
h2 {
font-size: 1.3em;
color: white;
}
h3 {
font-size: 1em;
color: #9EA7AC;
font-weight: normal;
}
.footer {
display: none;
position: absolute;
bottom: 0;
width: 100%;
height: 100px;
text-align: center;
}
.in, .inMiddle {
display: inline;
position: static;
width: 350px;
background: rgba(0, 204, 10, .90);
padding: 20px 40px;
font-size: 2em;
color: #fff;
text-align: center;
border-radius: 50%;
}
.in:active {
background: rgb(0, 204, 10);
}
.out,.outMiddle {
display: inline;
position: static;
width: 350px;
background: rgba(237,73,71,.90);
padding: 20px 40px;
font-size: 2em;
color: #fff;
text-align: center;
border-radius: 50%;
}
.out:active {
background: rgb(237,73,71);
}
.inMiddle {
background: rgba(210, 172, 2, 0.9);
}
.outMiddle {
background: rgba(210, 172, 2, 0.9);
}
.inMiddle:active {
background: rgb(210, 172, 2);
}
.outMiddle:active {
background: rgb(210, 172, 2);
}
header {
overflow: hidden;
padding: 20px 20px 0px 20px;
}
.btnSalir {
float: right;
background: rgba(237,73,71,.90);
padding: 5px 30px;
font-size: 1.2em;
color: #fff;
border-radius: 50px;
}
.btnSalir:active {
background: rgb(237,73,71);
}
#txtIncidencia {
color: #ED4947;
font-weight: bold;
font-size: 1.4em;
margin-top: 10px;
}
.listHorario {
margin-top: 20px;
width: 100%;
overflow: hidden;
}
.listHorario .headerLi {
width: 100%;
overflow: hidden;
border-top: 1px solid #9EA7AC;
padding-bottom: 10px;
}
.listHorario label {
float: left;
width: calc(100% / 7);
text-align: center;
font-weight: bold;
padding: 5px 0;
}
.hoy {
background: #9EA7AC;
color: #fff;
}
.listHorario .time {
float: left;
width: calc(100% / 7);
text-align: center;
padding: 5px 0;
font-size: 1.2em;
overflow: hidden;
}
.listHorario .time img {
width: 20px;
float: left;
margin-right: 5px;
margin-left: 15px;
margin-top: 7px;
}
.listHorario .time p {
float: left;
background: #8DD202;
padding: 5px;
border-radius: 7px;
}
.impar {
color: rgba(163,171,38,.90);
font-weight: bold;
}
.hide {
opacity: 0;
}
.show {
opacity: 1;
}
.confirm {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #fff;
background: #BBFFBB;
color: #363;
}
.confirm.confirmKO {
background: #ffcdd2;
color: #A00;
}
.contConfirm {
position: fixed;
margin: auto;
top:0;
bottom: 0;
left: 0;
right: 0;
width: 800px;
height: 170px;
text-align: center;
}
.contConfirm h4 {
font-size: 2.5em;
margin-bottom: 20px;
}
.btnconfirmar {
float: left;
font-size: 1.2em;
padding: 18px;
background: rgba(163,171,38,.90);
color: #fff;
margin: 15px;
}
.btnnoconfirm {
float: left;
font-size: 1.2em;
padding: 18px;
background: rgba(237,73,71,.90);
color: #fff;
margin: 15px;
}
.botonera {
margin: auto;
width: 310px;
overflow: hidden;
}
.loading {
display: none;
top: 0;
left: 0;
position: fixed;
z-index: 999;
width: 100%;
height: 100%;
background: linear-gradient(45deg, rgba(255, 255, 255, .5) 0%, rgb(0, 0, 0, .5) 100%);
background: -moz-linear-gradient(45deg, rgba(255, 255, 255, .5) 0%, rgb(0, 0, 0, .5) 100%);
background: -webkit-gradient(left bottom, right top, color-stop(0%, rgba(255, 255, 255, .5)), color-stop(100%, rgb(0, 0, 0, .5)));
background: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .5) 0%, rgb(0, 0, 0, .5) 100%);
background: -o-linear-gradient(45deg, rgba(255, 255, 255, .5) 0%, rgb(0, 0, 0, .5) 100%);
background: -ms-linear-gradient(45deg, rgba(255, 255, 255, .5) 0%, rgb(0, 0, 0, .5) 100%);
background: linear-gradient(45deg, rgba(255, 255, 255, .5) 0%, rgb(0, 0, 0, .5) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#199aa6', endColorstr='#27d88b', GradientType=1 );
}
.loadingcontent {
position: fixed;
height: 50px;
width: 100%;
margin: auto;
top: 0;
bottom: 0;
left: 0;
}
.sk-cube-grid {
width: 40px;
height: 40px;
margin: auto;
}
.sk-cube-grid .sk-cube {
width: 33%;
height: 33%;
background-color: #fff;
float: left;
-webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
}
.sk-cube-grid .sk-cube1 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s; }
.sk-cube-grid .sk-cube2 {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
-webkit-animation-delay: 0.4s;
animation-delay: 0.4s; }
.sk-cube-grid .sk-cube4 {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
-webkit-animation-delay: 0s;
animation-delay: 0s; }
.sk-cube-grid .sk-cube8 {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s; }
@-webkit-keyframes sk-cubeGridScaleDelay {
0%, 70%, 100% {
-webkit-transform: scale3D(1, 1, 1);
transform: scale3D(1, 1, 1);
} 35% {
-webkit-transform: scale3D(0, 0, 1);
transform: scale3D(0, 0, 1);
}
}
@keyframes sk-cubeGridScaleDelay {
0%, 70%, 100% {
-webkit-transform: scale3D(1, 1, 1);
transform: scale3D(1, 1, 1);
} 35% {
-webkit-transform: scale3D(0, 0, 1);
transform: scale3D(0, 0, 1);
}
}