Spaces:
Sleeping
Sleeping
Download style.css from maferrara1961/TPFinal: direct link, hf CLI and curl.
- Browser
- Download file 24.4 kB
-
https://huggingface.co/spaces/maferrara1961/TPFinal/resolve/main/style.css
- Command line
-
hf download hf://spaces/maferrara1961/TPFinal/style.css
-
curl -L -o style.css https://huggingface.co/spaces/maferrara1961/TPFinal/resolve/main/style.css
24.4 kB
| /* ### VARIABLES GENERALES | |
| ------------------------------------------------ */ | |
| :root { | |
| --input-bg-color: #F5F5F5; | |
| --container-bg-color: #EBEBEB; | |
| --container-bg-color2: #BDBDBD; | |
| --button-bg-color: #E0E0E0; | |
| --button-hover-bg-color: #BDBDBD; | |
| --title-bg-color: #EBEBEB; | |
| --input-border-color: #D3D3D3; | |
| --text-color: #000000; | |
| --font-title0: 46px; | |
| --font-title1: 22px; | |
| --font-title2: 18px; | |
| --font-title3: 14px; | |
| --font-title4: 12px; | |
| --font-subtitle1: 18px; | |
| --font-subtitle2: 16px; | |
| --font-items: 12px; | |
| --font-items-small: 12px; | |
| --font-data: 12px; | |
| /* Sombra suave y delicada unificada */ | |
| --shadow-soft: 8px 8px 15px -3px rgba(0, 0, 0, 0.12), 4px 4px 6px -2px rgba(0, 0, 0, 0.08); | |
| --shadow-strong-text: 5px 5px 5px rgba(0, 0, 0, 1); | |
| } | |
| /* ### CONTENEDOR PRINCIPAL | |
| ------------------------------------------------ */ | |
| .gradio-container { | |
| /* background-image: asignada en formato Base64 en app.py */ | |
| background-size: cover ; | |
| background-attachment: fixed ; | |
| background-repeat: no-repeat ; | |
| background-position: center ; | |
| } | |
| /* ### ESTILOS PARA LA PORTADA PRINCIPAL | |
| ------------------------------------------------ */ | |
| .portrait-bg-1 { /* Área izquierda de la portada: imagen de fondo y título */ | |
| background-size: cover ; | |
| background-position: center ; | |
| background-repeat: no-repeat ; | |
| min-height: 450px ; | |
| width: 60% ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 25px ; | |
| padding: 30px ; | |
| margin-bottom: 20px ; | |
| } | |
| .portrait-bg-2 { /* Área derecha de la portada: fondo gris y subtítulo */ | |
| background-color: var(--container-bg-color2) ; | |
| border-radius: 25px ; | |
| padding-left: 10px ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| min-height: 520px ; | |
| display: flex ; | |
| flex-direction: column ; | |
| justify-content: flex-end ; | |
| } | |
| .portrait-bg-video { /* Contenedor para el video y el título */ | |
| background-color: var(--container-bg-color) ; | |
| position: relative; | |
| width: 100%; | |
| min-height:520px; | |
| overflow: hidden; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 25px; | |
| display: flex; | |
| } | |
| .video-bg { /* El video se posiciona de forma absoluta para quedar al fondo */ | |
| /* Los tres parámetros siguientes ubican el video, según las dimensiones que posea */ | |
| left: 0%; /* Punto de origen horizontal en el contenedor padre */ | |
| top: 0%; /* Punto de origen vertical en el contenedor padre */ | |
| transform: translate(0%, -12%); /* Desplazamiento horizontal y vertical, como % de las dimensiones del video */ | |
| position: absolute; | |
| min-width: 100%; | |
| min-height: 100%; | |
| /* width: auto; | |
| height: auto; */ | |
| z-index: 0; /* Capa inferior */ | |
| object-fit:cover; /* El video cubra el área sin deformarse */ | |
| } | |
| .portrait-title, .portrait-title * { /* El título tiene posición relativa sobre el video */ | |
| position: relative; | |
| z-index: 1; | |
| text-shadow: var(--shadow-strong-text) ; | |
| line-height: 1.1 ; | |
| color: white ; | |
| font-weight: bold ; | |
| font-size: var(--font-title0) ; | |
| text-align: left ; | |
| margin-top: -5px ; | |
| margin-left: 5px ; | |
| } | |
| .portrait-subtitle, .portrait-subtitle * { | |
| font-size: var(--font-title2) ; | |
| font-weight: bold ; | |
| margin-top: 10px ; | |
| line-height: 1.3 ; | |
| text-shadow: var(--shadow-soft) ; | |
| color: var(--text-color) ; | |
| text-align: right ; | |
| max-width: 90% ; | |
| margin-left: auto ; | |
| margin-right: 5px ; | |
| margin-bottom: 5px ; | |
| display: block ; /* Para que los márgenes funcionen */ | |
| } | |
| /* ### CONTENEDORES GENERALES | |
| ------------------------------------------------ */ | |
| .custom-tab { | |
| /* background-image: asignada en formato Base64 en app.py */ | |
| border-radius: 10px ; | |
| border: none ; | |
| padding-top: 15px ; | |
| padding-left: 15px ; | |
| padding-right: 10px ; | |
| padding-bottom: 5px ; | |
| box-shadow: var(--shadow-soft) ; | |
| width: 100% ; | |
| height: 100% ; | |
| } | |
| .custom-tab-2 { | |
| /* background-image: asignada en formato Base64 en app.py */ | |
| border-radius: 10px ; | |
| border: none ; | |
| /*padding-top: 0px !important; | |
| padding-bottom: 0px !important;*/ | |
| box-shadow: var(--shadow-soft) ; | |
| width: 100% ; | |
| /*height: 100% !important;*/ | |
| margin-top: 28px ; | |
| margin-bottom: 0px ; | |
| } | |
| .custom-graf-panel { | |
| background-color: #ffffff ; | |
| border-radius: 10px ; | |
| border: none ; | |
| /*box-shadow: var(--shadow-soft) !important;*/ | |
| width: 100% ; | |
| } | |
| .custom-tab-special { | |
| padding-top: 15px ; | |
| padding-bottom: 15px ; | |
| padding-right: 15px ; | |
| padding-left: 25px ; | |
| } | |
| /* ### CONTENEDOR ENCABEZADO | |
| ------------------------------------------------ */ | |
| .header-tab { | |
| /* background-image: asignada en formato Base64 en app.py */ | |
| background-size: cover ; | |
| background-position: center ; | |
| background-repeat: no-repeat ; | |
| border-radius: 10px; | |
| border: none ; | |
| padding: 15px; | |
| box-shadow: var(--shadow-soft) ; | |
| width: 100% ; | |
| min-height: 50px; | |
| } | |
| /* ### CONTENEDOR PARA MOSTRAR/OCULTAR SU CONTENIDO | |
| ### Hay que aplicar todos estos estilos para que no aparezca | |
| ### un borde rojo parpadeante muy molesto | |
| ------------------------------------------------ */ | |
| .special-panel, | |
| .special-panel.stale, | |
| .special-panel.pending, | |
| .special-panel.error { | |
| border: none ; | |
| outline: none ; | |
| box-shadow: none ; | |
| animation: none ; | |
| transition: none ; | |
| background: transparent ; | |
| } | |
| /* Eliminar la línea roja específica de validación de Gradio */ | |
| .special-panel > div { | |
| border: none ; | |
| } | |
| /* Ocultar el indicador de carga que genera el parpadeo */ | |
| .special-panel .generating { | |
| display: none ; | |
| visibility: hidden ; | |
| } | |
| /* ### CONTENEDOR DE TÍTULOS | |
| ------------------------------------------------ */ | |
| .title-tab { | |
| /* background-image: asignada en formato Base64 en app.py */ | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 8px ; | |
| height: 50px ; | |
| width: 100% ; | |
| vertical-align: middle ; | |
| } | |
| .title-text { | |
| font-weight: bold ; | |
| font-size: var(--font-title1) ; | |
| color: var(--text-color) ; | |
| text-align: left ; | |
| padding-top: 0px ; | |
| padding-left: 0px ; | |
| } | |
| .subtitle-text { | |
| font-weight: bold ; | |
| font-size: var(--font-subtitle1) ; | |
| color: var(--text-color) ; | |
| text-align: left ; | |
| margin-top: -1px ; | |
| margin-bottom: -1px ; | |
| /*padding-top: 0px !important; | |
| padding-left: 0px !important;*/ | |
| } | |
| .title-group { | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| color: var(--text-color) ; | |
| text-align: left ; | |
| padding-top: 0px ; | |
| padding-left: 0px ; | |
| padding-bottom: 0px ; | |
| margin-top: -5px ; | |
| margin-bottom: -5px ; | |
| } | |
| .title-group-2 { | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| color: var(--text-color) ; | |
| text-align: left ; | |
| padding-top: 0px ; | |
| padding-left: 0px ; | |
| padding-bottom: 0px ; | |
| margin-top: -5px ; | |
| margin-bottom: -5px ; | |
| } | |
| /* ### LISTA DESPLEGABLE | |
| ------------------------------------------------ */ | |
| .custom-dropdown { | |
| /* Para todo el conjunto */ | |
| background-color: var(--input-bg-color) ; | |
| border: 1px solid var(--input-border-color) ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 10px ; | |
| margin-bottom: 8px ; | |
| } | |
| .custom-dropdown span[data-testid="block-info"] { | |
| /* Para el título */ | |
| color: var(--text-color) ; | |
| font-size: var(--font-title3) ; | |
| font-weight: bold ; | |
| margin-bottom: 0px ; | |
| display: block ; | |
| } | |
| .custom-dropdown ul.options li.item { | |
| /* Para las opciones de la lista */ | |
| font-size: var(--font-title4) ; | |
| } | |
| .custom-dropdown .token-view, | |
| .custom-dropdown input, | |
| .custom-dropdown .single-select { | |
| /* Para el item seleccionado de la lista */ | |
| font-size: var(--font-items) ; | |
| color: var(--text-color) ; | |
| } | |
| .custom-dropdown-small { | |
| /* Para todo el conjunto */ | |
| background-color: var(--input-bg-color) ; | |
| border: 1px solid var(--input-border-color) ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 5px ; | |
| margin-bottom: 0px ; | |
| padding: 0px ; | |
| } | |
| .custom-dropdown-small span[data-testid="block-info"] { | |
| /* Para el título */ | |
| color: var(--text-color) ; | |
| font-size: var(--font-title4) ; | |
| font-weight: bold ; | |
| margin-bottom: 0px ; | |
| display: block ; | |
| padding: 0px ; | |
| } | |
| .custom-dropdown-small ul.options li.item { | |
| /* Para las opciones de la lista */ | |
| font-size: var(--font-items-small) ; | |
| } | |
| .custom-dropdown-small .token-view, | |
| .custom-dropdown-small input, | |
| .custom-dropdown-small .single-select { | |
| /* Para el item seleccionado de la lista */ | |
| font-size: var(--font-items-small) ; | |
| color: var(--text-color) ; | |
| padding: 0px ; | |
| } | |
| /* ### LISTA DE BOTONES DE OPCIÓN | |
| ------------------------------------------------ */ | |
| .custom-radio { | |
| /* Para todo el conjunto */ | |
| background-color: var(--input-bg-color) ; | |
| padding: 10px ; | |
| border-radius: 10px ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| margin-bottom: 8px ; | |
| display: flex ; | |
| flex-direction: column ; | |
| gap: 8px ; | |
| } | |
| .custom-radio span[data-testid="block-info"] { | |
| /* Para el título */ | |
| color: var(--text-color) ; | |
| font-size: var(--font-title3) ; | |
| font-weight: bold ; | |
| margin-bottom: 0px ; | |
| display: block ; | |
| } | |
| .custom-radio label { | |
| /* Para las opciones */ | |
| background-color: var(--input-bg-color) ; | |
| border: none ; | |
| font-weight: bold ; | |
| font-size: var(--font-title4) ; | |
| color: var(--text-color) ; | |
| margin-top: 0px ; | |
| margin-bottom: 0px ; | |
| padding-top: 0px ; | |
| padding-bottom: 0px ; | |
| } | |
| .radio-horizontal { /* Para ubicar la etiqueta en la misma fila que las opciones */ | |
| display: flex ; | |
| flex-direction: row ; | |
| align-items: center ; | |
| gap: 15px ; | |
| } | |
| .radio-horizontal .label-wrap { | |
| margin-bottom: 0 ; | |
| } | |
| .radio-horizontal .gr-input-row { | |
| display: flex ; | |
| flex-direction: row ; | |
| } | |
| /* ### CASILLA DE VERIFICACIÓN | |
| ------------------------------------------------ */ | |
| .custom-checkbox { | |
| background-color: var(--input-bg-color) ; | |
| color: var(--text-color) ; | |
| font-size: var(--font-title3) ; | |
| font-weight: bold ; | |
| padding: 10px ; | |
| border-radius: 10px ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| margin-bottom: 8px ; | |
| } | |
| .custom-checkbox-2 { | |
| background-color: var(--input-bg-color) ; | |
| color: var(--text-color) ; | |
| font-size: var(--font-title3) ; | |
| font-weight: bold ; | |
| padding-left: 10px ; | |
| padding-top: 5px ; | |
| padding-bottom: 5px ; | |
| border-radius: 10px ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| margin-top: 0px ; | |
| margin-bottom: 0px ; | |
| } | |
| .custom-checkbox-3 { | |
| background-color: var(--input-bg-color) ; | |
| color: var(--text-color) ; | |
| font-size: var(--font-title3) ; | |
| font-weight: bold ; | |
| padding-left: 10px ; | |
| padding-top: 5px ; | |
| padding-bottom: 5px ; | |
| border-radius: 10px ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| margin-top: 10px ; | |
| margin-bottom: 0px ; | |
| } | |
| /* ### BOTONES DE ACCIÓN | |
| ------------------------------------------------ */ | |
| .custom-button { | |
| /* Para el estado pasivo */ | |
| background-color: var(--button-bg-color) ; | |
| color: var(--text-color) ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 10px ; | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| color: var(--text-color) ; | |
| text-align: center ; | |
| transition: all 0.2s ease ; | |
| margin-bottom: 10px ; | |
| } | |
| .custom-button:hover { | |
| /* Para el estado encima */ | |
| background-color: var(--button-hover-bg-color) ; | |
| transform: translateY(-1px); | |
| } | |
| .custom-button:active { | |
| /* Para el estado activo (click) */ | |
| transform: translateY(2px); | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) ; | |
| } | |
| .custom-button2 { | |
| /* Para el estado pasivo */ | |
| background-color: var(--button-bg-color) ; | |
| color: var(--text-color) ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 10px ; | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| color: var(--text-color) ; | |
| text-align: center ; | |
| transition: all 0.2s ease ; | |
| width: 50px ; | |
| margin-top: -10px ; | |
| margin-bottom: 38px ; | |
| } | |
| .custom-button2:hover { | |
| /* Para el estado encima */ | |
| background-color: var(--button-hover-bg-color) ; | |
| transform: translateY(-1px); | |
| } | |
| .custom-button2:active { | |
| /* Para el estado activo (click) */ | |
| transform: translateY(2px); | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) ; | |
| } | |
| .custom-button3 { | |
| /* Para el estado pasivo */ | |
| background-color: var(--button-bg-color) ; | |
| color: var(--text-color) ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 10px ; | |
| font-weight: bold ; | |
| font-size: var(--font-title2) ; | |
| color: var(--text-color) ; | |
| text-align: center ; | |
| transition: all 0.2s ease ; | |
| margin-top: 30px ; | |
| margin-bottom: 10px ; | |
| height: 40px ; | |
| } | |
| .custom-button3:hover { | |
| /* Para el estado encima */ | |
| background-color: var(--button-hover-bg-color) ; | |
| transform: translateY(-1px); | |
| } | |
| .custom-button3:active { | |
| /* Para el estado activo (click) */ | |
| transform: translateY(2px); | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) ; | |
| } | |
| .custom-button4 { | |
| /* Para el estado pasivo */ | |
| background-color: var(--button-bg-color) ; | |
| color: var(--text-color) ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 10px ; | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| color: var(--text-color) ; | |
| text-align: center ; | |
| transition: all 0.2s ease ; | |
| margin-top: 15px ; | |
| margin-bottom: 5px ; | |
| height: 30px ; | |
| padding-top: 5px ; | |
| } | |
| .custom-button4:hover { | |
| /* Para el estado encima */ | |
| background-color: var(--button-hover-bg-color) ; | |
| transform: translateY(-1px); | |
| } | |
| .custom-button4:active { | |
| /* Para el estado activo (click) */ | |
| transform: translateY(2px); | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) ; | |
| } | |
| .custom-button5 { | |
| /* Para el estado pasivo */ | |
| background-color: var(--button-bg-color) ; | |
| color: var(--text-color) ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 10px ; | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| color: var(--text-color) ; | |
| text-align: center ; | |
| transition: all 0.2s ease ; | |
| margin-top: 5px ; | |
| margin-bottom: 5px ; | |
| height: 30px ; | |
| padding-top: 5px ; | |
| } | |
| .custom-button5:hover { | |
| /* Para el estado encima */ | |
| background-color: var(--button-hover-bg-color) ; | |
| transform: translateY(-1px); | |
| } | |
| .custom-button5:active { | |
| /* Para el estado activo (click) */ | |
| transform: translateY(2px); | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) ; | |
| } | |
| .custom-button6 { | |
| /* Para el estado pasivo */ | |
| background-color: var(--button-bg-color) ; | |
| color: var(--text-color) ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 5px ; | |
| font-weight: bold ; | |
| font-size: var(--font-title2) ; | |
| color: var(--text-color) ; | |
| text-align: center ; | |
| transition: all 0.2s ease ; | |
| margin-top: 5px ; | |
| margin-right: 5px ; | |
| margin-bottom: 5px ; | |
| height: 35px ; | |
| width: 15% ; | |
| padding-top: 5px ; | |
| align-self: flex-end ; | |
| } | |
| .custom-button6:hover { | |
| /* Para el estado encima */ | |
| background-color: var(--button-hover-bg-color) ; | |
| transform: translateY(-1px); | |
| } | |
| .custom-button6:active { | |
| /* Para el estado activo (click) */ | |
| transform: translateY(2px); | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) ; | |
| } | |
| .custom-button7 { | |
| /* Para el estado pasivo */ | |
| background-color: var(--button-bg-color) ; | |
| color: var(--text-color) ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 10px ; | |
| font-weight: bold ; | |
| font-size: var(--font-title2) ; | |
| color: var(--text-color) ; | |
| text-align: center ; | |
| transition: all 0.2s ease ; | |
| margin-top: 30px ; | |
| margin-bottom: 10px ; | |
| height: 50px ; | |
| width: 150px ; | |
| } | |
| .custom-button7:hover { | |
| /* Para el estado encima */ | |
| background-color: var(--button-hover-bg-color) ; | |
| transform: translateY(-1px); | |
| } | |
| .custom-button7:active { | |
| /* Para el estado activo (click) */ | |
| transform: translateY(2px); | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) ; | |
| } | |
| .custom-button8 { | |
| /* Para el estado pasivo */ | |
| background-color: var(--button-bg-color) ; | |
| color: var(--text-color) ; | |
| border: none ; | |
| box-shadow: var(--shadow-soft) ; | |
| border-radius: 10px ; | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| color: var(--text-color) ; | |
| text-align: center ; | |
| transition: all 0.2s ease ; | |
| width: 50px ; | |
| margin-top: -10px ; | |
| margin-bottom: 10px ; | |
| } | |
| .custom-button8:hover { | |
| /* Para el estado encima */ | |
| background-color: var(--button-hover-bg-color) ; | |
| transform: translateY(-1px); | |
| } | |
| .custom-button8:active { | |
| /* Para el estado activo (click) */ | |
| transform: translateY(2px); | |
| box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) ; | |
| } | |
| /* ### TEXTO PARA CAMPO INFORMATIVO | |
| ------------------------------------------------ */ | |
| .info-display-1 { /* Grande */ | |
| font-weight: bold ; | |
| font-size: var(--font-title2) ; | |
| margin-top: -4px ; | |
| } | |
| .info-display-2 { /* Pequeño */ | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| margin-bottom: 0px ; | |
| } | |
| .info-display-2a { | |
| font-weight: bold ; | |
| font-size: var(--font-title3) ; | |
| margin-bottom: 5px ; | |
| } | |
| .info-display-3 { /* Intermedio */ | |
| font-weight: bold ; | |
| font-size: var(--font-subtitle2) ; | |
| margin-bottom: 0px ; | |
| background-color: var(--input-bg-color) ; | |
| border-radius: 10px ; | |
| padding: 5px ; | |
| } | |
| .info-display-4 { | |
| font-size: var(--font-title3) ; | |
| font-weight: bold ; | |
| margin-top: 0px ; | |
| margin-bottom: 0px ; | |
| padding: 0px ; | |
| } | |
| .info-display-5 { | |
| font-size: var(--font-title3) ; | |
| background-color: var(--input-bg-color) ; | |
| margin-top: 0px ; | |
| margin-bottom: 0px ; | |
| text-align: center ; | |
| margin-right: 0px ; | |
| padding-left: 0px ; | |
| padding-right: 0px ; | |
| padding-top: -2px ; | |
| padding-bottom: -2px ; | |
| } | |
| .info-display-6 { | |
| font-size: var(--font-title3) ; | |
| font-weight: bold ; | |
| color: red ; | |
| } | |
| .info-display-7 { | |
| font-size: var(--font-title3) ; | |
| font-weight: bold ; | |
| margin-top: -5px ; | |
| margin-bottom: -10px ; | |
| padding: 0px ; | |
| } | |
| /* ### CELDAS DE DATAFRAMES | |
| ------------------------------------------------ */ | |
| table td, | |
| table th, | |
| .dataframe, | |
| .dataframe td, | |
| .dataframe th, | |
| .table-wrap table, | |
| .table-wrap td, | |
| .table-wrap th { | |
| font-size: var(--font-data) ; | |
| } | |
| /* ### PARA UBICAR COMPONENTES UNO A LA PAR DEL OTRO | |
| ------------------------------------------------ */ | |
| .no-stack { | |
| display: flex ; | |
| flex-direction: row ; | |
| flex-wrap: nowrap ; | |
| gap: 10px ; | |
| } | |
| .no-stack > .form { | |
| min-width: 0 ; /* Anula el mínimo de 320px de Gradio */ | |
| } | |
| /* ### FORZAR LAS DIMENSIONES DE LOS GRÁFICOS | |
| -------------------------------------------------- */ | |
| .custom-graph { | |
| height: 200px ; | |
| overflow-y: auto ; | |
| } | |
| /* ### MARGEN ADICIONAL | |
| -------------------------------------------------- */ | |
| .special-margin1 { | |
| margin-top: 5px ; | |
| } | |
| /* CUADRO PARA ENTRADA DE TEXTO | |
| ---------------------------------------------------- */ | |
| .custom-textbox { | |
| background-color: transparent ; | |
| border: none ; | |
| box-shadow: none ; | |
| margin-top: -5px ; | |
| } | |
| .custom-textbox textarea, .custom-textbox input { | |
| height: 30px ; | |
| font-size: 14px ; | |
| border-radius: 5px ; | |
| background-color: white ; | |
| border: none ; | |
| min-height: 30px ; | |
| text-align: center ; | |
| padding: 5px ; | |
| } | |
| /* VENTANA MODAL */ | |
| .modal-ayuda { | |
| /* background-image: asignada en formato Base64 en app.py */ | |
| max-height: 80vh; /* Limita la altura al 80% del viewport */ | |
| overflow-y: auto; /* Activa el scroll vertical si el contenido excede el alto */ | |
| position: fixed ; | |
| top: 50% ; | |
| left: 50% ; | |
| transform: translate(-50%, -50%) ; | |
| width: 80% ; | |
| max-width: 600px ; | |
| z-index: 1000 ; | |
| padding: 20px ; | |
| border-radius: 15px ; | |
| box-shadow: 0 0 20px rgba(0,0,0,0.3) ; | |
| /* border: 2px solid #000000 !important; */ | |
| } | |
| .overlay { | |
| position: fixed ; | |
| top: 0 ; | |
| left: 0 ; | |
| width: 100% ; | |
| height: 100% ; | |
| background: rgba(0,0,0,0.5) ; | |
| z-index: 999 ; | |
| } |