Slightly increased size of pagination buttons
authorMarcel Werk <burntime@woltlab.com>
Tue, 23 Aug 2016 13:46:21 +0000 (15:46 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 23 Aug 2016 13:46:26 +0000 (15:46 +0200)
wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Pagination.js
wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php
wcfsetup/install/files/style/ui/pagination.scss

index a392f276468f5fd05af8e0b1234053643f3f5848..dff0ba7651897fd2964aea63e8c15a42d2aed4bb 100644 (file)
@@ -59,7 +59,7 @@ define(['Core', 'Language', 'ObjectMap', 'StringUtil', 'WoltLabSuite/Core/Ui/Pag
                        listItem.className = 'skip';
                        list.appendChild(listItem);
                        
-                       var iconClassNames = 'icon icon16 fa-chevron-left';
+                       var iconClassNames = 'icon icon24 fa-chevron-left';
                        if (this._options.activePage > 1) {
                                link = elCreate('a');
                                link.className = iconClassNames + ' jsTooltip';
@@ -157,7 +157,7 @@ define(['Core', 'Language', 'ObjectMap', 'StringUtil', 'WoltLabSuite/Core/Ui/Pag
                        listItem.className = 'skip';
                        list.appendChild(listItem);
                        
-                       iconClassNames = 'icon icon16 fa-chevron-right';
+                       iconClassNames = 'icon icon24 fa-chevron-right';
                        if (this._options.activePage < this._options.maxPage) {
                                link = elCreate('a');
                                link.className = iconClassNames + ' jsTooltip';
index 2c3482efae5d7c562378d70e4e62ca085c4d231b..19c753a485a11f7417c97c65f3042be89af4e517 100644 (file)
@@ -74,10 +74,10 @@ class PagesFunctionTemplatePlugin implements IFunctionTemplatePlugin {
         */
        protected function makePreviousLink($link, $pageNo) {
                if ($pageNo > 1) {
-                       return '<li class="skip"><a href="'.self::insertPageNumber($link, $pageNo - 1).'" title="'.WCF::getLanguage()->getDynamicVariable('wcf.global.page.previous').'" class="icon icon16 fa-chevron-left jsTooltip"></a></li>'."\n";
+                       return '<li class="skip"><a href="'.self::insertPageNumber($link, $pageNo - 1).'" title="'.WCF::getLanguage()->getDynamicVariable('wcf.global.page.previous').'" class="icon icon24 fa-chevron-left jsTooltip"></a></li>'."\n";
                }
                else {
-                       return '<li class="skip disabled"><span class="icon icon16 fa-chevron-left"></span></li>'."\n";
+                       return '<li class="skip disabled"><span class="icon icon24 fa-chevron-left"></span></li>'."\n";
                }
        }
        
@@ -91,10 +91,10 @@ class PagesFunctionTemplatePlugin implements IFunctionTemplatePlugin {
         */
        protected function makeNextLink($link, $pageNo, $pages) {
                if ($pageNo && $pageNo < $pages) {
-                       return '<li class="skip"><a href="'.self::insertPageNumber($link, $pageNo + 1).'" title="'.WCF::getLanguage()->getDynamicVariable('wcf.global.page.next').'" class="icon icon16 fa-chevron-right jsTooltip"></a></li>'."\n";
+                       return '<li class="skip"><a href="'.self::insertPageNumber($link, $pageNo + 1).'" title="'.WCF::getLanguage()->getDynamicVariable('wcf.global.page.next').'" class="icon icon24 fa-chevron-right jsTooltip"></a></li>'."\n";
                }
                else {
-                       return '<li class="skip disabled"><span class="icon icon16 fa-chevron-right"></span></li>'."\n";
+                       return '<li class="skip disabled"><span class="icon icon24 fa-chevron-right"></span></li>'."\n";
                }
        }
        
index e1858af4cfcc3bd0022452f3bc261a6f3c37e7fd..7561eba7c648ee1da2bc72151f81e17aea796b8e 100644 (file)
                &:not(:last-child) {
                        margin-right: 1px;
                }
+               
+               &:not(.skip) {
+                       > a,
+                       > span {
+                               padding: 4px 8px;
+                       }
+               }
        }
 }