Atualização do calendario

This commit is contained in:
2026-03-23 06:55:02 -03:00
parent f4223fae6d
commit 185946a3c6
4 changed files with 265 additions and 111 deletions

View File

@@ -44,13 +44,17 @@ h3 {
} }
#calendario { #calendario {
flex: 1;
padding-top: 60px; padding-top: 60px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 16px; gap: 16px;
} }
/* REMOVE o flex:1 se tiver */
#calendario {
flex: unset;
}
.calendariotop { .calendariotop {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -58,6 +62,7 @@ h3 {
} }
#mes { #mes {
font-family: 'Inter', sans-serif;
color: white; color: white;
font-size: 22px; font-size: 22px;
font-weight: 600; font-weight: 600;
@@ -130,7 +135,6 @@ h3 {
transform: translateX(-50%); transform: translateX(-50%);
} }
/* COR DOS DIAS DE OUTRO MÊS (CORRIGIDO) */
.calendariodia td.outromes { .calendariodia td.outromes {
color: rgba(150, 150, 255, 1); color: rgba(150, 150, 255, 1);
} }
@@ -147,3 +151,61 @@ h3 {
.calendariodia td.empty::after { .calendariodia td.empty::after {
display: none; display: none;
} }
.calendariodia td.outromes::after {
background: rgba(255, 255, 255, 0.5);
}
/* ===== 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-bottom: 10px;
border-bottom: 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

@@ -84,7 +84,37 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div> <!--Cabo mini calendario--> <!--Cabo mini calendario-->
<div class="agenda">
<div class="agenda-header">
<strong>HOJE</strong> 07/11/2025
</div>
<div class="evento azul">
<div class="hora">08:15 09:15</div>
<div class="titulo">Coçar oq fazer</div>
<div class="link">https://youtube.com</div>
</div>
<div class="evento azul">
<div class="hora">09:00 10:00</div>
<div class="titulo">COMO QUE DIMINUI A FONTE?</div>
<div class="link">https://sccor.com</div>
</div>
<div class="evento rosa">
<div class="hora">11:00 11:45</div>
<div class="titulo">Pintar boobie-goods</div>
</div>
<div class="evento azul">
<div class="hora">18:20 23:00</div>
<div class="titulo">Ir pro curso (infelizmente)</div>
<div class="link">dom 4, BBP</div>
</div>
</div>
</div>
</body> </body>
</html> </html>

276
login.css
View File

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

@@ -7,7 +7,7 @@
<link rel="icon" href="imagens/icone.png"> <link rel="icon" href="imagens/icone.png">
<title>Login</title> <title>Login</title>
</head> </head>
<body> <body>
<!--Barrinha que fica no topo--> <!--Barrinha que fica no topo-->