Paladox has uploaded a new change for review. https://gerrit.wikimedia.org/r/193656
Change subject: Preview 3 of metrolook ...................................................................... Preview 3 of metrolook * Improvements to ipad desgn. * Bug fixes. * Improvement to mobile desgn Please see changelog for more details and README.md. Change-Id: I64b67359af448484bba862d8adc8e3974daf44fe --- M CHANGELOG.md M Metrolook.php M MetrolookTemplate.php M README.md M components/collapsibleNav.less M components/common.less M components/mobile.less M components/navigation.less M components/search.less M images/closed-ltr.svg M images/closed-rtl.svg M images/downarrow.svg M images/open.svg M images/uploadlogo.svg M js/metrolook.js M screen-hd.less A skinStyles/mediawiki.sectionAnchor.less M variables.less 18 files changed, 242 insertions(+), 145 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Metrolook refs/changes/56/193656/1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 954285f..0b77e31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ Changelog ========= +<<<<<<< HEAD +<<<<<<< HEAD + +======= +>>>>>>> Testing new release +======= ### 3.0 beta 16 Big release with new desgn for mobile and minor improvements to desktop desgn. @@ -9,9 +15,7 @@ Bump required mediawiki version to mediawiki 1.25 wmf 18 - Mainly new features and desgn are - * Mobile desgn (This is a preview of mobile desgn please report bug in issue section and fix bugs if you know how to thanks. and please also suggest improvements to the desktop and mobile desgn.) @@ -69,7 +73,14 @@ * Fixes for desktop desgn. +Revision 5 +Improvements to ipad desgn. + +* Bug fixes. + + +>>>>>>> Revison 3 of new release ### 3.0 beta 15 * Adding copying file for license. diff --git a/Metrolook.php b/Metrolook.php index f0d14d4..16c7368 100644 --- a/Metrolook.php +++ b/Metrolook.php @@ -156,6 +156,7 @@ 'jquery.ui.tabs' => 'skinStyles/jquery.ui/jquery.ui.tabs.css', 'jquery.ui.tooltips' => 'skinStyles/jquery.ui/jquery.ui.tooltips.css', 'mediawiki.notification' => 'skinStyles/mediawiki.notification.less', + '+mediawiki.sectionAnchor' => 'skinStyles/mediawiki.sectionAnchor.less', 'mediawiki.special' => 'skinStyles/mediawiki.special.less', 'mediawiki.special.preferences' => 'skinStyles/mediawiki.special.preferences.less', 'remoteSkinPath' => 'Metrolook', diff --git a/MetrolookTemplate.php b/MetrolookTemplate.php index 629a881..0982aab 100644 --- a/MetrolookTemplate.php +++ b/MetrolookTemplate.php @@ -318,20 +318,20 @@ <?php if ( $wgMetrolookUploadButton ): ?><a href="<?php echo $this->data['nav_urls']['upload']['href']; ?>"><div class="onhoverbg" style="padding-left:0.8em;padding-right:0.8em;float:left;height:40px;font-size:10pt;"><img class="uploadbutton" src="<?php echo htmlspecialchars( $this->getSkin()->getSkinStylePath( 'images/Transparent.gif' ) ) ?>" /> <span style="color:#fff;position:relative;top:3px; "><?php $this->msg('uploadbtn') ?></span></div></a><?php else: ?><?php endif; ?><?php $this->renderNavigation( array( 'NAMESPACES', 'VARIANTS', 'VIEWS', 'ACTIONS' ) ); ?> </div> - <div id="editbutton"><img class="editbutton" src="<?php echo htmlspecialchars( $this->getSkin()->getSkinStylePath( 'images/Transparent.gif' ) ) ?>" ></img></div> + <div id="editbutton"><img class="editbutton" src="<?php echo htmlspecialchars( $this->getSkin()->getSkinStylePath( 'images/Transparent.gif' ) ) ?>" /></div> <?php if ( $wgMetrolookSearchBar ): ?> - <img class="searchbar" src="<?php echo htmlspecialchars( $this->getSkin()->getSkinStylePath( 'images/Transparent.gif' ) ) ?>" ></img> + <img class="searchbar" src="<?php echo htmlspecialchars( $this->getSkin()->getSkinStylePath( 'images/Transparent.gif' ) ) ?>" /> <?php else: ?> <?php endif; ?> <div id="right-navigation"> <?php if ( $wgMetrolookSearchBar ): ?> <?php $this->renderNavigation( array( 'SEARCH' ) ); ?> - <?php else: ?> <?php endif; ?> </div> </div> + <?php if ( $wgMetrolookSearchBar ): ?> <div id="mw-panel"> <?php if ( $wgMetrolookLogo ): ?> diff --git a/README.md b/README.md index c9d0f71..feb3e63 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,12 @@ |`$wgMetrolookTileN`<br>Where `N` is between 5 to 10. | | `$wgMetrolookTile5 = true;`| `$wgMetrolookTile5 = false;` | |`$wgMetrolookURLN`, `$wgMetrolookImageN`<br>Where `N` is between 1 to 6. | | `$wgMetrolookURL1 = link of website;`<br>`$wgMetrolookImage1 = image link;`| | +## Mobile desgn + +To test out the new mobile desgn please visit https://github.com/paladox/Metrolook/tree/test + +It is in preview meaning there will be bugs and problems. Please report any bugs or suggestion for the desgn. + $wgBartile is now used to disable the default tiles or enable them so you can have the default tiles or set your self one. @@ -77,6 +83,9 @@ and all you need to do is edit background-colour and the top bar should change colour but please remember there is also hover which is when you hover it goes a different colour. ```css + +/* Add your custom theme overrides here */ + /* Top Bar colour and hover colour start */ @import "mediawiki.mixins"; @@ -123,7 +132,7 @@ background-repeat: repeat-x; /* This image is only a fallback (for IE 6-9), so we do not @embed it. */ background-image: url('images/page-fade.png'); - min-width: 67.800em; + min-width: 64.7em; } } @@ -186,7 +195,7 @@ } } -/* Top Bar colour and hover colour end */ +/* Top Bar colour and hover colour */ ``` ## Known Issues @@ -220,23 +229,4 @@ <link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' defer="defer" rel='stylesheet' type='text/css'> <meta name="msapplication-TileImage" content="http://www.pidgi.net/new/public/images/pidgiwiki.png"/> <meta name="msapplication-TileColor" content="#BE0027"/> -``` - -```html -<?php if ( $Logoshow ): ?> - <div id="p-logo" role="banner"> - <a - style="background-image: url(<?php - $this->text( 'logopath' ) - ?>);" - href="<?php - echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] ) - ?>"> - <?php - echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ) - ?> - </a> - </div> - <?php else: ?> -<?php endif; ?> ``` diff --git a/components/collapsibleNav.less b/components/collapsibleNav.less index 0cb663b..ea7dad6 100644 --- a/components/collapsibleNav.less +++ b/components/collapsibleNav.less @@ -9,9 +9,9 @@ h5 { background-position: left center; background-repeat: no-repeat; -/* .background-image-svg('images/arrow-expanded.svg', 'images/arrow-expanded.png'); */ .background-image-svg('images/open.svg', 'images/open.png'); padding: @collapsible-nav-heading-padding; + margin-left: -0.5em; &:hover { cursor: pointer; @@ -67,7 +67,6 @@ color: @collapsible-nav-heading-collapsed-color; background-position: left center; background-repeat: no-repeat; -/* .background-image-svg('images/arrow-collapsed-ltr.svg', 'images/arrow-collapsed-ltr.png'); */ .background-image-svg('images/closed-ltr.svg', 'images/closed-ltr.png'); &:hover { @@ -100,9 +99,9 @@ h5 { background-position: left center; background-repeat: no-repeat; -/* .background-image-svg('images/arrow-expanded.svg', 'images/arrow-expanded.png'); */ .background-image-svg('images/open.svg', 'images/open.png'); padding: @collapsible-nav-heading-padding; + margin-left: -0.5em; &:hover { cursor: pointer; @@ -158,7 +157,6 @@ color: @collapsible-nav-heading-collapsed-color; background-position: left center; background-repeat: no-repeat; -/* .background-image-svg('images/arrow-collapsed-ltr.svg', 'images/arrow-collapsed-ltr.png'); */ .background-image-svg('images/closed-ltr.svg', 'images/closed-ltr.png'); &:hover { diff --git a/components/common.less b/components/common.less index f286deb..43840b7 100644 --- a/components/common.less +++ b/components/common.less @@ -65,10 +65,12 @@ .onhoverbg:hover { background: #9F6F40; } + .topleft { display: inline; position: relative; } + .topright .hover { display: none; position: absolute; @@ -77,18 +79,20 @@ height: 200px; } -img.editbutton { - display: none; -} -#tilegrouptable { +img.editbutton { + display: none; +} + +#tilegrouptable { height: 130px; padding: 0; - border-spacing: 0; -} -#tilegroup { - padding: 35px; + border-spacing: 0; +} + +#tilegroup { + padding: 35px; height: 130px; -} +} /* Content */ .mw-body { @@ -217,6 +221,7 @@ background-repeat: no-repeat; background-position: -0px 20px; } + img.downarrow:hover { position: inherit; background: #9F6F40; diff --git a/components/mobile.less b/components/mobile.less index a4b8916..e991d69 100644 --- a/components/mobile.less +++ b/components/mobile.less @@ -2,24 +2,11 @@ /* different screen sizes */ -@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) { +@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) { img.searchbar { display: none; } - -} - -@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) { - -img.searchbar { - display: none; -} - -} - - -@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) { .mw-body { margin-left: 11em; @@ -34,7 +21,7 @@ height: auto; position: absolute; bottom: 0; - right: -60px; + right: -0.7em; left: 0; top: 40px; overflow: auto; @@ -122,7 +109,7 @@ div#mw-head { position: absolute; top: 0; - min-width: 106%; + min-width: 101%; h5 { margin: 0; @@ -130,9 +117,39 @@ } } +#mw-page-base { + height: 2.5em; + background-color: CF8B54; + background-position: bottom left; + background-repeat: repeat-x; + /* This image is only a fallback (for IE 6-9), so we do not @embed it. */ + background-image: url('images/page-fade.png'); + min-width: 64.7em; +} + +#p-search { + /* @noflip */ + float: left; + margin-right: 0.5em; + margin-left: 0.5em; + + h5 { + display: none; + } + + form, + input { + margin: 0; + margin-top: 0.4em; + } +} + } @media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) { +img.searchbar { + display: none; +} #echoNotifications { float: right; @@ -256,7 +273,6 @@ float: left; margin-right: 0.5em; margin-left: 0.5em; - margin-top: 0; padding-right: 4em; h5 { @@ -269,7 +285,6 @@ margin-top: 0.4em; } } - } @media (max-width: 768px) { @@ -325,7 +340,7 @@ margin: 8px; margin-left: 0em; margin-top: -0; - background-color: #CF8B54; + background-color: #9F6F40; } .tilebar { @@ -369,7 +384,6 @@ float: left; margin-right: 1em; margin-left: 0.5em; - margin-top:0; h5 { display: none; diff --git a/components/navigation.less b/components/navigation.less index 5f7940c..2727993 100644 --- a/components/navigation.less +++ b/components/navigation.less @@ -80,6 +80,7 @@ height: auto; overflow-y: auto; overflow-x: hidden; + -webkit-overflow-scrolling: touch; padding-top: 1em; width: 11em; left: 0; @@ -154,6 +155,7 @@ height: auto; overflow-y: auto; overflow-x: hidden; + -webkit-overflow-scrolling: touch; padding-top: 1em; width: 9.5em; left: 0; @@ -230,6 +232,7 @@ height: auto; overflow-y: auto; overflow-x: hidden; + -webkit-overflow-scrolling: touch; padding-right: 1em; padding-top: 1em; width: 11em; @@ -310,6 +313,7 @@ height: auto; overflow-y: auto; overflow-x: hidden; + -webkit-overflow-scrolling: touch; padding-right: 1em; padding-top: 1em; width: 11em; diff --git a/components/search.less b/components/search.less index 2e4022d..6a266c9 100644 --- a/components/search.less +++ b/components/search.less @@ -2,7 +2,7 @@ #p-search { /* @noflip */ float: left; - margin-right: 0.5em; + margin-right: 3.5em; margin-left: 0.5em; h5 { diff --git a/images/closed-ltr.svg b/images/closed-ltr.svg index 58b647f..604d2fb 100644 --- a/images/closed-ltr.svg +++ b/images/closed-ltr.svg @@ -11,7 +11,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="svg3902" version="1.1" - inkscape:version="0.48.5 r10040" + inkscape:version="0.91 r13725" width="16" height="16" sodipodi:docname="closed-ltr.svg"> @@ -43,28 +43,27 @@ id="namedview3904" showgrid="false" inkscape:zoom="14.75" - inkscape:cx="8" - inkscape:cy="8" + inkscape:cx="-3.8983051" + inkscape:cy="13.169251" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" - inkscape:current-layer="g3940" /> + inkscape:current-layer="svg3902" /> <g id="g3940"> - <path - style="fill:#777777" - d="M 6.2972556,13.21162 8.9686936,10.423239 6.2570741,7.7116195 C 4.3223605,5.776906 3.9867319,5 5.0856361,5 5.9327359,5 7.8368497,6.2640451 9.317,7.8089892 l 2.691182,2.8089888 -2.8088096,2.691011 C 5.398278,16.950669 2.7985841,16.863446 6.2972556,13.21162 z" - id="path3946" - inkscape:connector-curvature="0" /> - <path - style="fill:#6e6e6e" - d="M 6.2972556,13.21162 8.9686936,10.423239 6.2570741,7.7116195 C 4.3030466,5.7575921 3.9793315,5 5.0984132,5 6.7956112,5 11,9.0181278 11,10.640137 11,12.091406 6.6234717,16 4.9984576,16 4.1454639,16 4.6371555,14.944391 6.2972556,13.21162 z" - id="path3944" - inkscape:connector-curvature="0" /> - <path - style="fill:#656565" - d="M 6.825686,13.685549 C 9.539201,10.797144 9.5331108,10.237502 6.7536337,7.0644512 4.9542966,5.0103285 5.1541118,5.0852642 7.7577249,7.4410108 L 11.008182,10.382022 8.317,13.191011 C 6.8368497,14.735955 5.4065673,16 5.1385948,16 4.8706222,16 5.6298133,14.958497 6.825686,13.685549 z" - id="path3942" - inkscape:connector-curvature="0" /> + <g + id="g6344" + transform="matrix(0,-1.0678303,1,0,-1.0513636,17.902182)"> + <path + style="fill:#6e6e6e;fill-opacity:1" + d="M 4.3978226,11.436911 1.875,8.8036522 l 0,-1.2959742 0,-1.295974 2.6141067,2.5044731 2.6141066,2.5044739 2.542143,-2.542144 2.5421437,-2.5421434 0,1.4439202 0,1.4439202 -2.6334272,2.522984 -2.6334275,2.522983 -2.5228227,-2.63326 z" + id="path6350" + inkscape:connector-curvature="0" /> + <path + style="fill:#6e6e6e" + d="M 3.9134194,10.955202 1.875,8.785404 l 0,-1.28685 0,-1.28685 2.6141067,2.5044731 2.6141066,2.5044739 2.542143,-2.542144 2.5421437,-2.5421434 0,1.4558988 0,1.4558988 -2.169798,2.0384198 C 7.278991,13.659466 6.4369175,13.641342 3.9134194,10.955202 Z" + id="path6348" + inkscape:connector-curvature="0" /> + </g> </g> </svg> diff --git a/images/closed-rtl.svg b/images/closed-rtl.svg index 9aa51a2..d65850b 100644 --- a/images/closed-rtl.svg +++ b/images/closed-rtl.svg @@ -11,7 +11,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="svg3912" version="1.1" - inkscape:version="0.48.5 r10040" + inkscape:version="0.91 r13725" width="16" height="16" sodipodi:docname="closed-rtl.svg"> @@ -23,6 +23,7 @@ <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> </cc:Work> </rdf:RDF> </metadata> @@ -42,28 +43,27 @@ id="namedview3914" showgrid="false" inkscape:zoom="14.75" - inkscape:cx="8" + inkscape:cx="-3.8983051" inkscape:cy="8" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" - inkscape:current-layer="g3964" /> + inkscape:current-layer="svg3912" /> <g id="g3964"> - <path - style="fill:#777777" - d="M 6.683,13.191011 3.9918176,10.382022 6.8006276,7.6910108 C 10.601722,4.0493314 13.201416,4.1365543 9.7027444,7.7883805 L 7.0313064,10.576761 9.7429259,13.28838 C 11.677639,15.223094 12.013268,16 10.914364,16 10.067264,16 8.1631503,14.735955 6.683,13.191011 z" - id="path3970" - inkscape:connector-curvature="0" /> - <path - style="fill:#6e6e6e" - d="M 7.174314,13.685549 C 4.429903,10.764257 4.4492346,9.8660453 7.3144512,7.174314 10.772044,3.9260741 13.029094,4.4254515 9.7429259,7.7116195 L 7.0313064,10.423239 9.7027444,13.21162 C 11.598188,15.190036 11.934754,16 10.861405,16 10.029378,16 8.3701867,14.958497 7.174314,13.685549 z" - id="path3968" - inkscape:connector-curvature="0" /> - <path - style="fill:#656565" - d="M 7.683,13.191011 4.9918176,10.382022 8.2422751,7.4410108 C 10.845888,5.0852642 11.045703,5.0103285 9.2463663,7.0644512 6.4668892,10.237502 6.460799,10.797144 9.174314,13.685549 10.370187,14.958497 11.129378,16 10.861405,16 10.593433,16 9.1631503,14.735955 7.683,13.191011 z" - id="path3966" - inkscape:connector-curvature="0" /> + <g + transform="matrix(0,1,-1,0,18.712,2.358)" + id="g6423"> + <path + style="fill:#6e6e6e;fill-opacity:1" + d="M 5.2239464,11.08674 2.53,8.4534812 2.53,7.157507 2.53,5.861533 5.3214223,8.3660061 8.1128446,10.87048 10.827422,8.328336 13.542,5.7861926 l 0,1.4439202 0,1.4439202 -2.812053,2.522984 L 7.9178929,13.72 5.2239464,11.08674 Z" + id="path6350" + inkscape:connector-curvature="0" /> + <path + style="fill:#6e6e6e" + d="M 4.706686,10.605031 2.53,8.435233 l 0,-1.28685 0,-1.28685 L 5.3214223,8.3660061 8.1128446,10.87048 10.827422,8.328336 13.542,5.7861926 l 0,1.4558988 0,1.4558988 -2.316976,2.0384198 C 8.3005453,13.309295 7.4013537,13.291171 4.706686,10.605031 Z" + id="path6348" + inkscape:connector-curvature="0" /> + </g> </g> </svg> diff --git a/images/downarrow.svg b/images/downarrow.svg index ce95300..8536858 100644 --- a/images/downarrow.svg +++ b/images/downarrow.svg @@ -11,7 +11,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="svg2995" version="1.1" - inkscape:version="0.48.5 r10040" + inkscape:version="0.91 r13725" width="28" height="40" sodipodi:docname="downarrow.svg"> @@ -23,7 +23,7 @@ <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title></dc:title> + <dc:title /> </cc:Work> </rdf:RDF> </metadata> @@ -43,25 +43,25 @@ id="namedview2997" showgrid="false" inkscape:zoom="5.9" - inkscape:cx="3.5254237" + inkscape:cx="-26.220339" inkscape:cy="18.939449" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg2995" /> - <path - style="fill:#ffffff" - d="m 10.700319,20.482581 c -3.6090094,-4.722627 -3.5895224,-8.210525 0.02059,-3.684584 l 2.708581,3.395711 2.785257,-3.345392 C 18.170471,14.499278 19,14.062373 19,15.381347 c 0,1.033131 -1.262629,3.394974 -2.805842,5.248538 L 13.388316,24 10.70032,20.482581 z" - id="path3886" - inkscape:connector-curvature="0" /> - <path - style="fill:#ffffff" - d="M 10.184201,19.839131 C 6.9239846,15.488413 7.4658076,12.846501 10.79758,16.848316 l 2.785256,3.345392 2.708581,-3.395711 c 1.951839,-2.44699 2.708582,-2.852373 2.708582,-1.450969 0,2.125368 -4.013626,7.390445 -5.633818,7.390445 -0.555556,0 -1.987447,-1.304254 -3.18198,-2.898342 z" - id="path3884" - inkscape:connector-curvature="0" /> - <path - style="fill:#ffffff" - d="m 10.4506,18.677235 c -2.3531074,-3.260456 -2.4279584,-3.510681 -0.376139,-1.257406 3.169496,3.480687 3.728511,3.488314 6.61368,0.09023 1.271522,-1.497568 2.311858,-2.448289 2.311858,-2.112711 0,0.335576 -1.262629,2.126692 -2.805843,3.980256 L 13.388315,22.747717 10.4506,18.677232 z" - id="path3882" - inkscape:connector-curvature="0" /> + <g + id="g6344" + transform="matrix(1.0678303,0,0,1,5.9978182,9.929829)" + style="fill:#ffffff"> + <path + style="fill:#ffffff;fill-opacity:1" + d="M 4.3978226,11.436911 1.875,8.8036522 l 0,-1.2959742 0,-1.295974 2.6141067,2.5044731 2.6141066,2.5044739 2.542143,-2.542144 2.5421437,-2.5421434 0,1.4439202 0,1.4439202 -2.6334272,2.522984 -2.6334275,2.522983 -2.5228227,-2.63326 z" + id="path6350" + inkscape:connector-curvature="0" /> + <path + style="fill:#ffffff" + d="M 3.9134194,10.955202 1.875,8.785404 l 0,-1.28685 0,-1.28685 2.6141067,2.5044731 2.6141066,2.5044739 2.542143,-2.542144 2.5421437,-2.5421434 0,1.4558988 0,1.4558988 -2.169798,2.0384198 C 7.278991,13.659466 6.4369175,13.641342 3.9134194,10.955202 Z" + id="path6348" + inkscape:connector-curvature="0" /> + </g> </svg> diff --git a/images/open.svg b/images/open.svg index 9290109..a801256 100644 --- a/images/open.svg +++ b/images/open.svg @@ -11,7 +11,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="svg3826" version="1.1" - inkscape:version="0.48.5 r10040" + inkscape:version="0.91 r13725" width="16" height="16" sodipodi:docname="open.svg"> @@ -42,29 +42,24 @@ id="namedview3828" showgrid="false" inkscape:zoom="14.75" - inkscape:cx="8" - inkscape:cy="8" + inkscape:cx="-3.8983051" + inkscape:cy="1.4177547" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" - inkscape:current-layer="g3880" /> + inkscape:current-layer="svg3826" /> <g - id="g3880" - transform="translate(24.40678,-1.0169492)"> + id="g6344" + transform="matrix(1.0678303,0,0,1,0.52781819,-0.350171)"> <path - style="fill:#777777" - d="m -19.173396,11.928186 c -3.613059,-3.7712203 -3.59355,-6.5564567 0.02061,-2.9422983 l 2.711619,2.7116203 2.788381,-2.6714388 c 1.957921,-1.8758076 2.78838,-2.2246953 2.78838,-1.171438 0,0.825 -1.264045,2.7110328 -2.808989,4.1911828 l -2.808989,2.691182 -2.691011,-2.80881 z" - id="path3886" + style="fill:#6e6e6e;fill-opacity:1" + d="M 4.3978226,11.436911 1.875,8.8036522 l 0,-1.2959742 0,-1.295974 2.6141067,2.5044731 2.6141066,2.5044739 2.542143,-2.542144 2.5421437,-2.5421434 0,1.4439202 0,1.4439202 -2.6334272,2.522984 -2.6334275,2.522983 -2.5228227,-2.63326 z" + id="path6350" inkscape:connector-curvature="0" /> <path style="fill:#6e6e6e" - d="m -19.690093,11.414363 c -3.263874,-3.474235 -2.721443,-5.5839146 0.614067,-2.3882938 l 2.78838,2.6714388 2.711619,-2.7116203 c 1.954028,-1.9540275 2.71162,-2.2777426 2.71162,-1.1586609 0,1.697198 -4.018128,5.9015872 -5.640137,5.9015872 -0.556179,0 -1.989676,-1.041503 -3.185549,-2.314451 z" - id="path3884" - inkscape:connector-curvature="0" /> - <path - style="fill:#656565" - d="m -19.423396,10.486539 c -2.355747,-2.6036136 -2.430682,-2.8034288 -0.37656,-1.0040917 3.173051,2.7794777 3.732693,2.7855677 6.621098,0.072052 1.272948,-1.1958727 2.314451,-1.9550638 2.314451,-1.6870912 0,0.2679725 -1.264045,1.6982549 -2.808989,3.1784059 l -2.808989,2.691182 -2.941011,-3.250457 z" - id="path3882" + d="M 3.9134194,10.955202 1.875,8.785404 l 0,-1.28685 0,-1.28685 2.6141067,2.5044731 2.6141066,2.5044739 2.542143,-2.542144 2.5421437,-2.5421434 0,1.4558988 0,1.4558988 -2.169798,2.0384198 C 7.278991,13.659466 6.4369175,13.641342 3.9134194,10.955202 Z" + id="path6348" inkscape:connector-curvature="0" /> </g> </svg> diff --git a/images/uploadlogo.svg b/images/uploadlogo.svg index 4c66405..276dbd4 100644 --- a/images/uploadlogo.svg +++ b/images/uploadlogo.svg @@ -11,7 +11,7 @@ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" id="svg2985" version="1.1" - inkscape:version="0.48.5 r10040" + inkscape:version="0.91 r13725" width="26" height="40" sodipodi:docname="uploadlogo.svg"> @@ -23,7 +23,7 @@ <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> - <dc:title /> + <dc:title></dc:title> </cc:Work> </rdf:RDF> </metadata> @@ -43,15 +43,52 @@ id="namedview2987" showgrid="false" inkscape:zoom="12.95" - inkscape:cx="13" - inkscape:cy="15.667704" + inkscape:cx="-0.55212355" + inkscape:cy="15.664896" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg2985" /> - <path - style="fill:#ffffff" - d="M 3.6736487,29.135119 C -2.1539453,23.423119 -0.82803125,12.236876 6.0923817,8.729178 15.638772,3.8904693 26,9.711877 26,19.914181 26,31.603607 12.064165,37.359203 3.6736487,29.135119 z M 20.511765,26.713457 C 29.839647,17.582256 15.735239,3.5842143 6.2148717,12.524381 c -3.839359,3.605377 -4.661386,7.32455 -2.572535,11.639162 3.287285,6.790027 11.3006313,8.001291 16.8694283,2.549914 z m -8.424328,-2.535351 c 0,-3.025929 -0.212283,-3.35573 -1.490632,-2.315839 -2.3952343,1.948436 -1.9205663,-2.238832 0.496877,-4.383192 1.917954,-1.701296 2.057064,-1.701296 3.975018,0 2.417444,2.14436 2.892111,6.331628 0.496878,4.383192 -1.278349,-1.039891 -1.490632,-0.71009 -1.490632,2.315839 0,1.940629 -0.44719,3.528416 -0.993755,3.528416 -0.546565,0 -0.993754,-1.587787 -0.993754,-3.528416 z M 9.1061737,14.069924 c 0,-0.535723 1.7887573,-0.974042 3.9750173,-0.974042 2.18626,0 3.975018,0.438319 3.975018,0.974042 0,0.535724 -1.788758,0.974043 -3.975018,0.974043 -2.18626,0 -3.9750173,-0.438319 -3.9750173,-0.974043 z" - id="path3025" - inkscape:connector-curvature="0" /> + <g + id="g10564" + style="fill:#ffffff"> + <path + sodipodi:nodetypes="ssssssss" + inkscape:connector-curvature="0" + id="path3025" + d="M 3.6736487,29.135119 C -2.1539453,23.423119 -0.1704381,12.512868 6.401262,8.9608382 15.458885,4.0651576 26,9.711877 26,19.914181 26,31.603607 12.064165,37.359203 3.6736487,29.135119 Z M 20.512,26.713457 C 29.839882,17.582256 15.735239,3.5842143 6.2148717,12.524381 2.3755127,16.129758 1.5534857,19.848931 3.6423367,24.163543 6.9296217,30.95357 14.943203,32.164834 20.512,26.713457 Z" + style="fill:#ffffff" /> + <path + inkscape:connector-curvature="0" + id="path5201" + d="m 8.8572622,13.679 q 0.1345238,-0.375 0.5380952,-0.5 0.4035726,-0.125 0.9416666,-0.125 0.538094,0 1.076188,0 0.5381,0 1.076194,0 0.538094,0 1.076188,0 0.538094,0 1.076194,0 0.538094,0 1.076188,0 0.538094,0 0.941666,0.125 0.403572,0.125 0.538094,0.5 0.134528,0.375 0,0.75 -0.134522,0.375 -0.538094,0.5 -0.403572,0.125 -0.941666,0.125 -0.538094,0 -1.076188,0 -0.5381,0 -1.076194,0 -0.538094,0 -1.076188,0 -0.538094,0 -1.076194,0 -0.538094,0 -1.076188,0 -0.538094,0 -0.9416666,-0.125 -0.4035714,-0.125 -0.5380952,-0.5 -0.1345244,-0.375 0,-0.75" + style="fill:#ffffff;fill-opacity:1" /> + <g + id="g10550" + style="fill:#ffffff"> + <path + style="fill:#ffffff;fill-opacity:1" + d="m 12.21674,17.918357 c 0.08325,-0.229882 0.249766,-0.383138 0.499531,-0.459768 0.249765,-0.07663 0.499531,-0.07663 0.749296,0 0.249765,0.07663 0.416274,0.229886 0.499528,0.459768 0.08326,0.229886 0.249768,0.383142 0.499535,0.45977 0.249764,0.07663 0.416274,0.229882 0.499531,0.459764 0.08325,0.229891 0.249761,0.383151 0.499525,0.45978 0.249767,0.07663 0.416277,0.229884 0.49953,0.459771 0.08326,0.229884 0.291396,0.344827 0.624416,0.344827 l 0.49953,0 0,0.45977 -0.0415,0.999216 -0.207515,0.419935 -0.125633,-0.154784 c -0.161157,-0.19855 -0.416273,-0.229886 -0.49953,-0.459778 -0.08325,-0.229882 -0.249763,-0.383136 -0.49953,-0.459763 -0.249764,-0.07663 -0.416272,-0.229884 -0.499525,-0.459768 -0.08326,-0.229886 -0.291396,-0.344828 -0.624416,-0.344828 -0.33302,0 -0.541158,0.114942 -0.624415,0.344828 -0.08325,0.229884 -0.03642,0.43582 0.140495,0.617811 l 0.265377,0.272997 0.04683,-0.04306 0.04684,-0.04306 -0.09366,0.08619 c -0.06244,0.05746 -0.114476,0.143669 -0.156103,0.258615 l -0.06244,0.172412 0.09366,-0.258622 0.09366,-0.258615 -0.12488,0.344825 c -0.08326,0.229884 -0.124885,0.498085 -0.124885,0.804603 l 0,0.919533 0,0.919545 0,0.919534 0,0.919539 c 0,0.306518 -0.04163,0.574722 -0.12488,0.804612 -0.08326,0.229881 -0.249767,0.383136 -0.499531,0.459763 -0.249765,0.07663 -0.49953,0.07663 -0.749295,0 -0.249766,-0.07663 -0.416276,-0.229882 -0.499531,-0.459763 -0.08326,-0.22989 -0.124882,-0.498094 -0.124882,-0.804612 l 0,-0.919539 0,-0.919534 0,-0.919545 0,-0.919533 c 0,-0.306518 -0.04163,-0.574719 -0.124883,-0.804603 l -0.124883,-0.344895 0.09366,0.258621 0.09366,0.258622 -0.06244,-0.172417 c -0.04163,-0.114942 -0.09366,-0.201147 -0.156104,-0.258616 l -0.09366,-0.0862 0.04682,0.04306 -0.493721,-0.729141 0.805917,0.499214 c 0.176924,-0.181978 0.223758,-0.38791 0.140503,-0.617795 -0.08325,-0.229885 -0.291392,-0.344827 -0.624413,-0.344827 -0.33302,0 -0.541158,0.114942 -0.624413,0.344827 -0.08325,0.229885 -0.249765,0.383142 -0.49953,0.459772 -0.249766,0.07663 -0.416276,0.229881 -0.4995309,0.459765 -0.083255,0.229887 -0.2497652,0.383144 -0.4995304,0.459769 l -0.3746479,0.114946 0,-0.459775 0,-0.919535 0,-0.459769 0.4995305,0 c 0.3330203,0 0.5411577,-0.114942 0.6244127,-0.344826 0.08326,-0.229887 0.249766,-0.383144 0.499531,-0.459772 0.249765,-0.07663 0.416275,-0.229888 0.49953,-0.459772 0.08325,-0.229886 0.249766,-0.383142 0.499531,-0.459769 0.249765,-0.07663 0.416275,-0.229883 0.49953,-0.459767" + id="path5245-6" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cccsscccsccccsscssscccccscccsscccscsscscccsccccscccccssscscccccsscssc" /> + <path + style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" + d="m 12.091858,17.005706 q 0.249765,-0.229885 0.624413,-0.344827 0.374648,-0.114941 0.749296,0 0.374647,0.114942 0.624413,0.344827 0.249765,0.22989 0.49953,0.459772 0.249765,0.229886 0.499531,0.459774 0.249765,0.229881 0.49953,0.45977 0.249765,0.229876 0.49953,0.459771 0.249766,0.229884 0.499531,0.459765 0.249765,0.229888 0.374644,0.574717 l 0.124886,0.344827 -0.49953,0 q -0.499531,0 -0.624416,-0.344827 -0.12488,-0.344829 -0.49953,-0.459773 -0.374645,-0.114944 -0.499525,-0.459769 -0.124886,-0.344835 -0.499531,-0.459774 -0.37465,-0.114937 -0.499535,-0.459767 -0.124881,-0.344828 -0.499528,-0.459767 -0.374648,-0.114947 -0.749296,0 -0.374648,0.114939 -0.499531,0.459767 -0.124882,0.34483 -0.49953,0.459767 -0.374648,0.114939 -0.499531,0.459774 -0.124882,0.344825 -0.49953,0.459769 -0.374648,0.114944 -0.49953,0.459773 -0.124883,0.344827 -0.6244135,0.344827 l -0.4995305,0 0.1248826,-0.344827 q 0.1248826,-0.344829 0.3746479,-0.574717 0.2497652,-0.229881 0.4995305,-0.459765 0.249765,-0.229895 0.49953,-0.459771 0.249766,-0.229889 0.499531,-0.45977 0.249765,-0.229888 0.49953,-0.459774 0.249766,-0.229882 0.499531,-0.459772" + id="path5235-9" + inkscape:connector-curvature="0" /> + <path + style="fill:#ffffff;fill-opacity:1;stroke:none" + d="m 10.960404,20.25116 c 0.08325,-0.229886 0.291393,-0.344829 0.624414,-0.344829 0.33302,0 0.541157,0.114943 0.624412,0.344829 0.08325,0.229885 0.356154,0.663455 0.108526,0.737335 l -0.514393,0.15347 0.04682,0.04305 0.04682,0.04306 -0.09366,-0.08619 c -0.06244,-0.05743 -0.135279,-0.08614 -0.218534,-0.08614 l -0.124883,0 0.187324,0 0.187324,0 -0.249765,0 c -0.16651,0 -0.33302,0.07663 -0.499531,0.22989 l -0.49953,0.45977 -0.499531,0.459767 c -0.1665099,0.15326 -0.33302,0.22989 -0.4995301,0.22989 -0.1665102,0 -0.2913928,-0.114943 -0.3746479,-0.344827 l -0.1248826,-0.34483 0.3746479,-0.114942 c 0.2497652,-0.07663 0.4162753,-0.229887 0.4995302,-0.459773 0.083255,-0.229885 0.2497655,-0.383141 0.4995305,-0.459767 0.249765,-0.07663 0.416276,-0.229889 0.499531,-0.459772" + id="path5259-1" + inkscape:connector-curvature="0" + sodipodi:nodetypes="csssccccscccssccsscsscc" /> + <path + style="fill:#ffffff;fill-opacity:1" + d="m 13.931105,20.193148 c 0.08325,-0.229883 0.291392,-0.344824 0.624412,-0.344824 0.33302,0 0.541158,0.114941 0.624414,0.344824 0.08325,0.229883 0.249765,0.383141 0.49953,0.459775 0.249764,0.07663 0.416275,0.229884 0.49953,0.459768 0.08326,0.229886 0.249765,0.383141 0.499531,0.459767 l 0.374646,0.114944 -0.124881,0.344825 c -0.08326,0.22989 -0.208139,0.344834 -0.374649,0.344834 -0.16651,0 -0.33302,-0.07663 -0.49953,-0.229886 l -0.49953,-0.459773 -0.499531,-0.459766 c -0.16651,-0.153258 -0.33302,-0.229887 -0.49953,-0.229887 l -0.249766,0 0.187324,0 0.187325,0 -1.203962,1.195204 c -0.05787,0.05745 0.922976,-1.166473 0.860535,-1.109009 l -0.09366,0.0862 0.04683,-0.04306 0.04683,-0.04306 -0.721907,2.316612 c -0.176916,-0.182034 0.232788,-2.977603 0.316043,-3.207486" + id="path5261-8" + inkscape:connector-curvature="0" + sodipodi:nodetypes="csscsccssscsscccscccccc" /> + </g> + </g> </svg> diff --git a/js/metrolook.js b/js/metrolook.js index 69c4be7..829a719 100644 --- a/js/metrolook.js +++ b/js/metrolook.js @@ -117,7 +117,7 @@ $(function () { $('img.downarrow').click(function(e) { - $( 'img.custom3' ).on( 'click', toggleDiv( 'bartile' ) ); + $( 'img.downarrow' ).on( 'click', toggleDiv( 'bartile' ) ); e.stopPropagation(); }); $('img.downarrow').click(function() { diff --git a/screen-hd.less b/screen-hd.less index ded5289..b0ea298 100644 --- a/screen-hd.less +++ b/screen-hd.less @@ -16,9 +16,7 @@ #mw-panel { padding-left: 0.5em; } -#p-search { - margin-right: 3.5em; -} + #left-navigation { left: 190px; } diff --git a/skinStyles/mediawiki.sectionAnchor.less b/skinStyles/mediawiki.sectionAnchor.less new file mode 100644 index 0000000..6a74810 --- /dev/null +++ b/skinStyles/mediawiki.sectionAnchor.less @@ -0,0 +1,45 @@ +@media screen { + .mw-headline-anchor { + margin-left: -16px; + width: 16px; + } + + .mw-content-ltr .mw-headline-anchor, + .mw-content-rtl .mw-content-ltr .mw-headline-anchor { + /* @noflip */ + margin-left: -16px; + /* @noflip */ + margin-right: 0; + } + + .mw-content-rtl .mw-headline-anchor, + .mw-content-ltr .mw-content-rtl .mw-headline-anchor { + /* @noflip */ + margin-left: 0; + /* @noflip */ + margin-right: -16px; + } +} + +@media screen and (min-width: 982px) { + .mw-headline-anchor { + margin-left: -20px; + width: 20px; + } + + .mw-content-ltr .mw-headline-anchor, + .mw-content-rtl .mw-content-ltr .mw-headline-anchor { + /* @noflip */ + margin-left: -20px; + /* @noflip */ + margin-right: 0; + } + + .mw-content-rtl .mw-headline-anchor, + .mw-content-ltr .mw-content-rtl .mw-headline-anchor { + /* @noflip */ + margin-left: 0; + /* @noflip */ + margin-right: -20px; + } +} diff --git a/variables.less b/variables.less index ee770b5..eff4a63 100644 --- a/variables.less +++ b/variables.less @@ -42,5 +42,5 @@ @collapsible-nav-heading-color: #4d4d4d; @collapsible-nav-heading-collapsed-color: #0645ad; -@collapsible-nav-heading-padding: 4px 0 3px 1em; +@collapsible-nav-heading-padding: 4px 0 3px 1.1em; @collapsible-nav-body-margin: 0 0 0 1.25em; \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/193656 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I64b67359af448484bba862d8adc8e3974daf44fe Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/Metrolook Gerrit-Branch: test Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits