calendario y pendientes
This commit is contained in:
+373
-1
@@ -1 +1,373 @@
|
||||
/* Estilos del calendario y pendientes */
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
color: #fff;
|
||||
overflow-x: hidden;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.background {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
.background::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: -50%;
|
||||
background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 40%),
|
||||
radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 0%, transparent 40%);
|
||||
animation: move 20s infinite linear;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
@keyframes move {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.glass {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
backdrop-filter: blur(16px);
|
||||
-webkit-backdrop-filter: blur(16px);
|
||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 900px;
|
||||
margin: 20px auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin-bottom: 18px;
|
||||
font-weight: 300;
|
||||
letter-spacing: 1px;
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.tabs {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.tab {
|
||||
padding: 10px 24px;
|
||||
border: none;
|
||||
border-radius: 30px;
|
||||
background: rgba(255,255,255,0.1);
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
transition: 0.3s;
|
||||
font-size: 1rem;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.tab:hover, .tab.active {
|
||||
background: rgba(255,255,255,0.25);
|
||||
}
|
||||
|
||||
.section {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.section.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.calendar-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.calendar-header h2 {
|
||||
font-size: 1.2rem;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.nav-btn {
|
||||
background: rgba(255,255,255,0.15);
|
||||
border: none;
|
||||
color: #fff;
|
||||
font-size: 1.4rem;
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
transition: 0.3s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.nav-btn:hover {
|
||||
background: rgba(255,255,255,0.3);
|
||||
}
|
||||
|
||||
.weekdays, .calendar-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.weekdays div {
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
padding: 8px 2px;
|
||||
color: rgba(255,255,255,0.8);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.day {
|
||||
aspect-ratio: 1;
|
||||
background: rgba(255,255,255,0.05);
|
||||
border-radius: 10px;
|
||||
padding: 4px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
transition: 0.2s;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
min-height: 42px;
|
||||
}
|
||||
|
||||
.day:hover, .day:active {
|
||||
background: rgba(255,255,255,0.15);
|
||||
}
|
||||
|
||||
.day-number {
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.day-dots {
|
||||
display: flex;
|
||||
gap: 3px;
|
||||
margin-top: auto;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.dot.alta { background: #ff6b6b; }
|
||||
.dot.media { background: #feca57; }
|
||||
.dot.baja { background: #48dbfb; }
|
||||
|
||||
.glass-form {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-bottom: 20px;
|
||||
padding: 14px;
|
||||
background: rgba(255,255,255,0.05);
|
||||
border-radius: 16px;
|
||||
border: 1px solid rgba(255,255,255,0.1);
|
||||
}
|
||||
|
||||
.glass-form input, .glass-form select {
|
||||
flex: 1 1 160px;
|
||||
padding: 12px 14px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(255,255,255,0.15);
|
||||
background: rgba(255,255,255,0.08);
|
||||
color: #fff;
|
||||
outline: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.glass-form select option {
|
||||
background: rgba(20, 30, 50, 0.95);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.glass-form input::placeholder {
|
||||
color: rgba(255,255,255,0.5);
|
||||
}
|
||||
|
||||
.glass-form button {
|
||||
padding: 12px 20px;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
background: rgba(255,255,255,0.2);
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
transition: 0.3s;
|
||||
font-size: 1rem;
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
.glass-form button:hover {
|
||||
background: rgba(255,255,255,0.35);
|
||||
}
|
||||
|
||||
.subtitulo {
|
||||
margin: 18px 0 10px;
|
||||
font-size: 1.05rem;
|
||||
font-weight: 600;
|
||||
color: rgba(255,255,255,0.85);
|
||||
border-bottom: 1px solid rgba(255,255,255,0.15);
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
.badge-vencido {
|
||||
display: inline-block;
|
||||
background: #ff2e2e;
|
||||
color: #fff;
|
||||
padding: 2px 8px;
|
||||
border-radius: 12px;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
margin-left: 8px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.lista-pendientes {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.pendiente-card {
|
||||
background: rgba(255,255,255,0.06);
|
||||
border-radius: 14px;
|
||||
padding: 14px;
|
||||
border-left: 5px solid;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.pendiente-card.alta { border-left-color: #ff6b6b; }
|
||||
.pendiente-card.media { border-left-color: #feca57; }
|
||||
.pendiente-card.baja { border-left-color: #48dbfb; }
|
||||
|
||||
.pendiente-card.vencido {
|
||||
border-left-color: #ff2e2e;
|
||||
box-shadow: 0 0 14px rgba(255, 46, 46, 0.35);
|
||||
background: rgba(255, 46, 46, 0.08);
|
||||
}
|
||||
|
||||
.pendiente-info {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.pendiente-info div {
|
||||
margin-bottom: 4px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.pendiente-actions {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.pendiente-actions button {
|
||||
padding: 8px 12px;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
background: rgba(255,255,255,0.15);
|
||||
color: #fff;
|
||||
transition: 0.3s;
|
||||
font-size: 0.9rem;
|
||||
touch-action: manipulation;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.pendiente-actions button:hover {
|
||||
background: rgba(255,255,255,0.3);
|
||||
}
|
||||
|
||||
.modal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 100;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
width: 100%;
|
||||
max-width: 500px;
|
||||
padding: 22px;
|
||||
border-radius: 20px;
|
||||
background: rgba(30, 40, 60, 0.9);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
max-height: 80vh;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.modal-content h3 {
|
||||
margin-top: 0;
|
||||
font-size: 1.15rem;
|
||||
}
|
||||
|
||||
.modal-content button {
|
||||
margin-top: 14px;
|
||||
padding: 12px 20px;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
background: rgba(255,255,255,0.2);
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 430px) {
|
||||
.container {
|
||||
margin: 10px;
|
||||
padding: 14px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
h1 { font-size: 1.35rem; }
|
||||
.tab { padding: 10px 18px; font-size: 0.95rem; }
|
||||
.weekdays div { font-size: 0.75rem; padding: 6px 1px; }
|
||||
.day { border-radius: 8px; min-height: 48px; }
|
||||
.day-number { font-size: 0.8rem; }
|
||||
.dot { width: 6px; height: 6px; }
|
||||
.calendar-header h2 { font-size: 1.05rem; }
|
||||
.nav-btn { width: 38px; height: 38px; }
|
||||
.pendiente-card { flex-direction: column; }
|
||||
.pendiente-actions { width: 100%; justify-content: flex-end; }
|
||||
.badge-vencido { font-size: 0.65rem; padding: 2px 6px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user