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

252
login.css
View File

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