200 lines
4.5 KiB
CSS
200 lines
4.5 KiB
CSS
/* You can add global styles to this file, and also import other style files */
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
/* Estilos globales para asegurar que el botón del sidebar sea visible */
|
|
.sidebar-toggle-button {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
min-width: 48px !important;
|
|
height: 48px !important;
|
|
border-radius: 50% !important;
|
|
transition: all 0.3s ease !important;
|
|
color: #3f51b5 !important;
|
|
background-color: #ff0000 !important; /* Fondo rojo para hacerlo visible */
|
|
border: 2px solid #000 !important; /* Borde negro para hacerlo visible */
|
|
cursor: pointer !important;
|
|
z-index: 1001 !important;
|
|
position: relative !important;
|
|
opacity: 1 !important;
|
|
visibility: visible !important;
|
|
}
|
|
|
|
.sidebar-toggle-button:hover {
|
|
background-color: rgba(63, 81, 181, 0.1) !important;
|
|
transform: scale(1.05) !important;
|
|
box-shadow: 0 2px 8px rgba(63, 81, 181, 0.2) !important;
|
|
}
|
|
|
|
.sidebar-toggle-button mat-icon {
|
|
color: #ffffff !important; /* Color blanco para que sea visible sobre el fondo rojo */
|
|
font-size: 24px !important;
|
|
width: 24px !important;
|
|
height: 24px !important;
|
|
line-height: 24px !important;
|
|
}
|
|
|
|
/* Asegurar que todos los botones mat-icon-button en el toolbar sean visibles */
|
|
mat-toolbar button[mat-icon-button] {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
min-width: 48px !important;
|
|
height: 48px !important;
|
|
border-radius: 50% !important;
|
|
transition: all 0.3s ease !important;
|
|
color: #3f51b5 !important;
|
|
background-color: transparent !important;
|
|
border: none !important;
|
|
cursor: pointer !important;
|
|
z-index: 1001 !important;
|
|
position: relative !important;
|
|
flex-shrink: 0 !important;
|
|
opacity: 1 !important;
|
|
visibility: visible !important;
|
|
}
|
|
|
|
/* Clase general para el contenedor de carga */
|
|
.loading-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 1000;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
/* Fondo semitransparente */
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
|
|
/* Spinner de Angular Material */
|
|
.mat-spinner {
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
/* Texto que acompaña al spinner */
|
|
.loading-container p {
|
|
margin-top: 20px;
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
color: #555;
|
|
}
|
|
|
|
.submit-button {
|
|
background-color: #399b00;
|
|
color: white;
|
|
padding: 8px 18px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
transition: transform 0.3s ease;
|
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
.ordinary-button {
|
|
background-color: #fafafa;
|
|
color: #3d3d3d;
|
|
padding: 8px 18px;
|
|
border: 1px solid #5f5f5f;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
transition: transform 0.3s ease;
|
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
.action-button {
|
|
background-color: #3f51b5;
|
|
color: white;
|
|
padding: 8px 18px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
transition: transform 0.3s ease;
|
|
font-family: Roboto, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
.submit-button:hover:not(:disabled){
|
|
background-color: #399b00dc;
|
|
}
|
|
.ordinary-button:hover:not(:disabled){
|
|
background-color: #e6e6e6;
|
|
}
|
|
.action-button:hover:not(:disabled) {
|
|
background-color: #485ac0d7;
|
|
}
|
|
|
|
.submit-button:disabled,
|
|
.ordinary-button:disabled,
|
|
.action-button:disabled {
|
|
background-color: #ced0df;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.action-container {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 1em;
|
|
padding: 1.5em;
|
|
}
|
|
|
|
/* Overlay blur reutilizable para modales */
|
|
.modal-overlay-blur {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
color: white;
|
|
backdrop-filter: blur(4px);
|
|
-webkit-backdrop-filter: blur(4px); /* Para Safari */
|
|
}
|
|
|
|
.modal-overlay-blur p {
|
|
margin-top: 16px;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.modal-overlay-blur .spinner-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
/* Variantes del overlay */
|
|
.modal-overlay-blur.success {
|
|
background: rgba(40, 167, 69, 0.8);
|
|
}
|
|
|
|
.modal-overlay-blur.warning {
|
|
background: rgba(255, 193, 7, 0.8);
|
|
}
|
|
|
|
.modal-overlay-blur.error {
|
|
background: rgba(220, 53, 69, 0.8);
|
|
}
|