diff options
| author | Cesar G <prototech91@gmail.com> | 2014-05-16 15:27:06 -0700 |
|---|---|---|
| committer | Cesar G <prototech91@gmail.com> | 2014-05-27 07:17:47 -0700 |
| commit | 3106306a4d2af24ff37097fc337c4e351ba7c0a9 (patch) | |
| tree | 05203b6a02c994ded274f278d77dcad3a05384ff /phpBB/styles/prosilver | |
| parent | 84fd96527218336b951e6a5a90bb024038331b76 (diff) | |
| download | forums-3106306a4d2af24ff37097fc337c4e351ba7c0a9.tar forums-3106306a4d2af24ff37097fc337c4e351ba7c0a9.tar.gz forums-3106306a4d2af24ff37097fc337c4e351ba7c0a9.tar.bz2 forums-3106306a4d2af24ff37097fc337c4e351ba7c0a9.tar.xz forums-3106306a4d2af24ff37097fc337c4e351ba7c0a9.zip | |
[ticket/12155] Make the buttons bigger on touch devices.
PHPBB3-12155
Diffstat (limited to 'phpBB/styles/prosilver')
| -rw-r--r-- | phpBB/styles/prosilver/template/forum_fn.js | 2 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/overall_header.html | 2 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/theme/buttons.css | 4 |
3 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 87754269cd..8ca8d82cae 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -919,6 +919,8 @@ function parse_document(container) $(document).ready(function() { // Swap .nojs and .hasjs $('#phpbb.nojs').toggleClass('nojs hasjs'); + $('#phpbb').toggleClass('hastouch', phpbb.isTouch); + $('#phpbb.hastouch').removeClass('notouch'); // Focus forms $('form[data-focus]:first').each(function() { diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index 8c63ce9cea..d18fff6bb0 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -52,7 +52,7 @@ {$STYLESHEETS} </head> -<body id="phpbb" class="nojs section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}"> +<body id="phpbb" class="nojs notouch section-{SCRIPT_NAME} {S_CONTENT_DIRECTION} {BODY_CLASS}"> <!-- EVENT overall_header_body_before --> diff --git a/phpBB/styles/prosilver/theme/buttons.css b/phpBB/styles/prosilver/theme/buttons.css index 0112caa6db..b7896a99b0 100644 --- a/phpBB/styles/prosilver/theme/buttons.css +++ b/phpBB/styles/prosilver/theme/buttons.css @@ -170,6 +170,10 @@ ul.linklist.bulletin li.small-icon:before { text-indent: -9999px; } +.hastouch .post-buttons .icon-button { + padding: 2px 8px; +} + .post-buttons span { float: none; margin-right: 0; |
