svn: /pear2/sandbox/pear2.php.net/trunk/www/ css/categories.css css/category.css templates/pear2/html/Categories.tpl.php templates/pear2/html/Category.tpl.php
[email protected] (Michael Gauthier)
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
gauthierm Tue, 22 Jun 2010 21:06:20 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300678
Log:
Make top-margin of category list and category page consistent with package details.
Changed paths:
U pear2/sandbox/pear2.php.net/trunk/www/css/categories.css
U pear2/sandbox/pear2.php.net/trunk/www/css/category.css
U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Categories.tpl.php
U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Category.tpl.php
Modified: pear2/sandbox/pear2.php.net/trunk/www/css/categories.css
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/css/categories.css 2010-06-22 20:58:21 UTC (rev 300677)
+++ pear2/sandbox/pear2.php.net/trunk/www/css/categories.css 2010-06-22 21:06:20 UTC (rev 300678)
@@ -12,6 +12,10 @@
float: left;
}
+.view-categories #categories {
+ margin-top: 0;
+}
+
/* }}} */
/* {{{ Category list */
Modified: pear2/sandbox/pear2.php.net/trunk/www/css/category.css
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/css/category.css 2010-06-22 20:58:21 UTC (rev 300677)
+++ pear2/sandbox/pear2.php.net/trunk/www/css/category.css 2010-06-22 21:06:20 UTC (rev 300678)
@@ -6,6 +6,13 @@
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @author Michael Gauthier <[email protected]>
*/
+/* {{{ Layout */
+
+.view-category #category-packages {
+ margin-top: 0;
+}
+
+/* }}} */
/* {{{ Category package count */
#categories h2 span {
Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Categories.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Categories.tpl.php 2010-06-22 20:58:21 UTC (rev 300677)
+++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Categories.tpl.php 2010-06-22 21:06:20 UTC (rev 300678)
@@ -7,7 +7,7 @@
$packagesPerCategory = 4;
?>
- <div class="package-list pearbox">
+ <div id="categories" class="package-list pearbox">
<div class="pearbox-header">
<h2>Packages</h2>
<?php echo $savant->render(null, 'SearchForm.tpl.php'); ?>
Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Category.tpl.php
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Category.tpl.php 2010-06-22 20:58:21 UTC (rev 300677)
+++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Category.tpl.php 2010-06-22 21:06:20 UTC (rev 300678)
@@ -5,7 +5,7 @@
?>
- <div id="categories" class="pearbox">
+ <div id="category-packages" class="pearbox">
<div class="pearbox-header">
<h2>
<a href="<?php echo PEAR2\SimpleChannelFrontend\Main::getURL(); ?>categories/">Packages</a>