2025-09-12 00:53:17 -03:00

261 lines
4.6 KiB
CSS

fieldset {
display: flex;
flex-direction: column;
justify-content: space-between;
}
fieldset label {
font-family: "Times New Roman", Times, serif;
}
fieldset input {
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
margin-top: 5px;
font-family: sans-serif;
}
#form-tittle {
width: 93%;
display: grid;
grid-template-columns: repeat(6, 1fr);
margin-bottom: 10px;
padding-right: 25px;
}
#form-tittle label {
text-align: left;
font-weight: bold;
color: #243b51;
}
.section-main-text {
padding: 30px;
padding-bottom: 0px;
}
.section-main-text h1 {
margin-bottom: 15px;
font-size: 35px;
font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}
.section-main-text p {
font-size: 20px;
}
.main-button button {
font-size: 17px;
background: none;
margin-right: 30px;
margin-top: 10px;
border: none;
color: #243b51;
padding: 20px 10px;
border-bottom: 2px solid transparent;
transition: 0.6s;
}
.main-button-border:hover {
/*estilo no mouseenter*/
border: none;
margin-right: 30px;
margin-top: 10px;
padding: 20px 10px;
background: none;
border-bottom: 2px solid blue;
color: blue;
}
.conteudo {
margin-left: 30px;
background-color: #fafafa;
padding: 25px;
border-radius: 7px;
}
/*formulário */
#formLaudo {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px;
background-color: #f8f9fa;
padding: 15px;
border-radius: 8px;
border: 1px solid #ddd;
justify-content: space-between;
}
#formLaudo button[type="submit"] {
background-color: #007bff;
color: white;
padding: 10px 16px;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.2s ease;
}
#formLaudo button[type="submit"]:hover {
background-color: #0056b3;
}
/* Tabela */
#laudoTable {
width: 100%;
border-collapse: collapse;
border: 1px solid #ddd;
background-color: white;
font-size: 14px;
border-radius: 8px;
overflow: hidden;
}
#laudoTable thead {
background-color: #e9ecef;
}
#laudoTable thead th {
padding: 12px;
border-bottom: 1px solid #ccc;
text-align: left;
font-weight: bold;
}
#laudoTable tbody td {
padding: 10px;
border-bottom: 1px solid #eee;
}
#laudoTable tbody tr:hover {
background-color: #f1f1f1;
}
#laudoTable tbody td button {
padding: 6px 10px;
font-size: 14px;
background-color: #6c757d;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
#laudoTable tbody td button:hover {
background-color: #5a6268;
}
/* Media queries melhoradas para responsividade */
@media (max-width: 768px) {
/* Melhor organização do conteúdo principal em mobile */
.section-main-text {
padding: 20px;
padding-bottom: 0px;
margin-top: 10rem;
}
.section-main-text h1 {
font-size: 28px;
margin-bottom: 10px;
}
.section-main-text p {
font-size: 16px;
}
.main-button {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.main-button button {
margin-right: 0;
margin-top: 5px;
padding: 15px 8px;
font-size: 15px;
}
.conteudo {
margin: 20px;
padding: 20px;
}
/* Formulário responsivo */
#formLaudo {
flex-direction: column;
gap: 15px;
}
#formLaudo fieldset {
width: 100%;
}
#formLaudo button[type="submit"] {
width: 100%;
padding: 12px;
font-size: 16px;
}
/* Tabela responsiva com scroll horizontal */
.table-container {
overflow-x: auto;
margin-top: 20px;
}
#laudoTable {
min-width: 600px;
font-size: 12px;
}
#laudoTable thead th,
#laudoTable tbody td {
padding: 8px;
white-space: nowrap;
}
}
/* Media query para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
.section-main-text h1 {
font-size: 32px;
}
.conteudo {
margin: 25px;
}
}
/* Media query melhorada para telas muito pequenas */
@media (max-width: 480px) {
.section-main-text {
padding: 15px;
}
.section-main-text h1 {
font-size: 24px;
}
.section-main-text p {
font-size: 14px;
}
.conteudo {
margin: 15px;
padding: 15px;
}
#laudoTable {
font-size: 11px;
}
#laudoTable thead th,
#laudoTable tbody td {
padding: 6px;
}
}