From c6b15817758e60270fb968945fb7f3164c3f4ef9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Mon, 28 Jun 2004 19:29:33 +0000 Subject: [PATCH] Se acomodan los estilos de MECON_HTML_Page y MECON_HTML_Marco. Es mi despedida temporal de meconlib .... mmarre ..... adios amigos. --- lib/MECON/HTML/Page.php | 13 +++++ www/css/html/page.css | 50 +++++++++++++++++++ www/css/marco.css | 107 ---------------------------------------- 3 files changed, 63 insertions(+), 107 deletions(-) create mode 100644 www/css/html/page.css diff --git a/lib/MECON/HTML/Page.php b/lib/MECON/HTML/Page.php index 2f3f476..69194dd 100644 --- a/lib/MECON/HTML/Page.php +++ b/lib/MECON/HTML/Page.php @@ -52,8 +52,21 @@ class MECON_HTML_Page extends HTML_Page { 'simple' => 'true' ) ); + $this->addStyleSheet($this->getCSS()); } + + /** + * Devuelve el link del style sheet. + * + * @return sting + * @access public + */ + function getCSS() + { + return '/MECON/css/html/page'; + } + /** * Redefinicion de la funcion que permite agregar objetos o html al body de * la pagina. diff --git a/www/css/html/page.css b/www/css/html/page.css new file mode 100644 index 0000000..abd6b69 --- /dev/null +++ b/www/css/html/page.css @@ -0,0 +1,50 @@ +/* +--------------------------------------------------------------------+ +// | MECONlib | +// +--------------------------------------------------------------------+ +// | Ministerio de Economía | +// +--------------------------------------------------------------------+ +// | Creado: lun jun 28 16:48:58 ART 2004 | +// | Autor: Martin Marrese | +// +--------------------------------------------------------------------+ +// +// $Id$ +*/ + +body +{ + font-family: Arial, Helvetica, sans-serif; + font-size: 8pt; +} + +a +{ + color:#003366; + font-size: 8pt; + font-family: Arial, Helvetica, sans-serif; +} +a:visited +{ + color:#660066; +} +a:active +{ + color:#0066FF; +} + +IMG +{ + border: 0pt; +/* vertical-align: middle; */ +} + +table +{ + font-family: Arial, Helvetica, sans-serif; + font-size: 8pt; +} + +td +{ + font-family: Arial, Helvetica, sans-serif; + font-size: 8pt; +} diff --git a/www/css/marco.css b/www/css/marco.css index c3fa210..3cfdff4 100644 --- a/www/css/marco.css +++ b/www/css/marco.css @@ -10,51 +10,12 @@ // $Id: SA_Estilos.css 9 2003-03-27 21:47:09Z mmarre $ */ -body -{ - font-family: Arial, Helvetica, sans-serif; - font-size: 8pt; -} - -a -{ - color:#003366; - font-size: 8pt; - font-family: Arial, Helvetica, sans-serif; -} -a:visited -{ - color:#660066; -} -a:active -{ - color:#0066FF; -} - -IMG -{ - border: 0pt; -/* vertical-align: middle; */ -} - A.mecon_marco_subtitle { font-family: Arial, Helvetica, sans-serif; font-size: 12pt; color: #336699; } -table -{ - font-family: Arial, Helvetica, sans-serif; - font-size: 8pt; -} - -td -{ - font-family: Arial, Helvetica, sans-serif; - font-size: 8pt; -} - .mecon_marco_subtitle { font-family: Arial, Helvetica, sans-serif; font-size: 13pt; @@ -68,71 +29,3 @@ td font-size: 13pt; color: #000000; } - -/* ESTOS ESTILOS ESTAN DEPRECATED -.body_general -{ - FONT-FAMILY: Arial, Helvetica, sans-serif; - FONT-SIZE: 11px; - BACKGROUND-COLOR: #FFFFFF; - COLOR: #000000; - MARGIN: 20px; -} -.table_general -{ - WIDTH: 760px; - BORDER: 0px none none; - BACKGROUND-COLOR: #FFFFFF; - FONT-FAMILY: Arial, Helvetica, sans-serif; - FONT-SIZE: 11px; - FONT-STYLE: normal; - FONT-WEIGHT: normal; - TEXT-DECORATION: none; - VERTICAL-ALIGN: top; - MARGIN: 0px; -} -.td_general -{ - TEXT-ALIGN: center; - VERTICAL-ALIGN: top; - BACKGROUND-COLOR: #FFFFFF; - BORDER: 0px; - MARGIN: 0px none none; - -} -.td_secciones -{ - TEXT-ALIGN: center; - VERTICAL-ALIGN: top; - BACKGROUND-COLOR: #CCCCCC; - MARGIN: 0px; - BORDER: 0px none none -} -.texto11_blanco -{ - FONT-FAMILY: Arial, Helvetica, sans-serif; - FONT-SIZE: 11px; - FONT-STYLE: bold; - COLOR: #FFFFFF; - FONT-WEIGHT: normal; - TEXT-DECORATION: none; -} -.texto11_negro -{ - FONT-FAMILY: Arial, Helvetica, sans-serif; - FONT-SIZE: 11px; - FONT-STYLE: normal; - COLOR: #000000; - FONT-WEIGHT: normal; - TEXT-DECORATION: none; -} -.texto10_negro -{ - FONT-FAMILY: Arial, Helvetica, sans-serif; - FONT-SIZE: 10px; - FONT-STYLE: normal; - COLOR: #000000; - FONT-WEIGHT: normal; - TEXT-DECORATION: none; -} -*/ -- 2.43.0