jenkins-bot has submitted this change and it was merged. Change subject: Adjust style of the Disable panel ......................................................................
Adjust style of the Disable panel Spacing, color, and typography adjustments to the disable/enable panels Change-Id: I86cfa04353fb500ebe027576a61301e8ef2f0f3b --- M resources/mmv/ui/img/x_darkgreen.svg M resources/mmv/ui/mmv.ui.viewingOptions.less 2 files changed, 37 insertions(+), 15 deletions(-) Approvals: Gilles: Looks good to me, approved Gergő Tisza: Looks good to me, approved jenkins-bot: Verified diff --git a/resources/mmv/ui/img/x_darkgreen.svg b/resources/mmv/ui/img/x_darkgreen.svg index 8be9978..f491a6b 100644 --- a/resources/mmv/ui/img/x_darkgreen.svg +++ b/resources/mmv/ui/img/x_darkgreen.svg @@ -1,5 +1,22 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 612 792" enable-background="new 0 0 612 792" xml:space="preserve" inkscape:version="0.48.2 r9819" width="100%" height="100%" sodipodi:docname="x_darkgreen.svg"><metadata id="metadata9"><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/></cc:Work></rdf:RDF></metadata><defs id="defs7"/><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="721" inkscape:window-height="480" id="namedview5" showgrid="false" inkscape:zoom="0.2979798" inkscape:cx="306" inkscape:cy="364.11864" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="0" inkscape:current-layer="Layer_1"/> -<polygon fill="#999999" points="612,179.2 522.8,90 306,306.8 89.2,90 0,179.2 216.8,396 0,612.8 89.2,702 306,485.2 522.8,702 612,612.8 395.2,396 " id="polygon3" style="fill:#0a604c;fill-opacity:1"/> -</svg> \ No newline at end of file +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + version="1.1" + width="100%" + height="100%" + viewBox="0 0 96 96" + id="Layer_1" + xml:space="preserve"><metadata + id="metadata9"><rdf:RDF><cc:Work + rdf:about=""><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><defs + id="defs7" /><polygon + points="82,0 48,34 14,0 0,14 34,48 0,82 14,96 48,62 82,96 96,82 62,48 96,14 " + id="polygon3" + style="fill:#0a604c;fill-opacity:1" /></svg> \ No newline at end of file diff --git a/resources/mmv/ui/mmv.ui.viewingOptions.less b/resources/mmv/ui/mmv.ui.viewingOptions.less index c943701..ecccfce 100644 --- a/resources/mmv/ui/mmv.ui.viewingOptions.less +++ b/resources/mmv/ui/mmv.ui.viewingOptions.less @@ -13,7 +13,7 @@ z-index: 1004; - padding: 10px; + padding: 15px; &.mw-mmv-enable-confirmation-shown { background-color: #00AF89; @@ -44,7 +44,10 @@ top: (@offset-top + (@arrow-size / 2 )); } - .mw-mmv-options-enable, + .mw-mmv-options-enable { + height: 170px; + } + .mw-mmv-options-disable { height: 150px; } @@ -71,8 +74,8 @@ position: absolute; right: 0; top: 0; - width: 20px; - height: 20px; + width: 15px; + height: 15px; cursor: pointer; opacity: 0.75; @@ -108,7 +111,7 @@ .mw-mmv-confirmation-close { /* @embed */ background-image: url(img/x_darkgreen.svg); - background-size: 20px 20px; + background-size: 15px 15px; background-repeat: no-repeat; } } @@ -179,19 +182,21 @@ } .mw-mmv-options-text-body { - font-size: .75em; - color: #555; + font-size: .9em; + color: #777; } .mw-mmv-options-enable-alert { position: absolute; - left: -10px; - right: -10px; - top: -10px; + left: -15px; + right: -15px; + top: -15px; - padding: 10px; + padding: 10px 15px; background-color: #EEE; + border-top-right-radius: 3px; + border-top-left-radius: 3px; color: #555; font-weight: 500; } -- To view, visit https://gerrit.wikimedia.org/r/168272 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I86cfa04353fb500ebe027576a61301e8ef2f0f3b Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/MultimediaViewer Gerrit-Branch: master Gerrit-Owner: Pginer <pgi...@wikimedia.org> Gerrit-Reviewer: Gergő Tisza <gti...@wikimedia.org> Gerrit-Reviewer: Gilles <gdu...@wikimedia.org> Gerrit-Reviewer: MarkTraceur <mtrac...@member.fsf.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits