From: <var...@us...> - 2017-10-12 11:04:56
|
Revision: 10055 http://sourceforge.net/p/phpwiki/code/10055 Author: vargenau Date: 2017-10-12 11:04:53 +0000 (Thu, 12 Oct 2017) Log Message: ----------- Factor CSS in themes/default/phpwiki-common.css Modified Paths: -------------- trunk/themes/Crao/crao.css trunk/themes/Hawaiian/Hawaiian.css trunk/themes/MacOSX/MacOSX.css trunk/themes/MonoBook/monobook.css trunk/themes/MonoBook/templates/body.tmpl trunk/themes/MonoBook/templates/browse-footer.tmpl trunk/themes/Portland/portland.css trunk/themes/Sidebar/sidebar.css trunk/themes/Sidebar/templates/body.tmpl trunk/themes/Sidebar/templates/dump-footer.tmpl trunk/themes/SpaceWiki/SpaceWiki.css trunk/themes/Wordpress/Wordpress.css trunk/themes/blog/Kubrick.css trunk/themes/default/phpwiki.css trunk/themes/fusionforge/fusionforge.css trunk/themes/shamino_com/shamino_com.css trunk/themes/wikilens/wikilens.css Added Paths: ----------- trunk/themes/default/phpwiki-common.css Modified: trunk/themes/Crao/crao.css =================================================================== --- trunk/themes/Crao/crao.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/Crao/crao.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -5,6 +5,8 @@ * */ +@import url(../default/phpwiki-common.css); + /* ****************************** *****GENERIC @@ -62,56 +64,6 @@ margin-bottom: 1em; } -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ /* @@ -1167,75 +1119,3 @@ margin: 1ex 0; padding: 0.5ex 0.5em; } - -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/Hawaiian/Hawaiian.css =================================================================== --- trunk/themes/Hawaiian/Hawaiian.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/Hawaiian/Hawaiian.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -7,6 +7,8 @@ * used to reference the various CalendarPlugin elements. */ +@import url(../default/phpwiki-common.css); + /** * General */ @@ -39,56 +41,6 @@ margin-bottom: .5ex; } -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ /** @@ -384,10 +336,6 @@ empty-cells: hide; } -/* Month-name & arrows area */ -table.cal thead { -} - table.cal table.cal-header td { padding-top: 110px; } @@ -541,12 +489,10 @@ margin: 1ex 0; padding: 0.5ex 0.5em; border: medium solid #d8caae; + background-image: url("images/tchecker-sand.png"); + background-repeat: repeat; } -.clear-floats { - clear: both; -} - /** * Search Results */ @@ -594,83 +540,3 @@ left: 0.5em; top: 0; } - -/** - * Other - */ -.debug { - background-image: url("images/tchecker-sand.png"); - background-repeat: repeat; -} - -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/MacOSX/MacOSX.css =================================================================== --- trunk/themes/MacOSX/MacOSX.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/MacOSX/MacOSX.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -1,3 +1,5 @@ +@import url(../default/phpwiki-common.css); + /* Classes: @@ -72,56 +74,6 @@ margin-right: 0.5em; } -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ /** @@ -598,10 +550,6 @@ font-weight: normal; } -.clear-floats { - clear: both; -} - dl { display: table; } @@ -746,14 +694,6 @@ /* * wikiblog */ -.floatleft { - float: left; -} - -.floatright { - float: right; -} - div.wikiblog { margin: 1ex 2em; padding: 0 0; @@ -1133,75 +1073,3 @@ padding-left: 0.5ex; padding-right: 0.5ex; } - -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/MonoBook/monobook.css =================================================================== --- trunk/themes/MonoBook/monobook.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/MonoBook/monobook.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -11,6 +11,8 @@ ** by Jeff Dairiki */ +@import url(../default/phpwiki-common.css); + #column-content { width: 100%; float: right; @@ -54,10 +56,6 @@ padding: 0; } -.visualClear { - clear: both; -} - /* general styles */ table { @@ -247,56 +245,6 @@ line-height: 1.1em; } -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ /* @@ -1849,47 +1797,6 @@ margin-left: -0.6em; } -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - /* RecentChanges plugin =============================================== */ td.tdselected, td.tdunselected { @@ -1935,13 +1842,6 @@ padding: 0.2em; } -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - /* IncludePage plugin ================================================= */ .transclusion-title { @@ -1980,27 +1880,3 @@ margin-top: 1ex; margin-bottom: 1ex; } - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/MonoBook/templates/body.tmpl =================================================================== --- trunk/themes/MonoBook/templates/body.tmpl 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/MonoBook/templates/body.tmpl 2017-10-12 11:04:53 UTC (rev 10055) @@ -10,7 +10,7 @@ <?php echo $CONTENT ?> <?php // end content ?> - <div class="visualClear"></div> + <div class="clear-floats"></div> </div> </main> </div> Modified: trunk/themes/MonoBook/templates/browse-footer.tmpl =================================================================== --- trunk/themes/MonoBook/templates/browse-footer.tmpl 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/MonoBook/templates/browse-footer.tmpl 2017-10-12 11:04:53 UTC (rev 10055) @@ -1,6 +1,6 @@ <footer role="contentinfo"> <?php // <hr class="printer" /> ?> - <div class="visualClear"></div> + <div class="clear-floats"></div> <div id="f-poweredbyico"><a href="http://www.phpwiki.fr/"><img src="<?php echo $WikiTheme->getImageURL("poweredby_phpwiki_51x31.png") ?>" alt="Powered by PhpWiki" /></a></div> <ul id="f-list"> <li id="f-lastmod"> <?php echo $WikiTheme->getOwnerMessage($page) ?> <?php echo $WikiTheme->getLastModifiedMessage($revision) ?> <?php echo $WikiTheme->getAuthorMessage($revision) ?> </li> Modified: trunk/themes/Portland/portland.css =================================================================== --- trunk/themes/Portland/portland.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/Portland/portland.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -4,6 +4,9 @@ * Styles are kept to a minimum, so the page will mostly appear * according to the browser's default font settings. */ + +@import url(../default/phpwiki-common.css); + body { color: black; background: white; @@ -21,60 +24,6 @@ text-align: right; } -.clear-floats { - clear: both; -} - -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ img.toolbar:hover { @@ -147,75 +96,3 @@ padding-bottom: 0; margin: 0.5ex 0; } - -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/Sidebar/sidebar.css =================================================================== --- trunk/themes/Sidebar/sidebar.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/Sidebar/sidebar.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -12,6 +12,8 @@ ** "Edit this page" icon by Helge Fahrnberger */ +@import url(../default/phpwiki-common.css); + #column-content { width: 100%; float: right; @@ -50,10 +52,6 @@ padding: 0; } -.visualClear { - clear: both; -} - /* general styles */ table { @@ -248,56 +246,6 @@ line-height: 1.1em; } -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ /* @@ -1941,54 +1889,6 @@ margin: 0; } -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - /* RecentChanges plugin =============================================== */ td.tdselected, td.tdunselected { @@ -2021,27 +1921,3 @@ border-color: green; padding: 0.5em; } - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/Sidebar/templates/body.tmpl =================================================================== --- trunk/themes/Sidebar/templates/body.tmpl 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/Sidebar/templates/body.tmpl 2017-10-12 11:04:53 UTC (rev 10055) @@ -6,7 +6,7 @@ <?php echo Template('top') ?> <div id="bodyContent"> <?php echo $CONTENT ?> - <div class="visualClear"></div> + <div class="clear-floats"></div> </div> </main> </div> Modified: trunk/themes/Sidebar/templates/dump-footer.tmpl =================================================================== --- trunk/themes/Sidebar/templates/dump-footer.tmpl 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/Sidebar/templates/dump-footer.tmpl 2017-10-12 11:04:53 UTC (rev 10055) @@ -2,7 +2,7 @@ if (empty($revision)) $revision = $page->getCurrentRevision(); ?> <hr class="printer" /> -<div class="visualClear"></div> +<div class="clear-floats"></div> <div><?php echo $WikiTheme->getOwnerMessage($page) ?> <?php echo $WikiTheme->getLastModifiedMessage($revision) ?> <?php echo $WikiTheme->getAuthorMessage($revision) ?><br /> This page was accessed <?php echo $page->get('hits') ?> times, and edited <?php echo $revision->getVersion() ?> times.</div> Modified: trunk/themes/SpaceWiki/SpaceWiki.css =================================================================== --- trunk/themes/SpaceWiki/SpaceWiki.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/SpaceWiki/SpaceWiki.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -18,6 +18,8 @@ * #ff7e00; orange */ +@import url(../default/phpwiki-common.css); + /** * General */ @@ -70,56 +72,6 @@ color: #5791ff; } -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ /** @@ -723,10 +675,6 @@ display: table; } -.clear-floats { - clear: both; -} - /** * Search Results */ @@ -974,75 +922,3 @@ padding: 2px; margin: 1px; } - -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/Wordpress/Wordpress.css =================================================================== --- trunk/themes/Wordpress/Wordpress.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/Wordpress/Wordpress.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -13,56 +13,8 @@ Please tweak this and make it your own. :) */ -/* generic classes ----------------------------------------------- */ +@import url(../default/phpwiki-common.css); -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ /* This stuff was copied straight out of portland.css */ @@ -695,14 +647,6 @@ /* * wikiblog */ -.floatleft { - float: left; -} - -.floatright { - float: right; -} - div.wikiblog { margin: 1ex 2em; padding: 0 0; @@ -810,10 +754,6 @@ margin: 1em 0 0.5em 0; } -.clear-floats { - clear: both; -} - /* postnuke css:*/ .gensmall { font-size: 10px @@ -1010,75 +950,3 @@ padding: .2em; vertical-align: top; } - -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/blog/Kubrick.css =================================================================== --- trunk/themes/blog/Kubrick.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/blog/Kubrick.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -6,6 +6,8 @@ This is a work in progress - some of the original CSS may need collapsing */ +@import url(../default/phpwiki-common.css); + body { margin: 20px auto; padding: 0; @@ -188,56 +190,7 @@ border-bottom: 1px solid #ddd; } -/* generic classes ----------------------------------------------- */ -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ small { @@ -935,75 +888,3 @@ padding: .2em; vertical-align: top; } - -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Added: trunk/themes/default/phpwiki-common.css =================================================================== --- trunk/themes/default/phpwiki-common.css (rev 0) +++ trunk/themes/default/phpwiki-common.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -0,0 +1,133 @@ +/* generic classes ----------------------------------------------- */ + +.tt { + font-family: monospace; +} + +.strike { + text-decoration: line-through; +} + +.big { + font-size: larger; +} + +.align-left { + text-align: left; +} + +.align-right { + text-align: right; +} + +.align-center { + text-align: center; +} + +.top { + vertical-align: top; +} + +.bottom { + vertical-align: bottom; +} + +.middle { + vertical-align: middle; +} + +.baseline { + vertical-align: baseline; +} + +.nowrap { + white-space: nowrap; +} + +.fullwidth { + width: 100%; +} + +.floatleft { + float: left; +} + +.floatright { + float: right; +} + +.clear-floats { + clear: both; +} + +/* Transclude plugin ================================================== */ + +.transclude { + margin: 0; + width: 100%; +} + +/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ + +/* + * table class="boxed" + * will put a border around the table (but not around the cells) + * + * table class="bordered" + * will put a border around the table and the cells + * + * In both cases, the caption will be bold and centered under the table + * + * In both cases, the headers (th) will have a "#d8d8d8" background + */ + +table.boxed, table.bordered, table.bordered th, table.bordered td { + border-width: 1px; + border-style: solid; + border-collapse: collapse; + vertical-align: top; +} + +table.boxed td, table.bordered td, +table.boxed th, table.bordered th { + padding-left: 5px; + padding-right: 5px; + padding-top: 0; + padding-bottom: 0; +} + +table.boxed caption, table.bordered caption { + text-align: center; + font-weight: bold; + caption-side: bottom; + padding-top: 0.8em; +} + +table.boxed th, table.bordered th { + font-weight: bold; + background-color: #d8d8d8; +} + +table.sortable th.header { + background-image: url(../default/buttons/sort_none.gif); + cursor: pointer; + background-repeat: no-repeat; + background-position: center right; + padding-right: 20px; +} + +table.sortable th.headerSortUp { + background-image: url(../default/buttons/sort_up.gif); + cursor: pointer; + background-repeat: no-repeat; + background-position: center right; + padding-right: 20px; +} + +table.sortable th.headerSortDown { + background-image: url(../default/buttons/sort_down.gif); + cursor: pointer; + background-repeat: no-repeat; + background-position: center right; + padding-right: 20px; +} Modified: trunk/themes/default/phpwiki.css =================================================================== --- trunk/themes/default/phpwiki.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/default/phpwiki.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -7,6 +7,8 @@ * used to reference the various CalendarPlugin elements. */ +@import url(phpwiki-common.css); + /** * General */ @@ -30,56 +32,6 @@ margin-bottom: .5ex; } -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ /** @@ -743,14 +695,6 @@ /* * wikiblog */ -.floatleft { - float: left; -} - -.floatright { - float: right; -} - div.wikiblog { margin: 1ex 2em; padding: 0 0; @@ -859,10 +803,6 @@ margin: 1em 0 0.5em 0; } -.clear-floats { - clear: both; -} - /* postnuke css:*/ .gensmall { font-size: 10px @@ -1172,79 +1112,7 @@ padding-right: 1px; } -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - #edit-public, h1.firstHeading-public, h1.firstHeading-rating-public { background-color: #ffce7b; border: 1px solid #ffa500; } - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/fusionforge/fusionforge.css =================================================================== --- trunk/themes/fusionforge/fusionforge.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/fusionforge/fusionforge.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -41,6 +41,8 @@ * ALONE BASIS." */ +@import url(../default/phpwiki-common.css); + /** * General */ @@ -166,30 +168,6 @@ display: inline-block; } -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - /** * Wiki Forms * @@ -196,7 +174,6 @@ * The div inside the wikiadmin upload form does not * have a class yet, so it must be referenced indirectly */ -/* div.wikiaction, div.wikiadmin { */ div.wikiaction, form.wikiadmin div { border: 1px solid #96a2ae; border-right-color: #d8d8e7; @@ -653,7 +630,6 @@ border: 1px solid #494f5d; border-right-color: #c6d2de; border-bottom-color: #c6d2de; - padding: 0; clear: both; } @@ -927,14 +903,6 @@ /* * wikiblog */ -.floatleft { - float: left; -} - -.floatright { - float: right; -} - div.wikiblog { margin: 1ex 2em; padding: 0 0; @@ -1042,10 +1010,6 @@ margin: 1em 0 0.5em 0; } -.clear-floats { - clear: both; -} - /* postnuke css:*/ .gensmall { font-size: 10px @@ -1208,50 +1172,6 @@ font-style: italic; } -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border: 1px solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding: 0 5px; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - /* BoxRight plugin ==================================================== */ div.boxright { Modified: trunk/themes/shamino_com/shamino_com.css =================================================================== --- trunk/themes/shamino_com/shamino_com.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/shamino_com/shamino_com.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -2,6 +2,9 @@ * shamino.com style sheet based on the original Wiki * */ + +@import url(../default/phpwiki-common.css); + body { font-family: sans-serif; font-weight: normal; @@ -148,56 +151,6 @@ text-decoration: underline } -/* generic classes ----------------------------------------------- */ - -.tt { - font-family: monospace; -} - -.strike { - text-decoration: line-through; -} - -.big { - font-size: larger; -} - -.align-left { - text-align: left; -} - -.align-right { - text-align: right; -} - -.align-center { - text-align: center; -} - -.top { - vertical-align: top; -} - -.bottom { - vertical-align: bottom; -} - -.middle { - vertical-align: middle; -} - -.baseline { - vertical-align: baseline; -} - -.nowrap { - white-space: nowrap; -} - -.fullwidth { - width: 100%; -} - /* --------------------------------------------------------------- */ .main { @@ -353,75 +306,3 @@ padding-bottom: 0; margin: 0.5ex 0; } - -/* Transclude plugin ================================================== */ - -.transclude { - margin: 0; - width: 100%; -} - -/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */ - -/* - * table class="boxed" - * will put a border around the table (but not around the cells) - * - * table class="bordered" - * will put a border around the table and the cells - * - * In both cases, the caption will be bold and centered under the table - * - * In both cases, the headers (th) will have a "#d8d8d8" background - */ - -table.boxed, table.bordered, table.bordered th, table.bordered td { - border-width: 1px; - border-style: solid; - border-collapse: collapse; - vertical-align: top; -} - -table.boxed td, table.bordered td, -table.boxed th, table.bordered th { - padding-left: 5px; - padding-right: 5px; - padding-top: 0; - padding-bottom: 0; -} - -table.boxed caption, table.bordered caption { - text-align: center; - font-weight: bold; - caption-side: bottom; - padding-top: 0.8em; -} - -table.boxed th, table.bordered th { - font-weight: bold; - background-color: #d8d8d8; -} - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} Modified: trunk/themes/wikilens/wikilens.css =================================================================== --- trunk/themes/wikilens/wikilens.css 2017-10-11 16:21:26 UTC (rev 10054) +++ trunk/themes/wikilens/wikilens.css 2017-10-12 11:04:53 UTC (rev 10055) @@ -44,27 +44,3 @@ img.toolbar:hover { cursor: pointer; } - -table.sortable th.header { - background-image: url(../default/buttons/sort_none.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortUp { - background-image: url(../default/buttons/sort_up.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} - -table.sortable th.headerSortDown { - background-image: url(../default/buttons/sort_down.gif); - cursor: pointer; - background-repeat: no-repeat; - background-position: center right; - padding-right: 20px; -} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |