aarnal80 commited on
Commit
47133c8
·
verified ·
1 Parent(s): e8ae1fc

Update proa/proa.html

Browse files
Files changed (1) hide show
  1. proa/proa.html +27 -27
proa/proa.html CHANGED
@@ -11,12 +11,12 @@
11
  /* Estilos base como en AppConsulta360/index.html */
12
  body { background-color: #f8fafc; font-family: 'Montserrat', sans-serif; }
13
 
14
- /* Estilo Selectores COPIADO de iaConfigModule para máxima similitud */
15
  .custom-select {
16
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
17
  background-position: right 0.5rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em;
18
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
19
- padding-right: 2.5rem; /* Ajuste para el icono */
20
  width: 100%;
21
  padding-top: 0.5rem; /* p-2 */
22
  padding-bottom: 0.5rem; /* p-2 */
@@ -26,7 +26,7 @@
26
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
27
  transition: border-color 0.2s, box-shadow 0.2s;
28
  font-size: 0.875rem; /* text-sm */
29
- line-height: 1.25rem; /* Ajuste para altura consistente */
30
  }
31
  .custom-select:focus {
32
  outline: none;
@@ -41,7 +41,7 @@
41
  border-color: #d1d5db; /* gray-300 */
42
  color: #db2777; /* text-pink-600 */
43
  transition: background-color 0.2s, border-color 0.2s;
44
- flex-shrink: 0; /* Evitar que el checkbox se encoja */
45
  }
46
  .form-checkbox:focus {
47
  outline: none;
@@ -63,13 +63,12 @@
63
  min-height: 400px;
64
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
65
  overflow-y: auto;
66
- /* Estilos para contenido cargado */
67
  line-height: 1.6;
68
  }
69
- /* Estilos para títulos y texto dentro del contenido cargado (aplicados en el HTML de la guía) */
70
- #guide-content-display .text-base { font-size: 0.875rem; line-height: 1.25rem; } /* Equivalente a text-sm de Tailwind por defecto */
71
- #guide-content-display .text-sm { font-size: 0.75rem; line-height: 1rem; } /* Más pequeño */
72
- #guide-content-display .text-xs { font-size: 0.65rem; line-height: 0.9rem; } /* Aún más pequeño para tags */
73
 
74
  .hidden { display: none; }
75
  </style>
@@ -82,7 +81,8 @@
82
  <h1 class="text-xl font-bold text-blue-800 flex items-center justify-center">
83
  <i class="fas fa-book-medical mr-3 text-teal-600"></i>Guías Clínicas PROA
84
  </h1>
85
- <p class="text-gray-600 mt-1 text-sm">Consulta de Guías Clínicas Hospital de Alcañiz</p> </div>
 
86
 
87
  <div class="flex justify-end mb-4">
88
  <a href="../index.html" class="border border-gray-500 text-gray-700 hover:bg-gray-100 px-4 py-2 rounded-lg flex items-center transition-colors text-sm">
@@ -91,26 +91,25 @@
91
  </div>
92
 
93
  <div class="bg-teal-50 p-6 rounded-lg mb-6 border border-teal-100 shadow-inner space-y-4">
94
- <h2 class="text-base font-semibold text-teal-700 mb-3 flex items-center">
95
- <i class="fas fa-filter mr-2"></i>Seleccionar Guía
96
- </h2>
97
 
98
- <div class="grid grid-cols-1 sm:grid-cols-3 gap-4 items-end">
99
- <div class="sm:col-span-2">
100
- <label for="guideSelector" class="block text-xs font-medium text-gray-600 mb-1">Guía PROA:</label>
101
- <select id="guideSelector" class="custom-select block w-full text-sm">
102
- <option value="">Cargando guías...</option>
103
- </select>
104
- </div>
 
 
105
 
106
- <div class="sm:col-span-1 flex sm:justify-end items-center pb-1"> <label class="flex items-center cursor-pointer text-sm whitespace-nowrap">
107
- <input type="checkbox" id="togglePediatric" class="form-checkbox mr-2">
108
- <span class="font-medium text-gray-700">Guías Pediátricas</span>
109
- </label>
110
- </div>
111
  </div>
112
 
113
- <div id="diagnosis-selector-container" class="hidden pt-4 border-t border-teal-200"> <label for="diagnosisSelector" class="block text-xs font-medium text-gray-600 mb-1">Diagnóstico Específico:</label>
 
114
  <select id="diagnosisSelector" class="custom-select block w-full text-sm">
115
  <option value="">-- Seleccione Diagnóstico --</option>
116
  </select>
@@ -128,7 +127,8 @@
128
  </div>
129
 
130
  <div class="text-center mt-8 pt-6 border-t border-gray-200">
131
- <p class="text-gray-600 text-sm"> Desarrollado por el Dr. Antonio J. Arnal Meinhardt<br>
 
132
  <span class="text-xs">Médico de Urgencias | Atención Primaria</span>
133
  </p>
134
  <p class="text-xs text-gray-500 mt-1">Guías PROA basadas en documentación del Hospital de Alcañiz.</p>
 
11
  /* Estilos base como en AppConsulta360/index.html */
12
  body { background-color: #f8fafc; font-family: 'Montserrat', sans-serif; }
13
 
14
+ /* Estilo Selectores */
15
  .custom-select {
16
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
17
  background-position: right 0.5rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em;
18
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
19
+ padding-right: 2.5rem;
20
  width: 100%;
21
  padding-top: 0.5rem; /* p-2 */
22
  padding-bottom: 0.5rem; /* p-2 */
 
26
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
27
  transition: border-color 0.2s, box-shadow 0.2s;
28
  font-size: 0.875rem; /* text-sm */
29
+ line-height: 1.25rem;
30
  }
31
  .custom-select:focus {
32
  outline: none;
 
41
  border-color: #d1d5db; /* gray-300 */
42
  color: #db2777; /* text-pink-600 */
43
  transition: background-color 0.2s, border-color 0.2s;
44
+ flex-shrink: 0;
45
  }
46
  .form-checkbox:focus {
47
  outline: none;
 
63
  min-height: 400px;
64
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
65
  overflow-y: auto;
 
66
  line-height: 1.6;
67
  }
68
+ /* Ajustes finos para tamaños de fuente dentro del contenido cargado */
69
+ #guide-content-display .text-base { font-size: 0.875rem; line-height: 1.25rem; }
70
+ #guide-content-display .text-sm { font-size: 0.75rem; line-height: 1rem; }
71
+ #guide-content-display .text-xs { font-size: 0.65rem; line-height: 0.9rem; }
72
 
73
  .hidden { display: none; }
74
  </style>
 
81
  <h1 class="text-xl font-bold text-blue-800 flex items-center justify-center">
82
  <i class="fas fa-book-medical mr-3 text-teal-600"></i>Guías Clínicas PROA
83
  </h1>
84
+ <p class="text-gray-600 mt-1 text-sm">Consulta de Guías Clínicas Hospital de Alcañiz</p>
85
+ </div>
86
 
87
  <div class="flex justify-end mb-4">
88
  <a href="../index.html" class="border border-gray-500 text-gray-700 hover:bg-gray-100 px-4 py-2 rounded-lg flex items-center transition-colors text-sm">
 
91
  </div>
92
 
93
  <div class="bg-teal-50 p-6 rounded-lg mb-6 border border-teal-100 shadow-inner space-y-4">
 
 
 
94
 
95
+ <div class="flex justify-between items-center mb-3">
96
+ <h2 class="text-base font-semibold text-teal-700 flex items-center">
97
+ <i class="fas fa-filter mr-2"></i>Seleccionar Guía
98
+ </h2>
99
+ <label class="flex items-center cursor-pointer text-sm whitespace-nowrap">
100
+ <input type="checkbox" id="togglePediatric" class="form-checkbox mr-2">
101
+ <span class="font-medium text-gray-700">Guías Pediátricas</span>
102
+ </label>
103
+ </div>
104
 
105
+ <div>
106
+ <label for="guideSelector" class="block text-xs font-medium text-gray-600 mb-1 sr-only">Guía PROA:</label> <select id="guideSelector" class="custom-select block w-full text-sm">
107
+ <option value="">Cargando guías...</option>
108
+ </select>
 
109
  </div>
110
 
111
+ <div id="diagnosis-selector-container" class="hidden pt-4 border-t border-teal-200">
112
+ <label for="diagnosisSelector" class="block text-xs font-medium text-gray-600 mb-1">Diagnóstico Específico:</label>
113
  <select id="diagnosisSelector" class="custom-select block w-full text-sm">
114
  <option value="">-- Seleccione Diagnóstico --</option>
115
  </select>
 
127
  </div>
128
 
129
  <div class="text-center mt-8 pt-6 border-t border-gray-200">
130
+ <p class="text-gray-600 text-sm">
131
+ Desarrollado por el Dr. Antonio J. Arnal Meinhardt<br>
132
  <span class="text-xs">Médico de Urgencias | Atención Primaria</span>
133
  </p>
134
  <p class="text-xs text-gray-500 mt-1">Guías PROA basadas en documentación del Hospital de Alcañiz.</p>