body, html {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
padding: 0;
background-color: #f4f4f4;
}
video{
width: 500px;
height: 300px;
}
.camera-container {
position: relative;
width: 500px;
height: 300px;
margin: 5px auto;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
margin: 10px 0;
border: none;
cursor: pointer;
width: 100%;
}
button:hover {
background-color: #45a049;
}
.btn-editar {
background-color: #4CAF50;
color: white;
}
.btn-salvar {
background-color: #008CBA;
color: white;
}
.modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 20px;
z-index: 1000;
}
input[type="text"], input[type="number"], input[type="email"], input[type="password"] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
transition: border-color 0.2s;
}
input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="password"]:focus {
outline: none;
border-color: #4caf50;
}
input[type="text"] + label, input[type="number"] + label, input[type="email"] + label, input[type="password"] + label {
position: relative;
left: 20px;
top: -30px;
color: #999;
transition: all 0.2s ease-out;
pointer-events: none;
}
input[type="text"]:focus + label, input[type="number"]:focus + label, input[type="email"]:focus + label, input[type="password"]:focus + label,
input[type="text"]:not(:placeholder-shown) + label, input[type="number"]:not(:placeholder-shown) + label, input[type="email"]:not(:placeholder-shown) + label, input[type="password"]:not(:placeholder-shown) + label {
top: -58px;
left: 15px;
font-size: 12px;
color: #666;
}
.navbar {
overflow: hidden;
background-color: #333;
position: fixed;
bottom: 0;
width: 100%;
z-index: 20;
}
.navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.navbar a:hover {
background-color: #ddd;
color: black;
}
.navbar a.active {
background-color: #04AA6D;
color: white;
}
.hamburger-icon {
display: none;
font-size: 30px;
cursor: pointer;
color: white;
}
@media screen and (max-width: 600px) {
.navbar a:not(:first-child) {display: none;}
.navbar a.icon {
float: right;
display: block;
}
.hamburger-icon {
display: block;
}
}
@media screen and (max-width: 600px) {
.navbar.responsive .icon {
position: absolute;
right: 0;
bottom:0;
}
.hamburger-icon {
display: block;
margin-left: 46%;
}
.navbar.responsive a {
float: none;
display: block;
text-align: left;
}
}
.container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
background: #fff;
border-radius: 8px;
}
.form-header {
border-bottom: 1px solid #eee;
padding-bottom: 10px;
margin-bottom: 20px;
}
.form-header h2 {
margin: 0;
padding: 0;
color: #333;
}
.input-group {
margin-bottom: 15px;
}
.input-group input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
}
.button-group {
display: flex;
justify-content: flex-end;
}
.button-group button {
padding: 10px 20px;
border: none;
border-radius: 4px;
background: #28a745;
color: white;
cursor: pointer;
transition: anime 0.3s;
}
.button-group button:hover {
background: #218838;
}
.button-group button.secondary {
background: #6c757d;
}
.button-group button.secondary:hover {
background: #5a6268;
}
.modal {
display: none;
position: fixed;
z-index: 1;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
padding-top: 100px;
}
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
.tabs {
display: flex;
margin-bottom: 20px;
}
.tab {
flex-grow: 1;
text-align: center;
padding: 10px 20px;
cursor: pointer;
border: 1px solid #ccc;
background: #f9f9f9;
margin-right: 2px;
transition: background-color 0.3s ease;
}
.tab:hover {
background: #e9e9e9;
}
.tab.active {
background: #fff;
border-bottom: none;
font-weight: bold;
}
#loadingIndicator {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 10px;
background-color: rgba(40, 34, 34, 0.8);
transition: background-color 0.3s ease;
color: #ddd;
border-radius: 5px;
text-align: center;
z-index: 1000;
}
|