Paladox has uploaded a new change for review. https://gerrit.wikimedia.org/r/203768
Change subject: Improvements to Metrolook on MediaWiki 1.21 ...................................................................... Improvements to Metrolook on MediaWiki 1.21 Change-Id: I716822dfc9a67d4afb51026cd108435cd318d4f2 --- M README.md M js/metrolook.js M mobile.css 3 files changed, 4 insertions(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Metrolook refs/changes/68/203768/1 diff --git a/README.md b/README.md index b23c299..3197779 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ ## Mobile desgn -Mobile desgn now included in the latest release for Mediawiki 1.21 and MediaWiki 1.24+. Mobile desgn for MediaWiki 1.23 and 1.22 coming soon. Also to get mobile desgn please download Metrolook release 2.5 or 3.0 beta 16 or higher please. +Mobile desgn now included in the latest release for Mediawiki 1.21+. Also to get mobile desgn please download Metrolook release 0.2.0, 0.3.10, 1.4, 2.5 or 3.0 beta 16 or higher please. And please report feedback in the issues tab. And if you could help fix the problem and or improve the desgn please open and pull task. @@ -216,8 +216,6 @@ ## Comming soon Note plans may change. - -Mobile desgn for MediaWiki 1.23. ## Version diff --git a/js/metrolook.js b/js/metrolook.js index db4fdd8..439da37 100644 --- a/js/metrolook.js +++ b/js/metrolook.js @@ -17,7 +17,7 @@ $(document).ready(function() { if(is_touch_device()) { - if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { + if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|CriOS|Opera Mini|Mobile|mobile/i.test(navigator.userAgent) ) { $( '#usermenu > div' ).toggleClass( 'no-js js' ); $( '#usermenu .js div' ).hide(); $( '#usermenu .js' ).click(function(e) { @@ -38,7 +38,7 @@ $(function () { if(is_touch_device()) { - if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { + if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|CriOS|Opera Mini|Mobile|mobile/i.test(navigator.userAgent) ) { $( '.actionmenu > div' ).toggleClass('no-js js'); $( '.actionmenu .js div' ).hide(); $( '.actionmenu .js' ).click(function(e) { @@ -87,7 +87,7 @@ $(function () { if(is_touch_device()) { - if( /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { + if( /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|CriOS|Opera Mini|Mobile|mobile/i.test(navigator.userAgent) ) { $( '#p-search' ).hide(); $( 'img.searchbar' ).click(function(e) { $( '#p-search' ).fadeToggle(150); diff --git a/mobile.css b/mobile.css index 5207276..571a5c5 100644 --- a/mobile.css +++ b/mobile.css @@ -529,7 +529,6 @@ div.actionmenu ul { position: fixed; - border: 0; border-top: solid 2px #CF8B54; margin-left: 0; bottom: 40px; -- To view, visit https://gerrit.wikimedia.org/r/203768 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I716822dfc9a67d4afb51026cd108435cd318d4f2 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/Metrolook Gerrit-Branch: REL1_21 Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits