From: <var...@us...> - 2011-01-21 13:18:06
|
Revision: 7851 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7851&view=rev Author: vargenau Date: 2011-01-21 13:17:59 +0000 (Fri, 21 Jan 2011) Log Message: ----------- Unify CSS "error" and "errors" classes; remove NS4 stuff Modified Paths: -------------- trunk/themes/Crao/crao.css trunk/themes/Hawaiian/Hawaiian.css trunk/themes/MacOSX/MacOSX.css trunk/themes/MonoBook/main.css trunk/themes/Sidebar/sidebar.css trunk/themes/SpaceWiki/SpaceWiki.css trunk/themes/Wordpress/Wordpress.css trunk/themes/blog/Kubrick.css trunk/themes/default/phpwiki-modern.css trunk/themes/default/phpwiki-printer.css trunk/themes/default/phpwiki.css trunk/themes/fusionforge/fusionforge.css Modified: trunk/themes/Crao/crao.css =================================================================== --- trunk/themes/Crao/crao.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/Crao/crao.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -236,18 +236,11 @@ margin-right: 7%; margin-bottom:7%; background-color: #f2f2f2;/* MODIFY-color */ - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ border: 1px #999 solid;/* MODIFY-color */ padding-left: 2em; padding-right: 15px; padding-top: 15px; padding-bottom: 0.5ex; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ - } /* titre */ div.boxtitrehead {} @@ -692,9 +685,6 @@ padding-right: 1em; padding-top: 0.5ex; padding-bottom: 0.5ex; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ clear: both; } @@ -905,22 +895,18 @@ .diff { color: #000; background-color: transparent; - /* for NS4 */ border: 1px solid black; } .diff .block { color: #000; background-color: #ccc; padding-left: 1em; - /* for NS4 */ - /*border: none;*/ } /* individual blocks */ .diff .context { color: #000; background-color: transparent; - /* for NS4 */ border: none; } /* + - line prefix */ @@ -929,7 +915,6 @@ font-family: monospace; color: black; background-color: transparent; - /* for NS4 */ margin-left: 0; border: none; } @@ -949,18 +934,15 @@ .diff .original, .diff .deleted { color: #000; background-color: #fcc; - /* for NS4 */ border: none; } /* blocks containing added words */ .diff .final, .diff .added { color: #000; background-color: #cfc; - /* for NS4 */ border: none; } -/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ /* deleted words */ .diff del {color: #000; background-color: #f99; } /* added words */ @@ -1073,8 +1055,7 @@ .interwiki-map thead td { text-decoration: underline; } .printer { display: none; } -/* PHP Warnings */ -div.errors { +.error { color: black; background-color: #eee; margin-top: 1em; @@ -1086,15 +1067,6 @@ border: medium solid red; clear: both; } -.errors { - color: red; - margin: 0; - padding: 0; - text-decoration: underline; - background-color: transparent; -} -.error { font-family: monospace; } -.error ul { font-family: monospace; } /* Debug */ .debug { @@ -1106,9 +1078,6 @@ padding: 0.5ex 0.5em; } -/* Hide NS4 bugs hack elements. */ -div.br { display: none; } - /* * table class="boxed" * will put a border around the table (but not around the cells) Modified: trunk/themes/Hawaiian/Hawaiian.css =================================================================== --- trunk/themes/Hawaiian/Hawaiian.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/Hawaiian/Hawaiian.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -2,7 +2,7 @@ * $Id$ * * This incarnation of this stylesheet is a complete rewrite from the - * ground up. It has not yet been tested against NS4. + * ground up. * * Mozilla's "DOM Inspector" Sidebar was an invaluable troubleshooting * tool for mapping the more complex CSS node selectors, such as those @@ -69,12 +69,7 @@ padding-right: 0.8em; padding-top: 0.5ex; padding-bottom: 0.5ex; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ clear: both; - /* user's browser settings * - font-family: none; */ } div.wikitext hr { height: 1px; } @@ -373,18 +368,15 @@ .diff .original, .diff .deleted { background: #fcc; } .diff .final, .diff .added { background: #cfc; } -/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ .diff del { background: #f99; } .diff ins { background: #9f9; } - /** * Other */ .printer { display: none; } -/* PHP Warnings */ -div.errors { +div.error { color: black; border: medium solid #d8caae; margin-top: 1em; @@ -396,15 +388,6 @@ font-size: smaller; clear: both; } -.errors { - color: #87785c; - margin: 0; - padding: 0; - text-decoration: none; - font-weight: bold; -} -.error { font-family: monospace; } -.error ul { font-family: monospace; } /* Debug */ .debug { @@ -463,45 +446,32 @@ list-style-image: none; } -/* This makes spacings in NS4 too big. */ .toolbar, div.toolbar { margin: 0.5ex 0ex; } /* Link icons */ img.linkicon { vertical-align: middle; } - -/* This break NS4 (display does not go full width), but is necessary for IE4. */ div.wikitext { width: auto; - /* NS4 doesn't know about png with transparency so it renders the whole image solid black */ background: url("images/tchecker-white.png") repeat; } .wiki-edithelp { - /* NS4 doesn't know about png with transparency so it renders the whole image solid black */ background: url("images/tchecker-sand.png") repeat; } .wiki-edithelp p { - /* NS4 doesn't know about png with transparency so it renders the whole image solid black */ background: url("images/tchecker-white.png") repeat; } - /** * Diff Output */ .diff .block div { position: relative; padding-left: 1.5em; } .diff .prefix { position: absolute; left: 0.5em; top: 0; } - /** * Other */ -div.errors { - /* NS4 doesn't know about png with transparency so it renders the whole image solid black */ - background: url("images/tchecker-sand.png") repeat; -} .debug { - /* NS4 doesn't know about png with transparency so it renders the whole image solid black */ background: url("images/tchecker-sand.png") repeat; } Modified: trunk/themes/MacOSX/MacOSX.css =================================================================== --- trunk/themes/MacOSX/MacOSX.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/MacOSX/MacOSX.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -36,10 +36,6 @@ input[type=cancel], input[type=image] { vertical-align: middle } -/* - * NS4, defaults from body don't always propagate correctly. - * So we need this: - */ h1, h2, h3, .toolbar, td { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; } input.button { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; } @@ -100,7 +96,6 @@ .interwiki-moniker { background: #eee; } .interwiki-url { background: #f8f8f8; } - /* Mozilla RecentChanges Sidebar */ body.sidebar { font-size: smaller; @@ -112,7 +107,7 @@ body.sidebar div.wikitext ul { padding-left: 1em; } body.sidebar h2 { margin-top: 0; } -div.errors { +div.error { background: #eee; border: 1px solid gray; padding-left: 0.8em; @@ -124,23 +119,6 @@ font-size: smaller; } -.errors { - color: black; - text-decoration: underline; - font-family: "Lucida Grande", Helvetica, Arial, sans-serif; - margin-top: 0; - margin-bottom: 0.5ex; -} - -.error { - font-family: Monaco, monospace; - margin: 0; - font-size: smaller; -} -.error ul { - font-size: smaller; - font-family: Monaco, monospace; -} /* Debug */ .debug { color: black; @@ -158,9 +136,6 @@ /* Wiki Links */ a.wiki { text-decoration: none; } .wiki, .named-wiki { font-weight: bold; color:#1d42be; } /*blue*/ -/* This is obscene in NS4 - b .wiki, STRONG .wiki { font-size: larger; } - */ /* Unknown links */ .wikiunknown a, .named-wikiunknown a, .wikiunknown U { text-decoration: none; } @@ -308,14 +283,11 @@ } .diff .block { background: #d8d8d8; - /* for NS4 */ - /* border: none;*/ } /* individual blocks */ .diff .context { background: white; - /* for NS4 */ border: none; } /* + - line prefix */ @@ -324,7 +296,6 @@ font-family: monospace; margin-left: -1.6em; color: black; - /* for NS4 */ border: none; } /* changed words */ @@ -834,14 +805,10 @@ clear: both; } -/* This makes spacings in NS4 too big. */ .toolbar , div.toolbar { margin : 0.5ex 0; } -/* This break NS4, but is necessary for IE4. */ -div.wikitext { - width : auto; -} + /* Link icons */ img.linkicon { vertical-align : middle; Modified: trunk/themes/MonoBook/main.css =================================================================== --- trunk/themes/MonoBook/main.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/MonoBook/main.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -1588,8 +1588,8 @@ div#bottom { margin-left: 12.2em; } -/* PHP Warnings */ -div.errors { + +.error { color: black; background: #eee; margin-top: 1em; @@ -1601,13 +1601,8 @@ border: medium solid red; clear: both; } -.errors { - color: red; - margin: 0; - padding: 0; - text-decoration: underline; -} -div.warning { + +.warning { color: black; background: #eee; margin-top: 1em; @@ -1853,19 +1848,6 @@ padding: 0.5em; } -/* style for error messages - Use this style if you need to display an error, e.g: - User does not exist -*/ -.error { - font-weight: bold; - border-width: 2px; - border-style: solid; - background-color: #ffc0cb; /* pink */ - border-color: red; - padding: 0.5em; -} - #edit-public, h1.firstHeading-public, h1.firstHeading-rating-public { background-color: #ffce7b; border: 1px solid #ffa500; Modified: trunk/themes/Sidebar/sidebar.css =================================================================== --- trunk/themes/Sidebar/sidebar.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/Sidebar/sidebar.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -19,8 +19,6 @@ padding: 0; } #content { - /* margin: 2.8em 0 0 12.2em; */ - /* padding: 0em 1em 1.5em 1em; */ margin: 61px 0 0 12.2em; padding: 1em 1em 1.5em 1em; background: White; @@ -599,10 +597,6 @@ margin-top: 1ex; margin-bottom: 0.5ex; background: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px #ccc solid; color: black; border-top: 1px solid #494f5d; border-left: 1px solid #494f5d; @@ -613,33 +607,16 @@ padding-left: .125em; padding-right: .125em; padding: 0; - /* "paper" borders */ - /*border-top: 2px #d2d2d2 solid; - border-left: 2px #b2b2b2 solid; - border-bottom: 2px #e8e6df solid; - border-right: 2px #e8e6df solid;*/ -/* padding-left: 0em; - padding-bottom: 0ex;*/ -/* border-style: inset;*/ - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ - /* I'm not sure what the intent of this was, but it's - * not valid CSS: */ - /* display: editarea; */ clear: both; } .diff .block { background: #ddd; padding-left: 1em; - /* for NS4 */ - /*border: none;*/ } /* individual blocks */ .diff .context { background: white; - /* for NS4 */ border: none; } /* entire difftextblock */ @@ -647,10 +624,6 @@ margin-top: 0; margin-bottom: 0; background: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px black solid; /* "paper" borders */ border-top: 1px #e8e6df solid; border-left: 1px #e8e6df solid; @@ -660,9 +633,6 @@ padding-right: 0em; padding-top: 0ex; padding-bottom: 0ex; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ clear: both; } /* + - line prefix */ @@ -670,7 +640,6 @@ font-weight: normal; font-family: monospace; color: black; - /* for NS4 */ margin-left: 0; border: none; } @@ -688,17 +657,14 @@ /* blocks containing deleted words */ .diff .original, .diff .deleted { background: #fcc; - /* for NS4 */ border: none; } /* blocks containing added words */ .diff .final, .diff .added { background: #cfc; - /* for NS4 */ border: none; } -/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ /* deleted words */ .diff del { background: #f99; } /* added words */ @@ -1685,8 +1651,7 @@ margin: 0; } -/* PHP Warnings */ -div.errors { +.error { color: black; background-color: #FF9999; margin-top: 1em; @@ -1698,13 +1663,8 @@ border: medium solid red; clear: both; } -.errors { - color: red; - margin: 0; - padding: 0; - text-decoration: underline; -} -div.warning { + +.warning { color: black; background-color: #FFCCCC; margin-top: 1em; @@ -2020,16 +1980,3 @@ border-color: green; padding: 0.5em; } - -/* style for error messages - Use this style if you need to display an error, e.g: - User does not exist -*/ -.error { - font-weight: bold; - border-width: 2px; - border-style: solid; - background-color: #ffc0cb; /* pink */ - border-color: red; - padding: 0.5em; -} Modified: trunk/themes/SpaceWiki/SpaceWiki.css =================================================================== --- trunk/themes/SpaceWiki/SpaceWiki.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/SpaceWiki/SpaceWiki.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -37,7 +37,7 @@ /* For Mozilla */ empty-cells: show; } -td { color: white; } /* for NS4 */ +td { color: white; } caption { caption-side: top; text-align: left; @@ -484,11 +484,9 @@ .diff .original, .diff .deleted { background: #a40024; } .diff .final, .diff .added { background: #cfc; } -/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ .diff del { background: #a40024; } .diff ins { background: #9f9; } - /** * PageHistory, Info */ @@ -541,20 +539,12 @@ */ .printer { display: none; } -/* PHP Warnings */ -div.errors { +.error { color: red; background: black; border: medium solid red; clear: both; } -.errors { - color: black; - background: red; - text-decoration: underline; -} -.error { font-family: monospace; } -.error ul { font-family: monospace; } /* Debug */ .debug { @@ -672,7 +662,7 @@ padding-right: 1px; padding-top: 1px; margin-right: 1px; - font-size: smaller; /* too small in NS4 */ + font-size: smaller; } .wikiunknown a:hover, .named-wikiunknown a:hover { border: 1px solid #403752; @@ -750,14 +740,11 @@ text-align: left; } - /** * Edit Page & View Source */ -/* color: inherit; and background: inherit; display as lime in NS4 */ -div.transclusion { font-size: smaller; } /* too small in NS4 */ +div.transclusion { font-size: smaller; } - /** * Diff Output */ @@ -771,7 +758,6 @@ top: 0; } - .editdate { padding-top: 0.25ex; padding-left: 0.5em; @@ -799,26 +785,6 @@ margin: 1px; } -/** - * Other - */ -/* PHP Warnings */ -div.errors { - font-size: smaller; /* too small in NS4 */ - margin-top: 4ex; - margin-bottom: 2ex; - padding: 0.5ex 0.25em; -} -.errors { - margin: 0; - padding: 0.5ex 0.25em; -} - -.error { - padding-left: 0.25em; - padding-right: 0.25em; -} - /* * table class="boxed" * will put a border around the table (but not around the cells) Modified: trunk/themes/Wordpress/Wordpress.css =================================================================== --- trunk/themes/Wordpress/Wordpress.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/Wordpress/Wordpress.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -444,10 +444,6 @@ margin-top: 1ex; margin-bottom: 0.5ex; background: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px #ccc solid; color: black; border-top: 1px solid #494f5d; border-left: 1px solid #494f5d; @@ -458,33 +454,16 @@ padding-left: .125em; padding-right: .125em; padding: 0; - /* "paper" borders */ - /*border-top: 2px #d2d2d2 solid; - border-left: 2px #b2b2b2 solid; - border-bottom: 2px #e8e6df solid; - border-right: 2px #e8e6df solid;*/ -/* padding-left: 0em; - padding-bottom: 0ex;*/ -/* border-style: inset;*/ - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ - /* I'm not sure what the intent of this was, but it's - * not valid CSS: */ - /* display: editarea; */ clear: both; } .diff .block { background: #ddd; padding-left: 1em; - /* for NS4 */ - /*border: none;*/ } /* individual blocks */ .diff .context { background: white; - /* for NS4 */ border: none; } /* entire difftextblock */ @@ -492,10 +471,6 @@ margin-top: 0; margin-bottom: 0; background: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px black solid; /* "paper" borders */ border-top: 1px #e8e6df solid; border-left: 1px #e8e6df solid; @@ -505,9 +480,6 @@ padding-right: 0em; padding-top: 0ex; padding-bottom: 0ex; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ clear: both; } /* + - line prefix */ @@ -515,7 +487,6 @@ font-weight: normal; font-family: monospace; color: black; - /* for NS4 */ margin-left: 0; border: none; } @@ -533,23 +504,19 @@ /* blocks containing deleted words */ .diff .original, .diff .deleted { background: #fcc; - /* for NS4 */ border: none; } /* blocks containing added words */ .diff .final, .diff .added { background: #cfc; - /* for NS4 */ border: none; } -/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ /* deleted words */ .diff del { background: #f99; } /* added words */ .diff ins { background: #9f9; } - /** * PageHistory, Info */ @@ -559,14 +526,12 @@ font-style: oblique; } - /** * Other */ .printer, .no-css { display: none; } -/* PHP Warnings */ -div.errors { +.error { color: black; background: #eee; margin-top: 1em; @@ -578,13 +543,8 @@ border: medium solid red; clear: both; } -.errors { - color: red; - margin: 0; - padding: 0; - text-decoration: underline; -} -div.warning { + +.warning { color: black; background: #eee; margin-top: 1em; @@ -596,8 +556,6 @@ border: thin solid blue; clear: both; } -.error { font-family: monospace; font-size: 120%; } -.error ul { font-family: monospace; } /* Debug */ .debug { @@ -614,7 +572,6 @@ .hint { color: black; background: #eeeeee; - /* font-size: smaller; */ font-style: italic; margin-left: 3em; padding: 0.5ex 0.5em; @@ -653,7 +610,6 @@ padding-left: 1em; } - /* * "DL tables" */ @@ -696,7 +652,6 @@ margin-left: -0.6em; } - /* * wikiblog */ @@ -803,12 +758,10 @@ margin: 1em 0 0.5em 0; } - .clear-floats { clear: both; } - /* postnuke css:*/ .gensmall{font-size:10px} .genmed{font-size:11px} Modified: trunk/themes/blog/Kubrick.css =================================================================== --- trunk/themes/blog/Kubrick.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/blog/Kubrick.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -698,10 +698,6 @@ margin-top: 1ex; margin-bottom: 0.5ex; background: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px #ccc solid; color: black; border-top: 1px solid #494f5d; border-left: 1px solid #494f5d; @@ -712,33 +708,16 @@ padding-left: .125em; padding-right: .125em; padding: 0; - /* "paper" borders */ - /*border-top: 2px #d2d2d2 solid; - border-left: 2px #b2b2b2 solid; - border-bottom: 2px #e8e6df solid; - border-right: 2px #e8e6df solid;*/ -/* padding-left: 0em; - padding-bottom: 0ex;*/ -/* border-style: inset;*/ - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ - /* I'm not sure what the intent of this was, but it's - * not valid CSS: */ - /* display: editarea; */ clear: both; } .diff .block { background: #ddd; padding-left: 1em; - /* for NS4 */ - /*border: none;*/ } /* individual blocks */ .diff .context { background: white; - /* for NS4 */ border: none; } /* entire difftextblock */ @@ -747,10 +726,6 @@ margin-top: 0; margin-bottom: 0; background: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px black solid; /* "paper" borders */ border-top: 1px #e8e6df solid; border-left: 1px #e8e6df solid; @@ -760,9 +735,6 @@ padding-right: 0em; padding-top: 0ex; padding-bottom: 0ex; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ clear: both; } /* + - line prefix */ @@ -770,7 +742,6 @@ font-weight: normal; font-family: monospace; color: black; - /* for NS4 */ margin-left: 0; border: none; } @@ -788,17 +759,14 @@ /* blocks containing deleted words */ .diff .original, .diff .deleted { background: #fcc; - /* for NS4 */ border: none; } /* blocks containing added words */ .diff .final, .diff .added { background: #cfc; - /* for NS4 */ border: none; } -/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ /* deleted words */ .diff del { background: #f99; } /* added words */ Modified: trunk/themes/default/phpwiki-modern.css =================================================================== --- trunk/themes/default/phpwiki-modern.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/default/phpwiki-modern.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -65,12 +65,7 @@ margin-bottom: 0; margin-left: 0em; margin-right: 0em; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ clear: both; - /* user's browser settings * - font-family: none; */ } #logo img { @@ -400,7 +395,6 @@ .diff .original, .diff .deleted { background: #fcc; } .diff .final, .diff .added { background: #cfc; } -/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ .diff del { background: #f99; } .diff ins { background: #9f9; } @@ -420,8 +414,7 @@ */ .printer { display: none; } -/* PHP Warnings */ -div.errors { +.error { color: black; background: white; margin-top: 2em; @@ -430,15 +423,6 @@ font-size: smaller; border: thin dashed red; } -.errors { - color: red; - background: inherit; - margin: 0; - padding: 0; - text-decoration: underline; -} -.error { font-family: monospace; } -.error ul { font-family: monospace; } /* Debug */ .debug { @@ -449,12 +433,6 @@ padding: 0.5ex 0.5em; } -/* Hide the elements we put in just to get around NS4 bugs. */ -div.br { display: none; } - -/* This break NS4, but is necessary for IE4. */ -div.wikitext { width: auto; } - /* Link icons */ img.linkicon { vertical-align: middle; } img.rssicon { vertical-align: baseline; } Modified: trunk/themes/default/phpwiki-printer.css =================================================================== --- trunk/themes/default/phpwiki-printer.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/default/phpwiki-printer.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -254,8 +254,7 @@ display: none; } -/* PHP Warnings */ -div.errors { +.error { margin-top: 1em; margin-bottom: 1em; padding-left: 0.8em; @@ -265,26 +264,13 @@ font-size: smaller; border: 0.5pt solid black; clear: both; -/* - display: none; -*/ } -.errors { - margin: 0; - padding: 0; - text-decoration: underline; -} -.error { font-family: monospace; } -.error ul { font-family: monospace; } /* Debug */ .debug { - /* font-family: monospace; - margin: 1ex 0;*/ display: none; } - /* For emacs users * * Local Variables: Modified: trunk/themes/default/phpwiki.css =================================================================== --- trunk/themes/default/phpwiki.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/default/phpwiki.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -56,11 +56,6 @@ margin-top: 1ex; margin-bottom: 0.5ex; background-color: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px black solid; - /* "paper" borders */ border-top: 1px #e8e6df solid; border-left: 1px #e8e6df solid; border-bottom: 1px #d2d2d2 solid; @@ -69,9 +64,6 @@ padding-right: 0.8em; padding-top: 0.5ex; padding-bottom: 0.5ex; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ clear: both; } /* for the login template */ @@ -457,10 +449,6 @@ margin-top: 1ex; margin-bottom: 0.5ex; background: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px #ccc solid; color: black; border-top: 1px solid #494f5d; border-left: 1px solid #494f5d; @@ -471,33 +459,16 @@ padding-left: .125em; padding-right: .125em; padding: 0; - /* "paper" borders */ - /*border-top: 2px #d2d2d2 solid; - border-left: 2px #b2b2b2 solid; - border-bottom: 2px #e8e6df solid; - border-right: 2px #e8e6df solid;*/ -/* padding-left: 0em; - padding-bottom: 0ex;*/ -/* border-style: inset;*/ - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ - /* I'm not sure what the intent of this was, but it's - * not valid CSS: */ - /* display: editarea; */ clear: both; } .diff .block { background: #ddd; padding-left: 1em; - /* for NS4 */ - /*border: none;*/ } /* individual blocks */ .diff .context { background: white; - /* for NS4 */ border: none; } /* entire difftextblock */ @@ -505,10 +476,6 @@ margin-top: 0; margin-bottom: 0; background: white; - /* Netscape 4 requires this 1px border. - Without it, the paper borders below cause - the white background to disappear. */ - border: 1px black solid; /* "paper" borders */ border-top: 1px #e8e6df solid; border-left: 1px #e8e6df solid; @@ -518,9 +485,6 @@ padding-right: 0em; padding-top: 0ex; padding-bottom: 0ex; - /*This breaks Netscape 4: (display does not go full width). - * width: auto; - */ clear: both; } /* + - line prefix */ @@ -528,7 +492,6 @@ font-weight: normal; font-family: monospace; color: black; - /* for NS4 */ margin-left: 0; border: none; } @@ -546,17 +509,14 @@ /* blocks containing deleted words */ .diff .original, .diff .deleted { background: #fcc; - /* for NS4 */ border: none; } /* blocks containing added words */ .diff .final, .diff .added { background: #cfc; - /* for NS4 */ border: none; } -/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ /* deleted words */ .diff del { background: #f99; } /* added words */ @@ -578,8 +538,7 @@ */ .printer, .no-css { display: none; } -/* PHP Warnings */ -div.errors { +.error { color: black; background: #eee; margin-top: 1em; @@ -591,13 +550,7 @@ border: medium solid red; clear: both; } -.errors { - color: red; - margin: 0; - padding: 0; - text-decoration: underline; -} -div.warning { +.warning { color: black; background: #eee; margin-top: 1em; @@ -609,8 +562,6 @@ border: thin solid blue; clear: both; } -.error { font-family: monospace; font-size: 120%; } -.error ul { font-family: monospace; } /* Debug */ .debug { @@ -941,19 +892,11 @@ vertical-align: top; } -/* Hide the elements we put in just to get around NS4 bugs. */ -div.br { display: none; } - -/* This makes spacings in NS4 too big. */ .toolbar, div.toolbar { margin: 0.5ex 0ex; } -/* This breaks NS4, but is necessary for IE4. */ -div.wikitext { width: auto; } - /** * General */ -/* for NS4 */ img { vertical-align: baseline; } input { margin: 0.1em; } input.numeric { text-align: right; } @@ -985,34 +928,18 @@ /** * Links - border-top: 1px solid #b2b2d1; - border-left: 1px solid #d2d2f1; - border-bottom: 1px solid #86929e; - border-right: 1px solid #86929e; */ /* Make wikiaction links look like buttons */ a.wikiaction, a.wikiadmin, a.wikiunsafe, input.wikiaction, input.wikiadmin, input.wikiunsafe, input.button { color: black; -/* - border-top: 1px solid #c6d2de; - border-left: 1px solid #c6d2de; - border-bottom: 1px solid #494f5d; - border-right: 1px solid #494f5d; - - padding-top: 0.15ex; - padding-bottom: 0.25ex; - padding-left: .5em; - padding-right: .5em; -*/ border: 1px outset; padding: 0.05ex 0.25em 0.1ex 0.25em; height: auto; width: auto; /* Prevent buttons from overlapping when the toolbar is wrapped. */ line-height: 2.6ex; - /*margin: 2ex 0.2em;*/ } div#navbuttons, div#signin, div#actionbuttons { line-height: 3.0ex; } @@ -1035,7 +962,6 @@ /** * Edit Page & View Source */ -/* color: inherit; and background: inherit; display as lime in NS4 */ /* http://universaleditbutton.org */ div#actionbuttons a#btn-edit { @@ -1063,12 +989,6 @@ padding-right: 1px; } -/** - * Other - */ -/* PHP Warnings */ -div.errors { font-size: smaller } - /* * table class="boxed" * will put a border around the table (but not around the cells) Modified: trunk/themes/fusionforge/fusionforge.css =================================================================== --- trunk/themes/fusionforge/fusionforge.css 2011-01-21 09:41:05 UTC (rev 7850) +++ trunk/themes/fusionforge/fusionforge.css 2011-01-21 13:17:59 UTC (rev 7851) @@ -50,12 +50,6 @@ /* Because in some cases there is a <p> in nested lists */ li p { margin:0; } -/* Hide the elements we put in just to get around NS4 bugs. */ -div.br { display: none; } - -/* This breaks NS4, but is necessary for IE4. */ -div.wikitext { width: auto; } - div.wikitext table p { margin-top: 0.3em; margin-bottom: 0.3em;} img { vertical-align: baseline; } @@ -554,7 +548,6 @@ /* individual blocks */ .diff .context { background: white; - /* for NS4 */ border: none; } /* entire difftextblock */ @@ -617,7 +610,7 @@ /* Banners ============================================================ */ -.errors { +.error { font-weight: bold; font-size: 11px; text-align: left; @@ -671,7 +664,7 @@ -webkit-border-radius: 1em; } -span.warning, span.errors, span.hint { +span.warning, span.error, span.hint { padding: 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |