app_totito_next/app/globals.css
2024-09-09 11:35:42 -06:00

81 lines
1.4 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: #ffffff;
--foreground: #ffffff;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #ffffff;
--foreground: #ededed;
}
}
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
}
@layer utilities {
.text-balance {
text-wrap: balance;
}
}
/* Alert Styles */
.alert-container {
position: fixed;
top: 16px; /* Ajusta la distancia desde el top */
left: 50%;
transform: translateX(-50%);
width: 96%;
max-width: 400px; /* Ajusta el ancho máximo según lo necesites */
z-index: 1000; /* Asegúrate de que la alerta esté por encima de otros elementos */
pointer-events: auto;
}
.alert {
display: flex;
flex-direction: column;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.alert-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 16px;
background-color: black;
color: #ffffff;
border-bottom: 1px solid black;
}
.alert-title {
font-weight: bold;
}
.alert-close {
cursor: pointer;
background: none;
border: none;
color: inherit;
font-size: 16px;
line-height: 1;
}
.alert-close:hover {
color: #ffffff; /* Cambia el color al pasar el ratón sobre el botón */
}
.alert-body {
padding: 16px;
color: #333333;
}