From: Marcel Werk Date: Tue, 23 Aug 2016 13:46:21 +0000 (+0200) Subject: Slightly increased size of pagination buttons X-Git-Tag: 3.0.0_Beta_1~569 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=22d06c7abe7ad7f4a4d5b0e59f852f3fa22c69db;p=GitHub%2FWoltLab%2FWCF.git Slightly increased size of pagination buttons --- diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Pagination.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Pagination.js index a392f27646..dff0ba7651 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Pagination.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Pagination.js @@ -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'; diff --git a/wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php index 2c3482efae..19c753a485 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/PagesFunctionTemplatePlugin.class.php @@ -74,10 +74,10 @@ class PagesFunctionTemplatePlugin implements IFunctionTemplatePlugin { */ protected function makePreviousLink($link, $pageNo) { if ($pageNo > 1) { - return ''."\n"; + return ''."\n"; } else { - return ''."\n"; + return ''."\n"; } } @@ -91,10 +91,10 @@ class PagesFunctionTemplatePlugin implements IFunctionTemplatePlugin { */ protected function makeNextLink($link, $pageNo, $pages) { if ($pageNo && $pageNo < $pages) { - return ''."\n"; + return ''."\n"; } else { - return ''."\n"; + return ''."\n"; } } diff --git a/wcfsetup/install/files/style/ui/pagination.scss b/wcfsetup/install/files/style/ui/pagination.scss index e1858af4cf..7561eba7c6 100644 --- a/wcfsetup/install/files/style/ui/pagination.scss +++ b/wcfsetup/install/files/style/ui/pagination.scss @@ -35,5 +35,12 @@ &:not(:last-child) { margin-right: 1px; } + + &:not(.skip) { + > a, + > span { + padding: 4px 8px; + } + } } }