c45182012c
- conexion supabase - autenticacion solo correos glm - pantalla gestor empleados
233 lines
4.2 KiB
CSS
233 lines
4.2 KiB
CSS
#map {
|
|
width: 100%;
|
|
height: 100vh;
|
|
}
|
|
|
|
.detail-sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: 340px;
|
|
z-index: 900;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
padding: 16px;
|
|
overflow-y: auto;
|
|
background: var(--glm-surface);
|
|
border-left: 3px solid var(--glm-verde);
|
|
}
|
|
|
|
.sidebar-brand {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-bottom: 12px;
|
|
border-bottom: 2px solid var(--glm-gris-medio);
|
|
}
|
|
|
|
.sidebar-logo {
|
|
height: 45px;
|
|
width: auto;
|
|
}
|
|
|
|
.sidebar-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding-bottom: 12px;
|
|
border-bottom: 2px solid var(--glm-gris-medio);
|
|
}
|
|
|
|
.back-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 8px 14px;
|
|
background: var(--glm-surface);
|
|
border: 1px solid var(--glm-gris-medio);
|
|
border-radius: 4px;
|
|
color: var(--glm-azul);
|
|
cursor: pointer;
|
|
font-size: 0.85rem;
|
|
font-family: Arial, sans-serif;
|
|
font-weight: 600;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.back-btn:hover {
|
|
background: var(--glm-verde-bg);
|
|
border-color: var(--glm-verde);
|
|
color: var(--glm-gris-oscuro);
|
|
}
|
|
|
|
.detail-title {
|
|
flex: 1;
|
|
}
|
|
|
|
.detail-title h2 {
|
|
margin: 0 0 4px;
|
|
font-size: 1.05rem;
|
|
color: var(--glm-azul);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-block;
|
|
background: var(--glm-verde);
|
|
color: #ffffff;
|
|
padding: 2px 10px;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.map-loading {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
background: rgba(255, 255, 255, 0.92);
|
|
color: var(--glm-acero);
|
|
z-index: 999;
|
|
}
|
|
|
|
.spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid var(--glm-gris-medio);
|
|
border-top-color: var(--glm-verde);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.info-card {
|
|
background: var(--glm-surface);
|
|
border: 1px solid var(--glm-gris-medio);
|
|
border-radius: 4px;
|
|
padding: 16px;
|
|
border-top: 3px solid var(--glm-azul);
|
|
}
|
|
|
|
.info-card h3 {
|
|
margin: 0 0 12px;
|
|
font-size: 0.9rem;
|
|
color: var(--glm-azul);
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3px;
|
|
border-bottom: 2px solid var(--glm-verde);
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.info-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-list div {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 12px;
|
|
align-items: start;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid var(--glm-gris-claro);
|
|
}
|
|
|
|
.info-list div:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.info-list dt {
|
|
font-weight: 600;
|
|
color: var(--glm-azul);
|
|
font-size: 0.8rem;
|
|
white-space: nowrap;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.info-list dd {
|
|
margin: 0;
|
|
color: var(--glm-gris-oscuro);
|
|
font-size: 0.9rem;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.custom-marker {
|
|
background: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
.marker-inner {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
font-size: 13px;
|
|
color: #fff;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.marker-start .marker-inner {
|
|
background: var(--glm-azul);
|
|
border: 3px solid #fff;
|
|
}
|
|
|
|
.marker-end .marker-inner {
|
|
background: var(--glm-verde);
|
|
border: 3px solid #fff;
|
|
}
|
|
|
|
.location-pin {
|
|
position: relative;
|
|
width: 30px;
|
|
height: 38px;
|
|
background: #c9252d;
|
|
clip-path: polygon(50% 100%, 8% 43%, 5% 31%, 10% 18%, 22% 7%, 36% 2%, 50% 0, 64% 2%, 78% 7%, 90% 18%, 95% 31%, 92% 43%);
|
|
filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.42));
|
|
}
|
|
|
|
.location-pin:hover {
|
|
transform: scale(1.12);
|
|
transform-origin: center bottom;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.location-pin::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 3px 3px 7px;
|
|
background: #ff424a;
|
|
clip-path: polygon(50% 100%, 8% 43%, 5% 31%, 10% 18%, 22% 7%, 36% 2%, 50% 0, 64% 2%, 78% 7%, 90% 18%, 95% 31%, 92% 43%);
|
|
}
|
|
|
|
.location-pin::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: #620000;
|
|
}
|