From f1f35a24f897e9c800c3e281302a9538c5781aee Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Fri, 25 Jul 2003 18:23:10 +0000 Subject: [PATCH] Se corrigen definitivamente los bullets. --- lib/MECON/HTML/Arbol.php | 9 +++-- www/css/arbol.css | 87 ++++++++++++++++++++++++++++++++++++---- 2 files changed, 86 insertions(+), 10 deletions(-) diff --git a/lib/MECON/HTML/Arbol.php b/lib/MECON/HTML/Arbol.php index b7e0dc3..7037f0e 100644 --- a/lib/MECON/HTML/Arbol.php +++ b/lib/MECON/HTML/Arbol.php @@ -79,11 +79,14 @@ class HTML_Arbol extends HTML_Table 'width' => $n * $tabulados, 'height' => '10' ); - $margen = new HTML_Image('/MECON/images/blanco.gif', str_repeat('  ', $n), $atr); - $margen = $margen->toHtml(); + $margen = ' '; + if ($n) { + $margen = new HTML_Image('/MECON/images/blanco.gif', str_repeat('  ', $n), $atr); + $margen = $margen->toHtml(); + } $imagen = ''; if (@$bullets[$n]) { - $imagen = new HTML_Image($bullets[$n], @$alts[$n], $atr); + $imagen = new HTML_Image($bullets[$n], @$alts[$n]); $imagen = $imagen->toHtml(); } foreach ($dat as $e) { diff --git a/www/css/arbol.css b/www/css/arbol.css index 700fa23..1033554 100644 --- a/www/css/arbol.css +++ b/www/css/arbol.css @@ -1,8 +1,81 @@ -.menu { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left; text-align: left; vertical-align: middle } -.menu_activo { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle } -.menu1 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left centre; text-align: left; vertical-align: middle ; margin-left: 10px; clip: rect( )} -.menu_activo1 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 9pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle } -.menu_activo2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-color: #FFCC99; background-position: left centre; text-align: left; vertical-align: middle } -.menu2 { COLOR: #003366; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; font-style: normal; line-height: normal; background-color: #FFFFFF; background-position: left centre; text-align: left; vertical-align: middle ; clip: rect( 15px)} -.arboltitulo { COLOR: #FFFFFF; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 10pt; FONT-WEIGHT: bold ; font-style: normal; line-height: normal} +.menu { + color: #003366; + font-family: Arial, Helvetica, sans-serif; + font-size: 10pt; + font-style: normal; + line-height: normal; + background-color: #FFFFFF; + background-position: left; + text-align: left; + vertical-align: middle +} + +.menu_activo { + COLOR: #003366; + FONT-FAMILY: Arial, Helvetica, sans-serif; + FONT-SIZE: 10pt; + font-style: normal; + line-height: normal; + background-color: #FFCC99; + background-position: left center; + text-align: left; + vertical-align: middle +} + +.menu1 { + COLOR: #003366; + FONT-FAMILY: Arial, Helvetica, sans-serif; + FONT-SIZE: 9pt; + font-style: normal; + line-height: normal; + background-color: #FFFFFF; + background-position: left center; + text-align: left; + vertical-align: middle; +} + +.menu_activo1 { + COLOR: #003366; + FONT-FAMILY: Arial, Helvetica, sans-serif; + FONT-SIZE: 9pt; + font-style: normal; + line-height: normal; + background-color: #FFCC99; + background-position: left centre; + text-align: left; + vertical-align: middle +} + +.menu_activo2 { + COLOR: #003366; + FONT-FAMILY: Arial, Helvetica, sans-serif; + FONT-SIZE: 8pt; + font-style: normal; + line-height: normal; + background-color: #FFCC99; + background-position: left centre; + text-align: left; + vertical-align: middle +} + +.menu2 { + COLOR: #003366; + FONT-FAMILY: Arial, Helvetica, sans-serif; + FONT-SIZE: 8pt; + font-style: normal; + line-height: normal; + background-color: #FFFFFF; + background-position: left center; + text-align: left; + vertical-align: middle ; +} + +.arboltitulo { + COLOR: #FFFFFF; + FONT-FAMILY: Arial, Helvetica, sans-serif; + FONT-SIZE: 10pt; + FONT-WEIGHT: bold ; + font-style: normal; + line-height: normal +} -- 2.43.0