worker-time-control/css/style.css

402 lines
7.4 KiB
CSS
Raw Normal View History

2021-10-19 08:52:45 +00:00
/*
Created on : 29-jul-2019, 11:30:28
Author : enrique blasco blanquer
*/
2023-08-22 11:46:00 +00:00
* {
2021-10-19 08:52:45 +00:00
margin: 0;
padding: 0;
box-sizing: border-box;
2022-03-03 07:12:10 +00:00
user-select: none;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
html, body {
2021-10-19 08:52:45 +00:00
width: 100%;
height: 100%;
2023-08-22 11:46:00 +00:00
font-family: 'Poppins', 'Verdana', 'Sans';
background: #121212;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
h1 {
2021-10-19 08:52:45 +00:00
position: fixed;
bottom: 20px;
right: 20px;
font-size: 1em;
2023-08-22 11:46:00 +00:00
font-weight: 400;
color: white;
opacity: 50%;
2024-03-22 12:43:20 +00:00
align-items: center;
display: flex;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
span {
2021-10-19 08:52:45 +00:00
color: #ED4947;
}
2024-01-30 13:44:44 +00:00
.device {
position: fixed;
bottom: 20px;
left: 20px;
float: left;
font-size: 1em;
font-weight: 400;
color: white;
}
2023-08-22 11:46:00 +00:00
.total {
2021-10-19 08:52:45 +00:00
float: right;
font-weight: bold;
font-size: 1.4em;
margin-top: -45px;
color: white;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
ul {
2021-10-19 08:52:45 +00:00
list-style: none;
}
2023-08-22 11:46:00 +00:00
.pinContainer {
width: 320px;
2021-10-19 08:52:45 +00:00
height: 460px;
position: fixed;
top: 0;
2023-08-22 11:46:00 +00:00
bottom: 21%;
2021-10-19 08:52:45 +00:00
left: 0;
right: 0;
margin: auto;
text-align: center;
2023-08-22 11:46:00 +00:00
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
#txtPin {
2021-10-19 08:52:45 +00:00
text-align: center;
padding: 15px 5px;
2023-08-22 11:46:00 +00:00
background: white;
line-height: 40px;
font-weight: 400;
2021-10-19 08:52:45 +00:00
font-size: 1.5em;
2023-08-22 11:46:00 +00:00
border-radius: 50px;
2021-10-19 08:52:45 +00:00
display: block;
2023-08-22 11:46:00 +00:00
width: 310px;
height: 70px;
2021-10-19 08:52:45 +00:00
margin: auto;
margin-bottom: 10px;
2023-08-22 11:46:00 +00:00
overflow: hidden;
font-size: 26px;
}
#logo {
width: 30%;
2023-08-22 11:46:00 +00:00
padding-bottom: 20px;
pointer-events: none;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.btnPin {
display: flex;
align-items: center;
justify-content: center;
2021-10-19 08:52:45 +00:00
float: left;
width: calc(100% / 3);
2023-08-22 11:46:00 +00:00
height: calc(500px / 5);
2021-10-19 08:52:45 +00:00
padding: 5px;
}
2023-08-22 11:46:00 +00:00
.btnPinNum {
2021-10-19 08:52:45 +00:00
width: 100%;
height: 100%;
font-size: 2.5em;
2023-08-22 11:46:00 +00:00
background: #292929;
color: white;
margin: auto;
border-radius: 48%;
font-weight: 400;
display: flex;
align-items: center;
justify-content: center;
2022-03-03 07:12:10 +00:00
}
2023-08-22 11:46:00 +00:00
.btnPinNum:active {
background: #333;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.btnCancel {
2021-10-19 08:52:45 +00:00
width: 100%;
height: 100%;
2023-08-22 11:46:00 +00:00
display: flex;
align-items: center;
justify-content: center;
2021-10-19 08:52:45 +00:00
background: rgba(237,73,71,.90);
color: white;
2023-08-22 11:46:00 +00:00
border-radius: 50%;
2022-03-03 07:12:10 +00:00
}
2023-08-22 11:46:00 +00:00
.btnCancel:active {
2022-03-03 07:12:10 +00:00
background: rgb(172,55,54);
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.btnOk {
2021-10-19 08:52:45 +00:00
width: 100%;
height: 100%;
2023-08-22 11:46:00 +00:00
display: flex;
align-items: center;
justify-content: center;
2021-10-19 08:52:45 +00:00
background: rgba(163,171,38,.90);
color: white;
2023-08-22 11:46:00 +00:00
border-radius: 50%;
2022-03-03 07:12:10 +00:00
}
2023-08-22 11:46:00 +00:00
#invertColor {
filter: invert(100%);
pointer-events: none;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.btnOk:active {
background: rgb(130, 136, 31);
}
#txtNombre {
2021-10-19 08:52:45 +00:00
padding-top: 0px;
padding-left: 10px;
float: left;
color: white;
2021-10-19 08:52:45 +00:00
text-align: right;
font-size: 1.8em;
font-weight: bold;
}
2023-08-22 11:46:00 +00:00
.paneles {
2021-10-19 08:52:45 +00:00
overflow: hidden;
width: 100%;
}
2023-08-22 11:46:00 +00:00
.planPanel {
2021-10-19 08:52:45 +00:00
float: left;
width: 100%;
padding: 20px 20px 0 20px;
height: auto;
}
2023-08-22 11:46:00 +00:00
.problemsPanel {
2021-10-19 08:52:45 +00:00
float: left;
width: 100%;
height: auto;
padding: 20px;
}
2023-08-22 11:46:00 +00:00
.container {
2021-10-19 08:52:45 +00:00
width: 100%;
height: 100%;
2023-08-22 11:46:00 +00:00
background: #292929;
2021-10-19 08:52:45 +00:00
padding: 20px;
overflow: hidden;
box-shadow: 0 0 5px rgba(0,0,0,.2);
border-radius: 8px;
2023-08-24 08:45:19 +00:00
animation: slideIn 0.4s ease-in-out;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
h2 {
2021-10-19 08:52:45 +00:00
font-size: 1.3em;
2023-08-22 11:46:00 +00:00
color: white;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
h3 {
2021-10-19 08:52:45 +00:00
font-size: 1em;
color: #9EA7AC;
font-weight: normal;
}
2024-03-22 12:43:20 +00:00
.heart {
display: inline-block;
margin-bottom: 1px;
margin-left: 5px;
width: 18px;
height: 18px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath fill='%2397d700' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
background-size: cover;
background-repeat: no-repeat;
2024-03-22 12:08:39 +00:00
}
2023-08-22 11:46:00 +00:00
.footer {
2021-10-19 08:52:45 +00:00
display: none;
position: absolute;
bottom: 0;
width: 100%;
height: 100px;
text-align: center;
}
2023-08-24 09:06:45 +00:00
.footer {
animation: faceIn 0.2s ease-in-out;
2023-08-24 08:45:19 +00:00
}
2023-08-22 11:46:00 +00:00
.in, .inMiddle {
2021-10-19 08:52:45 +00:00
display: inline;
position: static;
width: 350px;
background: rgba(69, 171, 38, 0.9);
2021-10-19 08:52:45 +00:00
padding: 20px 40px;
font-size: 2em;
color: #fff;
text-align: center;
border-radius: 50px;
2021-10-19 08:52:45 +00:00
}
2022-03-03 12:23:52 +00:00
.in:active {
background: rgb(53, 131, 29);
}
.out {
margin-left: 30px;
2022-03-03 12:23:52 +00:00
}
.out, .outMiddle {
2021-10-19 08:52:45 +00:00
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;
2021-10-19 08:52:45 +00:00
}
2022-03-03 12:23:52 +00:00
.out:active {
background: rgb(237,73,71);
}
2023-08-22 11:46:00 +00:00
.inMiddle {
2022-03-03 12:23:52 +00:00
background: rgba(210, 172, 2, 0.9);
}
2023-08-22 11:46:00 +00:00
.outMiddle {
background: rgba(210, 172, 2, 0.9);
2022-03-03 12:23:52 +00:00
}
2023-08-22 11:46:00 +00:00
.inMiddle:active {
2022-03-03 12:23:52 +00:00
background: rgb(210, 172, 2);
}
2023-08-22 11:46:00 +00:00
.outMiddle:active {
background: rgb(210, 172, 2);
2022-02-28 08:44:00 +00:00
}
2023-08-22 11:46:00 +00:00
header {
2021-10-19 08:52:45 +00:00
overflow: hidden;
padding: 20px 20px 0px 20px;
}
2023-08-22 11:46:00 +00:00
.btnSalir {
2021-10-19 08:52:45 +00:00
float: right;
background: rgba(237,73,71,.90);
padding: 5px 30px;
font-size: 1.2em;
color: #fff;
2023-08-22 11:46:00 +00:00
border-radius: 50px;
2022-03-03 12:23:52 +00:00
}
2023-08-22 11:46:00 +00:00
.btnSalir:active {
2022-03-03 12:23:52 +00:00
background: rgb(237,73,71);
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
#txtIncidencia {
2021-10-19 08:52:45 +00:00
color: #ED4947;
font-weight: bold;
font-size: 1.4em;
margin-top: 10px;
}
2023-08-22 11:46:00 +00:00
.listHorario {
2021-10-19 08:52:45 +00:00
margin-top: 20px;
width: 100%;
overflow: hidden;
text-align: center;
justify-content: center;
align-items: center;
2021-10-19 08:52:45 +00:00
}
.listHorario .hrTop {
2021-10-19 08:52:45 +00:00
width: 100%;
overflow: hidden;
border-top: 1px solid #9EA7AC;
2023-08-24 08:45:19 +00:00
padding-bottom: 5px;
2021-10-19 08:52:45 +00:00
}
/* 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;
}
2023-08-22 11:46:00 +00:00
.listHorario label {
2021-10-19 08:52:45 +00:00
float: left;
width: calc(100% / 7);
text-align: center;
font-weight: bold;
padding: 5px 0;
color: white;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.hoy {
2021-10-19 08:52:45 +00:00
background: #9EA7AC;
border-radius: 25px 25px 0px 0px;
color: black !important;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.listHorario .time {
2021-10-19 08:52:45 +00:00
float: left;
width: calc(100% / 7);
font-size: 1.2em;
overflow: hidden;
color: white;
2021-10-19 08:52:45 +00:00
}
.listHorario .time div {
2023-08-24 08:45:19 +00:00
display: flex;
align-items: center;
justify-content: center;
padding-top: 5px;
padding-bottom: 5px;
}
2023-08-22 11:46:00 +00:00
.listHorario .time img {
2021-10-19 08:52:45 +00:00
width: 20px;
float: left;
margin-right: 5px;
filter: invert(100%);
pointer-events: none;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.listHorario .time p {
2021-10-19 08:52:45 +00:00
float: left;
background: #121212;
2023-08-24 08:45:19 +00:00
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;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.hide {
2021-10-19 08:52:45 +00:00
opacity: 0;
}
2023-08-22 11:46:00 +00:00
.show {
2021-10-19 08:52:45 +00:00
opacity: 1;
}
2021-10-20 13:13:30 +00:00
.confirm {
2021-10-19 08:52:45 +00:00
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: #fff;
2023-08-22 11:46:00 +00:00
background: #BBFFBB;
color: #363;
2021-10-19 08:52:45 +00:00
}
2021-10-20 13:13:30 +00:00
.confirm.confirmKO {
2023-08-22 11:46:00 +00:00
background: #ffcdd2;
color: #A00;
2021-10-19 08:52:45 +00:00
}
2023-08-22 11:46:00 +00:00
.contConfirm {
2021-10-19 08:52:45 +00:00
position: fixed;
margin: auto;
top:0;
bottom: 0;
left: 0;
right: 0;
width: 800px;
height: 170px;
text-align: center;
}
2023-08-22 11:46:00 +00:00
.contConfirm h4 {
2021-10-19 08:52:45 +00:00
font-size: 2.5em;
margin-bottom: 20px;
}
2023-08-23 10:54:58 +00:00
@keyframes slideIn {
2023-08-24 08:45:19 +00:00
0% {
transform: translateY(-100%);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
2023-08-23 10:54:58 +00:00
}
2023-08-24 09:06:45 +00:00
@keyframes faceIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
2023-08-23 09:39:17 +00:00
@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;
2021-10-19 08:52:45 +00:00
}