Files
new_servicio_social_front/src/app/globals.css
T

141 lines
2.2 KiB
CSS

:root {
--background: #ffffff;
--foreground: #171717;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
@import "react-datepicker/dist/react-datepicker.css";
html,
body {
max-width: 100vw;
overflow-x: hidden;
}
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}
/* Botones principales */
button {
background-color: #0d6efd; /* Azul similar a la imagen */
color: #fff;
border: none;
border-radius: 4px;
padding: 0.5rem 1rem;
margin-right: 0.5rem;
cursor: pointer;
transition: all 0.2s ease-in-out;
&:hover {
background-color: darken(#0d6efd, 10%);
}
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
font-size: 0.9rem;
th,
td {
padding: 0.75rem 0.5rem;
text-align: left;
border-bottom: 1px solid #e0e0e0;
}
th {
background-color: #f8f9fa;
font-weight: 600;
}
tbody tr:hover {
background-color: #f2f2f2;
}
/* Estilos para status */
.status-pre {
background-color: #333; /* gris oscuro */
color: #fff;
border-radius: 5px;
padding: 2px 8px;
font-size: 0.8rem;
}
.status-cancelado {
background-color: #dc3545; /* rojo */
color: #fff;
border-radius: 5px;
padding: 2px 8px;
font-size: 0.8rem;
}
.status-liberacion {
background-color: #d4edda; /* verde claro */
color: #155724;
border-radius: 5px;
padding: 2px 8px;
font-size: 0.8rem;
}
}
/* Paginación */
.pagination {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
li {
list-style: none;
margin: 0 2px;
a {
display: block;
padding: 0.5rem 0.75rem;
border: 1px solid #ccc;
border-radius: 4px;
color: #000;
text-decoration: none;
&:hover {
background-color: #e9ecef;
}
&.active {
background-color: #0d6efd;
color: #fff;
}
}
}
}