Correção do CSS do login

This commit is contained in:
2026-03-24 19:44:21 -03:00
parent f675979736
commit 507f32e392
3 changed files with 129 additions and 184 deletions

View File

@@ -327,7 +327,7 @@ function renderFeriados() {
/* ===== DADOS ===== */ /* ===== DADOS ===== */
let agendaData = [ let agendaData = [
{ hora: "08:15 09:15", titulo: "Evento 1", cor: "azul" }, { hora: "08:15 09:15", titulo: "Eu gosto", cor: "azul" },
{ hora: "10:00 11:00", titulo: "Evento 2", cor: "rosa" } { hora: "10:00 11:00", titulo: "Evento 2", cor: "rosa" }
]; ];

308
login.css
View File

@@ -1,182 +1,126 @@
* { * {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
p, h1, h2, h3 { p,
font-family: 'Poppins', sans-serif; h1,
} h2,
h3 {
body { color: black;
background: #eee; margin: 0;
} font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
/* HEADER */
#header { label{
width: 100%; display: block;
height: 50px; }
position: fixed;
top: 0; body {
left: 0; height: 100vh;
background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%); display: flex;
display: flex; justify-content: center;
align-items: center; align-items: center;
z-index: 10; }
}
@media (max-width: 768px) {
#title { body {
padding-left: 20px; padding-left: 20px;
font-size: 28px; padding-right: 20px;
color: white; justify-content: center;
} }
}
/* BARRA ESQUERDA */
#barraesquerda { @media (max-width: 480px) {
position: fixed; #log {
left: 0; width: 100% !important;
top: 0; max-width: 320px;
width: 320px; }
height: 100vh;
background-color: #C0392B; }
padding: 16px; #topo {
box-sizing: border-box; width: 100%;
display: flex; height: 50px;
flex-direction: column; background-color: #111;
} position: fixed;
top: 0;
#calendario { left: 0;
flex: 1; background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%);
padding-top: 60px; display: flex;
display: flex; align-items: center;
flex-direction: column; justify-content: flex-start;
gap: 16px; }
}
#textotop {
.calendariotop { padding-left: 20px;
display: flex; font-size: 38px;
justify-content: space-between; margin: 0;
align-items: center; font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
} }
#mes { #log {
color: white; width: 350px;
font-size: 20px; display: flex;
font-weight: 600; flex-direction: column;
} gap: 15px;
color: white;
.calendarseta { margin-top: 70px; /* Compensa a barra fixa do topo */
display: flex; }
gap: 8px; #campo {
} display: flex;
flex-direction: column;
.prox, .ant { gap: 15px;
border: none; align-self: center;
background: none; }
color: white; #menslog{
cursor: pointer; font-size: 20px;
font-size: 18px; }
}
#emailid, #senhaid {
/* CALENDÁRIO */ height: 50px;
.calendariodia { width: 100%;
width: 100%; padding: 10px;
border-collapse: collapse; font-size: 16px;
} border: 1px solid #ccc;
border-radius: 4px;
.calendariodia th, box-sizing: border-box;
.calendariodia td { }
text-align: center;
padding: 6px; label {
font-size: 12px; display: block;
font-family: 'Inter', sans-serif; margin-bottom: 5px;
} font-weight: bold;
color: white;
.calendariodia th { }
color: rgba(255, 255, 255, 0.7);
} form {
display: flex;
.calendariodia td { flex-direction: column;
color: white; gap: 15px;
position: relative; width: 100%;
} }
.calendariodia td::after { #logbtn {
content: ""; align-self: center;
width: 5px; width: 50%;
height: 5px; padding: 12px;
background: white; font-size: 18px;
border-radius: 50%; font-weight: bold;
position: absolute; background-color: #C0392B;
bottom: 2px; color: white;
left: 50%; border: none;
transform: translateX(-50%); border-radius: 4px;
} cursor: pointer;
transition: background-color 0.3s;
/* outro mês */ }
.calendariodia td.outromes {
color: rgba(255,255,255,0.4); #logbtn:hover {
} background-color: #A03224;
}
.calendariodia td.outromes::after { .mens {
background: rgba(255,255,255,0.2); align-self: center;
} }
#linkcada{
/* hoje */ color: #111;
.calendariodia td.today { text-decoration: none;
background: #b2ff67; }
color: black;
border-radius: 50%;
}
/* ===== AGENDA ===== */
.agenda {
margin-top: 10px;
color: white;
font-family: 'Inter', sans-serif;
}
.agenda-header {
font-size: 13px;
margin-bottom: 10px;
border-top: 1px solid rgba(255,255,255,0.2);
padding-top: 10px;
}
.evento {
position: relative;
padding-left: 14px;
margin-bottom: 12px;
}
.evento::before {
content: "";
width: 6px;
height: 6px;
border-radius: 50%;
position: absolute;
left: 0;
top: 6px;
}
.evento.azul::before {
background: #00c2ff;
}
.evento.rosa::before {
background: #ff4fa3;
}
.hora {
font-size: 11px;
opacity: 0.8;
}
.titulo {
font-size: 13px;
font-weight: 500;
}
.link {
font-size: 11px;
color: #ffb3b3;
}

View File

@@ -3,8 +3,9 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="login.css">
<link rel="icon" href="imagens/icone.png"> <link rel="icon" href="imagens/icone.png">
<link rel="stylesheet" href="login.css">
<title>Login</title> <title>Login</title>
</head> </head>