worker-time-control/css/style.css

381 lines
6.7 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;
opacity: 50%;
}
span {
color: #ED4947;
}
.total {
float: right;
font-weight: bold;
font-size: 1.4em;
margin-top: -45px;
color: white;
}
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: 30%;
padding-bottom: 20px;
pointer-events: none;
}
.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: white;
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: white;
border-radius: 50%;
}
#invertColor {
filter: invert(100%);
pointer-events: none;
}
.btnOk:active {
background: rgb(130, 136, 31);
}
#txtNombre {
padding-top: 0px;
padding-left: 10px;
float: left;
color: white;
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;
animation: slideIn 0.4s ease-in-out;
}
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;
}
.footer {
animation: faceIn 0.2s ease-in-out;
}
.in, .inMiddle {
display: inline;
position: static;
width: 350px;
background: rgba(69, 171, 38, 0.9);
padding: 20px 40px;
font-size: 2em;
color: #fff;
text-align: center;
border-radius: 50px;
}
.in:active {
background: rgb(53, 131, 29);
}
.out {
margin-left: 30px;
}
.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: 50px;
}
.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;
text-align: center;
justify-content: center;
align-items: center;
}
.listHorario .hrTop {
width: 100%;
overflow: hidden;
border-top: 1px solid #9EA7AC;
padding-bottom: 5px;
}
/* Transparent borders because <hr> doesn't allow margin */
.listHorario hr {
padding-top: 5px;
margin-bottom: 15px;
border-bottom: 1px solid #9EA7AC;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
border-top: 1px solid transparent;
}
.listHorario label {
float: left;
width: calc(100% / 7);
text-align: center;
font-weight: bold;
padding: 5px 0;
color: white;
}
.hoy {
background: #9EA7AC;
border-radius: 25px 25px 0px 0px;
color: black !important;
}
.listHorario .time {
float: left;
width: calc(100% / 7);
font-size: 1.2em;
overflow: hidden;
color: white;
}
.listHorario .time div {
display: flex;
align-items: center;
justify-content: center;
padding-top: 5px;
padding-bottom: 5px;
}
.listHorario .time img {
width: 20px;
float: left;
margin-right: 5px;
filter: invert(100%);
pointer-events: none;
}
.listHorario .time p {
float: left;
background: #121212;
padding: 2px;
border-radius: 24px;
color: white;
width: 72.5px;
box-shadow: 0 1px 5px #0003,0 2px 2px #00000024,0 3px 1px -2px #0000001f;
}
.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;
}
@keyframes slideIn {
0% {
transform: translateY(-100%);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
@keyframes faceIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@font-face {
font-family: 'Poppins';
src: url('../font/Poppins.ttf') format('truetype');
}
@font-face {
font-family: 'Poppins';
src: url('../font/Poppins-Bold.ttf') format('truetype');
font-weight: bold;
}