|
css = """ |
|
#app-container { |
|
max-width: 100%; |
|
margin: 0 auto; |
|
padding: 20px; |
|
overflow-y: auto; /* Asegura la barra de desplazamiento vertical si el contenido es demasiado alto */ |
|
height: 100vh; /* Utiliza el 100% de la altura de la ventana de visualización */ |
|
box-sizing: border-box; /* Incluye el padding y el borde en el tamaño total */ |
|
} |
|
|
|
input, textarea, select { |
|
background-color: #f5f5f5; |
|
color: #333333; |
|
border: 1px solid #cccccc; |
|
width: calc(100% - 40px); |
|
box-sizing: border-box; |
|
padding-right: 40px; |
|
} |
|
|
|
input[type="text"] { |
|
position: relative; |
|
} |
|
|
|
input[type="text"]::after { |
|
content: "✕"; |
|
position: absolute; |
|
right: 10px; |
|
top: 50%; |
|
transform: translateY(-50%); |
|
cursor: pointer; |
|
color: #666; |
|
} |
|
|
|
button { |
|
background-color: #f5f5f5; |
|
color: #333333; |
|
border: 1px solid black; |
|
width: 100%; |
|
box-sizing: border-box; |
|
padding: 10px; |
|
} |
|
|
|
button.primary { |
|
background-color: green; |
|
color: black; |
|
} |
|
|
|
button.secondary { |
|
background-color: #f5f5f5; |
|
color: #333333; |
|
} |
|
|
|
button:hover { |
|
background-color: #e0e0e0; |
|
} |
|
|
|
h1, h2, h3, h4, h5, h6 { |
|
color: #333333; |
|
} |
|
|
|
@media (max-width: 768px) { |
|
.button-container { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
|
|
.button-container button { |
|
width: auto; |
|
margin-top: 10px; |
|
} |
|
|
|
#reset-button { |
|
display: none; /* Oculta el botón de reinicio en pantallas móviles */ |
|
} |
|
} |
|
|
|
@media (min-width: 769px) { |
|
.button-container { |
|
display: flex; |
|
justify-content: flex-end; |
|
} |
|
|
|
.button-container button { |
|
width: auto; |
|
} |
|
} |
|
""" |
|
|