Files
eventos/assets/css/eventos-manager.css
2025-09-20 00:55:28 -03:00

305 lines
5.7 KiB
CSS

/* CSS Mínimo para Estrutura do Gerenciador de Eventos */
.noticias-eventos-wrapper {
display: flex;
gap: 40px;
}
.noticias-col {
flex: 2;
}
.eventos-col {
flex: 1;
min-width: 280px;
display: flex;
flex-direction: column;
gap: 30px;
}
.proximos-eventos-lista {
list-style: none;
padding: 0;
margin: 0;
}
.proximos-eventos-lista li {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 18px;
}
.evento-titulo a {
text-decoration: none;
}
.evento-tipo {
margin-left: auto;
}
@media (max-width: 900px) {
.noticias-eventos-wrapper {
flex-direction: column;
}
.eventos-col {
min-width: 0;
}
}
/* --- Estilos do Novo Calendário Offline --- */
.em-calendario-wrapper {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background: #fff;
border: 1px solid #e5e5e5;
border-radius: 8px;
padding: 15px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.em-calendario-wrapper[data-view="full"] .em-dia-celula {
height: 100px; /* Aumenta a altura para caber eventos */
}
.em-toolbar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
user-select: none;
}
.em-toolbar-section {
display: flex;
align-items: center;
gap: 5px;
}
.em-toolbar-center {
justify-content: center;
flex-grow: 1;
}
.em-toolbar-right {
justify-content: flex-end;
flex-grow: 1;
}
.em-mes-ano {
font-size: 1.2em;
font-weight: 600;
color: #333;
margin: 0;
text-align: center;
flex-grow: 0;
}
.em-nav-btn {
background: #f7f7f7;
border: 1px solid #ccc;
border-radius: 4px;
padding: 5px 10px;
cursor: pointer;
font-weight: bold;
color: #555;
transition: background 0.2s;
}
.em-view-btn {
background: none;
border: none;
font-size: 22px;
cursor: pointer;
}
.em-nav-btn:hover {
background: #e9e9e9;
}
.em-today-btn {
font-weight: normal;
padding: 5px 12px;
}
.em-dias-semana, .em-dias-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
text-align: center;
}
.em-dias-semana span {
font-weight: 600;
color: #777;
font-size: 0.85em;
padding-bottom: 10px;
}
.em-dia-celula {
position: relative;
padding: 4px;
height: 40px;
display: flex;
flex-direction: column;
align-items: flex-end;
font-size: 0.9em;
border-right: 1px solid #eee;
border-bottom: 1px solid #eee;
}
.em-dia-celula.em-other-month {
background-color: #f9f9f9;
}
.em-dia-celula.today span {
background-color: #e74c3c;
color: #fff;
border-radius: 50%;
width: 28px;
line-height: 26px;
display: inline-block;
text-align: center;
}
/* Estilo para o calendário do widget indicar um evento com cor de fundo */
.em-calendario-wrapper[data-view="widget"] .em-dia-celula.has-event {
background-color: #e9f5ff; /* Um azul claro para indicar evento */
}
.em-calendario-wrapper[data-view="widget"] .em-dia-celula.has-event a {
text-decoration: none;
color: inherit; /* Mantém a cor do número do dia */
display: block;
height: 100%;
width: 100%;
}
.em-calendario-wrapper[data-view="widget"] .em-dia-celula.has-event:hover {
background-color: #d0eaff; /* Cor mais forte no hover */
}
.em-event-list {
width: 100%;
margin-top: 5px;
display: flex;
flex-direction: column;
gap: 3px;
overflow: hidden;
}
.em-event {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 12px;
padding: 2px 6px;
border-radius: 3px;
color: #fff;
background-color: #3498db;
text-decoration: none;
transition: background-color 0.2s;
}
.em-event:hover {
background-color: #217dbb;
}
/* --- Estilos para Tela Cheia --- */
body.em-fullscreen-active {
overflow: hidden;
}
.em-calendario-wrapper.em-fullscreen-mode {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 10000;
border-radius: 0;
border: none;
padding: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.em-calendario-wrapper.em-fullscreen-mode .em-dias-grid {
flex-grow: 1; /* Faz a grade de dias ocupar o espaço disponível */
}
.em-calendario-wrapper.em-fullscreen-mode .em-dia-celula {
height: auto; /* Altura automática para preencher o espaço */
}
.em-close-fullscreen-btn {
position: absolute;
top: 15px;
right: 20px;
background: none;
border: none;
font-size: 36px;
line-height: 1;
color: #333;
cursor: pointer;
z-index: 10001;
}
.em-close-fullscreen-btn:hover {
color: #e74c3c;
}
/* Estilos para single-evento.php */
.single-evento-container {
max-width: 800px; /* Largura máxima para centralizar */
margin: 0 auto; /* Centraliza horizontalmente */
padding: 30px 20px;
background: #fff;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
}
.evento-header {
text-align: center;
margin-bottom: 30px;
}
.evento-header h1 {
font-size: 2rem;
color: #2c3e50;
font-weight: 700;
margin: 0;
line-height: 1.3;
}
.evento-details {
display: flex;
flex-direction: column;
gap: 20px;
}
.evento-info-list {
list-style: none;
padding: 0;
margin: 0;
gap: 12px;
}
.evento-info-list li {
display: flex;
align-items: center;
gap: 10px;
}
.evento-info-list li strong {
min-width: 80px; /* Ajuda a alinhar os rótulos */
}
/* Responsividade */
@media (max-width: 600px) {
.single-evento-container {
padding: 20px 15px;
}
.evento-info-list li {
flex-direction: column;
align-items: flex-start;
gap: 5px;
}
.evento-info-list li strong {
min-width: auto;
}
}