--- nfo/php/libs/com.newsblob.phphtmllib/css/redtheme.php 2003/01/30 03:29:08 1.1 +++ nfo/php/libs/com.newsblob.phphtmllib/css/redtheme.php 2003/02/22 20:55:35 1.2 @@ -7,120 +7,64 @@ //cache this Header("Cache-Control: public"); -$footer = new FooterNavCSS(TRUE); -print $footer->render(); -$info = new InfoTableCSS; -$info->update_all_values("border-left", - "1px solid #999999", - "1px solid #d31919"); -$info->update_all_values("border-bottom", - "1px solid #999999", - "1px solid #d31919"); -$info->update_all_values("border-top", - "1px solid #999999", - "1px solid #d31919"); -$info->update_all_values("border-right", - "1px solid #999999", - "1px solid #d31919"); - -$info->update_all_values("background-color", - "#999999", "#d31919"); -print $info->render(); - -$navtable = new NavTableCSS; -$navtable->update_all_values("background-color", - "#999999", "#d31919"); -$navtable->update_all_values("background-color", - "#eeeeee", "#ffa8a8"); -$navtable->update_all_values("color", - "#777777", "#d31919"); -$navtable->update_all_values("color", - "#505dd8", "#d31919"); -print $navtable->render(); - - -$navcss = new TextCSSNavCSS; -$navcss->update_all_values("background-color", - "#999999", "#d31919"); -$navcss->update_all_values("background-color", - "#eeeeee", "#ffa8a8"); -$navcss->update_all_values("color", - "#828282", - "#d31919"); -$navcss->update_all_values("border-left", - "1px solid #828282", - "1px solid #700000"); -$navcss->update_all_values("border-bottom", - "1px solid #828282", - "1px solid #700000"); -$navcss->update_all_values("border-top", - "1px solid #828282", - "1px solid #700000"); -$navcss->update_all_values("border-right", - "1px solid #828282", - "1px solid #700000"); -print $navcss->render(); - -$nav = new VerticalCSSNavTableCSS; -$nav->update_all_values("background-color", - "#999999", "#d31919"); -$nav->update_all_values("background-color", - "#eeeeee", "#ffa8a8"); -$nav->update_all_values("color", - "#777777", "#d31919"); -$nav->update_all_values("border", - "1px solid #999999", - "1px solid #d31919"); -$nav->update_all_values("border-left", - "1px solid #999999", - "1px solid #d31919"); -$nav->update_all_values("border-bottom", - "1px solid #999999", - "1px solid #d31919"); -$nav->update_all_values("border-top", - "1px solid #999999", - "1px solid #d31919"); -$nav->update_all_values("border-right", - "1px solid #999999", - "1px solid #d31919"); -print $nav->render(); - -$imagethumbnail = new ImageThumbnailWidgetCSS; -print $nav->render(); - -$activetab = new ActiveTabCSS; -$activetab->update_all_values("background-color", - "#eeeeee", "#ffa8a8"); -$activetab->update_all_values("border", - "1px solid #999999", - "1px solid #d31919"); -$activetab->update_all_values("border-left", - "1px solid #999999", - "1px solid #d31919"); -$activetab->update_all_values("border-bottom", - "1px solid #999999", - "1px solid #d31919"); -$activetab->update_all_values("border-top", - "1px solid #999999", - "1px solid #d31919"); -$activetab->update_all_values("border-right", - "1px solid #999999", - "1px solid #d31919"); -$activetab->update_all_values("border", - "1px solid #a1a1a1", +//update all the background-color defs +$css_container->update_all_values("background-color", + "#999999", "#d31919"); +$css_container->update_all_values("background-color", + "#eeeeee", "#ffa8a8"); + +//update all the color defs +$css_container->update_all_values("color", + "#777777", "#d31919"); +$css_container->update_all_values("color", + "#828282", "#d31919"); + +//update all the border defs +$css_container->update_all_values("border", + "1px solid #999999", + "1px solid #d31919"); +$css_container->update_all_values("border-left", + "1px solid #999999", + "1px solid #d31919"); +$css_container->update_all_values("border-bottom", + "1px solid #999999", + "1px solid #d31919"); +$css_container->update_all_values("border-top", + "1px solid #999999", + "1px solid #d31919"); +$css_container->update_all_values("border-right", + "1px solid #999999", + "1px solid #d31919"); + +$css_container->update_all_values("border-left", + "1px solid #828282", + "1px solid #700000"); +$css_container->update_all_values("border-bottom", + "1px solid #828282", + "1px solid #700000"); +$css_container->update_all_values("border-top", + "1px solid #828282", + "1px solid #700000"); +$css_container->update_all_values("border-right", + "1px solid #828282", + "1px solid #700000"); + +$css_container->update_all_values("border", + "1px solid #a1a1a1", "1px solid #d31919"); -$activetab->update_all_values("border-left", +$css_container->update_all_values("border-left", "1px solid #a1a1a1", "1px solid #d31919"); -$activetab->update_all_values("border-bottom", +$css_container->update_all_values("border-bottom", "1px solid #a1a1a1", "1px solid #d31919"); -$activetab->update_all_values("border-top", +$css_container->update_all_values("border-top", "1px solid #a1a1a1", "1px solid #d31919"); -$activetab->update_all_values("border-right", +$css_container->update_all_values("border-right", "1px solid #a1a1a1", "1px solid #d31919"); -print $activetab->render(); -?> + +print $css_container->render(); +?> \ No newline at end of file