From: <var...@us...> - 2009-01-21 09:35:46
|
Revision: 6424 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6424&view=rev Author: vargenau Date: 2009-01-21 09:35:42 +0000 (Wed, 21 Jan 2009) Log Message: ----------- CSS classes tightenable top bottom no longer used in modern themes (Monobook, Sidebar) Modified Paths: -------------- trunk/lib/BlockParser.php trunk/lib/CachedMarkup.php trunk/lib/plugin/SpellCheck.php trunk/lib/plugin/SyntaxHighlighter.php trunk/themes/Crao/crao.css trunk/themes/MacOSX/MacOSX.css trunk/themes/Portland/portland.css trunk/themes/Wordpress/Wordpress.css trunk/themes/default/phpwiki.css Modified: trunk/lib/BlockParser.php =================================================================== --- trunk/lib/BlockParser.php 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/lib/BlockParser.php 2009-01-21 09:35:42 UTC (rev 6424) @@ -334,9 +334,6 @@ } function setTightness($top, $bottom) { - $this->setInClass('tightenable'); - $this->setInClass('top', $top); - $this->setInClass('bottom', $bottom); } } @@ -466,7 +463,6 @@ if (count($this->_content) == 1) { $elem = $this->_content[0]; if (isa($elem, 'XmlElement') and $elem->getTag() == 'p') { - assert($elem->getAttr('class') == 'tightenable top bottom'); $this->setContent($elem->getContent()); } } Modified: trunk/lib/CachedMarkup.php =================================================================== --- trunk/lib/CachedMarkup.php 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/lib/CachedMarkup.php 2009-01-21 09:35:42 UTC (rev 6424) @@ -756,9 +756,6 @@ } function setTightness($top, $bottom) { - $this->_tightenable = 0; - if ($top) $this->_tightenable |= 1; - if ($bottom) $this->_tightenable |= 2; } function isInlineElement() { Modified: trunk/lib/plugin/SpellCheck.php =================================================================== --- trunk/lib/plugin/SpellCheck.php 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/lib/plugin/SpellCheck.php 2009-01-21 09:35:42 UTC (rev 6424) @@ -148,7 +148,6 @@ } } /*$pre = HTML::pre(HTML::raw($code)); - $pre->setAttr('class','tightenable top bottom'); $html->pushContent($pre);*/ } else { $sugg = pspell_check($source, $lang); Modified: trunk/lib/plugin/SyntaxHighlighter.php =================================================================== --- trunk/lib/plugin/SyntaxHighlighter.php 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/lib/plugin/SyntaxHighlighter.php 2009-01-21 09:35:42 UTC (rev 6424) @@ -172,7 +172,6 @@ if (empty($code)) return $this->error(fmt("Couldn't start commandline '%s'",$commandLine)); $pre = HTML::pre(HTML::raw($code)); - $pre->setAttr('class','tightenable top bottom'); $html->pushContent($pre); return HTML($html); } else { Modified: trunk/themes/Crao/crao.css =================================================================== --- trunk/themes/Crao/crao.css 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/themes/Crao/crao.css 2009-01-21 09:35:42 UTC (rev 6424) @@ -1,6 +1,6 @@ /** *15 dec 2003 - *css cr\x8Ee pour le site http://www.crao.net + *css cree pour le site http://www.crao.net *L Lunati * */ @@ -598,15 +598,6 @@ ****************************** */ -/* -*le lien rss HEADING -*/ -.tightenable h2 {/* MODIFY-TXT */ - font-size: 12px; - color: #888; - font-weight: bold; -} - /* rss feed */ div.rss { Modified: trunk/themes/MacOSX/MacOSX.css =================================================================== --- trunk/themes/MacOSX/MacOSX.css 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/themes/MacOSX/MacOSX.css 2009-01-21 09:35:42 UTC (rev 6424) @@ -585,45 +585,6 @@ text-indent: -3em; } - -/* - * Vertical margins around block elements. - */ -p { margin: 1em 0; } /* Normal ("loose") paragraphs */ -li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */ - -/* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */ -/* li ul, li ol, li dl, -dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */ - -/* Normal ("loose") list elements */ -li.tightenable { margin: 1em 0; } -dt.tightenable { margin-top: 1em; } -dd.tightenable { margin-bottom: 1.5ex; } - -li.tightenable.top, -dt.tightenable.top, -dd.tightenable.top { - margin-top: 0.2ex; -} -li li.tightenable.top { - margin-top: 0; -} -li.tightenable.bottom, -dd.tightenable.bottom { - margin-bottom: 0.2ex; -} -li li.tightenable.bottom { - margin-bottom: 0; -} - -.tightenable.top { - margin-top: 0; -} -.tightenable.bottom { - margin-bottom: 0; -} - /* IncludePage plugin */ .transclusion-title { text-align: right; Modified: trunk/themes/Portland/portland.css =================================================================== --- trunk/themes/Portland/portland.css 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/themes/Portland/portland.css 2009-01-21 09:35:42 UTC (rev 6424) @@ -28,46 +28,6 @@ } /* - * Vertical margins around block elements. - */ - -p { margin: 1em 0; } /* Normal ("loose") paragraphs */ -li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */ - -/* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */ -/* li ul, li ol, li dl, -dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */ - -/* Normal ("loose") list elements */ -li.tightenable { margin: 1em 0; } -dt.tightenable { margin-top: 1em; } -dd.tightenable { margin-bottom: 1.5ex; } - - -li.tightenable.top, -dt.tightenable.top, -dd.tightenable.top { - margin-top: 0.2ex; -} -li li.tightenable.top { - margin-top: 0; -} -li.tightenable.bottom, -dd.tightenable.bottom { - margin-bottom: 0.2ex; -} -li li.tightenable.bottom { - margin-bottom: 0; -} - -.tightenable.top { - margin-top: 0; -} -.tightenable.bottom { - margin-bottom: 0; -} - -/* * "DL tables" */ .wiki-dl-table { @@ -80,12 +40,6 @@ border-left: none; border-right: none; } -.wiki-dl-table tr.tightenable.top { - border-top: 1px #444 solid; -} -.wiki-dl-table tr.tightenable.bottom { - border-bottom: 1px #444 solid; -} .wiki-dl-table th, .wiki-dl-table td { padding: 0.25em 0.5em; Modified: trunk/themes/Wordpress/Wordpress.css =================================================================== --- trunk/themes/Wordpress/Wordpress.css 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/themes/Wordpress/Wordpress.css 2009-01-21 09:35:42 UTC (rev 6424) @@ -655,46 +655,6 @@ /* - * Vertical margins around block elements. - */ - -p { margin: 1em 0; } /* Normal ("loose") paragraphs */ -li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */ - -/* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */ -/* li ul, li ol, li dl, -dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */ - -/* Normal ("loose") list elements */ -li.tightenable { margin: 1em 0; } -dt.tightenable { margin-top: 1em; } -dd.tightenable { margin-bottom: 1.5ex; } - - -li.tightenable.top, -dt.tightenable.top, -dd.tightenable.top { - margin-top: 0.2ex; -} -li li.tightenable.top { - margin-top: 0; -} -li.tightenable.bottom, -dd.tightenable.bottom { - margin-bottom: 0.2ex; -} -li li.tightenable.bottom { - margin-bottom: 0; -} - -.tightenable.top { - margin-top: 0; -} -.tightenable.bottom { - margin-bottom: 0; -} - -/* * "DL tables" */ .wiki-dl-table { @@ -707,12 +667,6 @@ border-left: none; border-right: none; } -.wiki-dl-table tr.tightenable.top { - border-top: 1px #444 solid; -} -.wiki-dl-table tr.tightenable.bottom { - border-bottom: 1px #444 solid; -} .wiki-dl-table th, .wiki-dl-table td { padding: 0.25em 0.5em; Modified: trunk/themes/default/phpwiki.css =================================================================== --- trunk/themes/default/phpwiki.css 2009-01-21 09:18:16 UTC (rev 6423) +++ trunk/themes/default/phpwiki.css 2009-01-21 09:35:42 UTC (rev 6424) @@ -681,48 +681,7 @@ padding-left: 1em; } - /* - * Vertical margins around block elements. - */ - -p { margin: 1em 0; } /* Normal ("loose") paragraphs */ -li p, dd p, td p { margin: 1ex 0; } /* Paragraphs within lists are a little tighter. */ - -/* ul, ol, dl { margin: 0.2ex 0; } /* A little room around lists. */ -/* li ul, li ol, li dl, -dd ul, dd ol, dd dl { margin: 0 0; } /* but not around sub-lists. */ - -/* Normal ("loose") list elements */ -li.tightenable { margin: 1em 0; } -dt.tightenable { margin-top: 1em; } -dd.tightenable { margin-bottom: 1.5ex; } - - -li.tightenable.top, -dt.tightenable.top, -dd.tightenable.top { - margin-top: 0.2ex; -} -li li.tightenable.top { - margin-top: 0; -} -li.tightenable.bottom, -dd.tightenable.bottom { - margin-bottom: 0.2ex; -} -li li.tightenable.bottom { - margin-bottom: 0; -} - -.tightenable.top { - margin-top: 0; -} -.tightenable.bottom { - margin-bottom: 0; -} - -/* * "DL tables" */ .wiki-dl-table { @@ -735,12 +694,6 @@ border-left: none; border-right: none; } -.wiki-dl-table tr.tightenable.top { - border-top: 1px #444 solid; -} -.wiki-dl-table tr.tightenable.bottom { - border-bottom: 1px #444 solid; -} .wiki-dl-table th, .wiki-dl-table td { padding: 0.25em 0.5em; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |