Atualização do calendarii
This commit is contained in:
329
calendario.css
329
calendario.css
@@ -1,211 +1,306 @@
|
||||
* {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
p,
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
body {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
}
|
||||
|
||||
/* ===== HEADER ===== */
|
||||
#header {
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: linear-gradient(to right, #C0392B 47%, #7A4951 73%, #114455 87%);
|
||||
background: linear-gradient(to right, #C0392B, #114455);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#title {
|
||||
color: white;
|
||||
padding-left: 20px;
|
||||
font-size: 38px;
|
||||
margin: 0;
|
||||
font-weight: normal;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
/* ===== BARRA ESQUERDA ===== */
|
||||
#barraesquerda {
|
||||
position: fixed;
|
||||
top: 50px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 320px;
|
||||
height: 100vh;
|
||||
background-color: #C0392B;
|
||||
padding: 16px;
|
||||
box-sizing: border-box;
|
||||
height: calc(100vh - 50px);
|
||||
background: #C0392B;
|
||||
padding: 15px;
|
||||
color: white;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: 'Inter', sans-serif;
|
||||
}
|
||||
|
||||
/* ===== MINI CALENDÁRIO ===== */
|
||||
#calendario {
|
||||
padding-top: 60px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/* REMOVE o flex:1 se tiver */
|
||||
#calendario {
|
||||
flex: unset;
|
||||
}
|
||||
|
||||
.calendariotop {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#mes {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: white;
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.calendarseta {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.prox,
|
||||
.ant {
|
||||
border: none;
|
||||
background: none;
|
||||
color: white;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
font-size: 18px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
transition: background 0.2s ease;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.prox:hover,
|
||||
.ant:hover {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
#calendarseta button {
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.calendariodia {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
}
|
||||
|
||||
.calendariodia th,
|
||||
.calendariodia td {
|
||||
text-align: center;
|
||||
padding: 5px 0;
|
||||
font-size: 12px;
|
||||
font-family: 'Inter', sans-serif;
|
||||
}
|
||||
|
||||
.calendariodia th {
|
||||
color: rgba(255, 255, 255, 0.75);
|
||||
font-weight: 600;
|
||||
font-size: 11px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.calendariodia td {
|
||||
color: white;
|
||||
text-align: center;
|
||||
padding: 6px;
|
||||
font-size: 12px;
|
||||
border-radius: 50%;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* bolinha abaixo do dia */
|
||||
/* bolinha */
|
||||
.calendariodia td::after {
|
||||
content: "";
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
background: white;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
bottom: -4px;
|
||||
bottom: -2px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
|
||||
.calendariodia td.outromes {
|
||||
color: rgba(150, 150, 255, 1);
|
||||
.outromes {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
.calendariodia td.today {
|
||||
background: rgba(178, 255, 103, 0.95);
|
||||
color: #1a1a1a;
|
||||
background: #114455;
|
||||
border-radius: 30%;
|
||||
height: 0px;
|
||||
width: 5px;
|
||||
|
||||
}
|
||||
|
||||
.calendariodia td.today::after {
|
||||
background: rgba(26, 26, 26, 0.4);
|
||||
}
|
||||
|
||||
.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 {
|
||||
margin-top: 15px;
|
||||
border-top: 1px solid rgba(255,255,255,0.3);
|
||||
border-bottom: 1px solid rgba(255,255,255,0.3);
|
||||
padding: 8px 0;
|
||||
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;
|
||||
margin-top: 10px;
|
||||
padding-left: 10px;
|
||||
border-left: 3px solid white;
|
||||
}
|
||||
|
||||
.evento::before {
|
||||
content: "";
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 6px;
|
||||
.evento.azul {
|
||||
border-color: #00c2ff;
|
||||
}
|
||||
|
||||
.evento.azul::before {
|
||||
background: #00c2ff;
|
||||
}
|
||||
|
||||
.evento.rosa::before {
|
||||
background: #ff4fa3;
|
||||
.evento.rosa {
|
||||
border-color: #ff4fa3;
|
||||
}
|
||||
|
||||
.hora {
|
||||
font-size: 11px;
|
||||
opacity: 0.8;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.titulo {
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.link {
|
||||
font-size: 11px;
|
||||
color: #ffb3b3;
|
||||
color: #ffdede;
|
||||
}
|
||||
|
||||
/* ===== FERIADOS ===== */
|
||||
.feriados-header {
|
||||
margin-top: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.feriado {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: #d4ff6a;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/* ===== MAIN ===== */
|
||||
.main {
|
||||
margin-left: 320px;
|
||||
margin-top: 50px;
|
||||
min-height: calc(100vh - 50px);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
/* ===== TOPBAR ===== */
|
||||
.topbar {
|
||||
height: 70px;
|
||||
background: #eaeaea;
|
||||
border-bottom: 3px solid #c0392b;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
padding: 0 25px;
|
||||
}
|
||||
|
||||
.topbar h1 {
|
||||
font-size: 24px;
|
||||
color: #1f3b57;
|
||||
}
|
||||
|
||||
/* USER AREA */
|
||||
.user-area {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.icone {
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.perfil {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
background: url('https://i.pravatar.cc/100') center/cover;
|
||||
}
|
||||
|
||||
.info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.nome {
|
||||
font-weight: 600;
|
||||
color: #1f3b57;
|
||||
}
|
||||
|
||||
.cargo {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* ===== SUBHEADER ===== */
|
||||
.subheader {
|
||||
background: #eaeaea;
|
||||
border-bottom: 3px solid #c0392b;
|
||||
padding: 10px 20px;
|
||||
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.subheader h2 {
|
||||
color: #1f3b57;
|
||||
}
|
||||
|
||||
/* BOTÕES */
|
||||
.view-buttons button {
|
||||
border: none;
|
||||
padding: 5px 10px;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.view-buttons .active {
|
||||
background: #c0392b;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* ===== MÊS ===== */
|
||||
.month-title {
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
/* ===== CALENDÁRIO GRANDE ===== */
|
||||
.calendar-area {
|
||||
flex: 1;
|
||||
margin: 20px;
|
||||
background: #ddd;
|
||||
border-radius: 8px;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
grid-auto-rows: 120px;
|
||||
}
|
||||
|
||||
.dia-box {
|
||||
background: #fff;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.dia-box:hover {
|
||||
background: #eaeaff;
|
||||
}
|
||||
.icone-img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
object-fit: contain;
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
|
||||
.icone-img:hover {
|
||||
transform: scale(1.15);
|
||||
}
|
||||
Reference in New Issue
Block a user