Fjalapeno has submitted this change and it was merged. Change subject: Fix for lead image title gradient not being hidden on landscape iOS 6. ......................................................................
Fix for lead image title gradient not being hidden on landscape iOS 6. Bug: T99698 Change-Id: I2c920feb470ab6c6cbcb3b5483d12151c4099725 --- M Wikipedia/assets/styleoverrides.css M www/less/leadImage.less 2 files changed, 2 insertions(+), 2 deletions(-) Approvals: Fjalapeno: Looks good to me, approved jenkins-bot: Verified diff --git a/Wikipedia/assets/styleoverrides.css b/Wikipedia/assets/styleoverrides.css index 399b030..b3ac127 100644 --- a/Wikipedia/assets/styleoverrides.css +++ b/Wikipedia/assets/styleoverrides.css @@ -1,5 +1,5 @@ .ios-disambiguation-item-anchor{display:block;padding-top:8px;padding-bottom:8px}.ios-issue-item{padding-top:8px;padding-bottom:8px}.ios-issue-item *{font-weight:normal !important}#disambig_sub_container,#issues_sub_container{background-color:#fff !important;border-bottom:1px solid #ccc;padding-top:6px;padding-bottom:12px;margin-bottom:12px}#issues_container_close_button{color:#333;display:none;font-weight:bold;padding:4px 20px 4px 20px}a.issues_button,a.disambig_button{padding:4px 0px 4px 0px !important}span.issues_separator{padding-top:4px!important;padding-bottom:4px!important}div.issues_container{margin-bottom:1.8em !important} .content table.infobox{font-size:100%;border-style:none !important}table.infobox caption{text-align:center;font-weight:bold}.app_table_container{width:100%;margin-top:14px;margin-bottom:14px;border-radius:2px;padding:1px;box-shadow:inset 0 0 1px gray}.app_table_collapsed_container{width:100%;padding-left:12px;padding-right:48px;padding-top:12px;padding-bottom:12px;line-height:120%;background-color:#f8f8f8;background-repeat:no-repeat;background-position:95% 50%;background-size:16px 16px}.app_table_collapsed_open{border-radius:2px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4zjOaXUAAAAoZJREFUaEPtmE1uE0EQhceEn1NwFEtwALL0CSzbe2+9QQgJAoKI8BeF8I8ImCQCIRCSxVk4QNhkxwZ4z+qOespvPNMzYxCiS/ricVVX1evpnukkWbJkyZIlS5Ys2f9ss9lsTr/fPz8ajV4Mh8Nv4Dv4OhgMLvr43wKaLkDLF3BEbdRIrT4+/wGhlxA8Br8MPxG74gf/adD7OjUYTeSYmjkmw5d18CMILoBZ37DFVw0E3lFaAqh5nROYBs5CUPC2arQCOuh1T2kQTLNer3cGF4cmIOFdEQ3bhOIfqt6CQ2qfJ7pJHJgBEt4dNgqatgXF76iegn1qZt5JgclkchqBd2ZgEdts6HOb0u12T+E52xV9FFNq9bm5Qm4Sb01CEY/YOMyvgxP/VNRfAOPehOJJrhjhAA5UBQRPmkwC+WvoxbNH1c6B7fUan2u2Ru6LhwNdgixmeA4WCpfBHPDK1SiD42SPBYeHCS5RFbQUNlC4rboX5BfiVqiwtnR6mIiVeBkWXMKe3Z+KmOcMvZ+VbVHpDGEBFOM2kU0MuTeExb2u901OEZWeL+m0xLwpwIF/R4c48ZUOTPTarfpykE4FC2JJH6uGgvfgrM/lNfjgYktBjx3kVD5jpLMItxJVD5yP4/H4HOG1iRURfUBKZwkxR/4n8Nn4JLgxD1jb9CpFOivQQdNtK6IuuCG1f7+Szop0eNeUoEi2RO3KSGcEXIn7RlAMm6JmFNIZC1birhC3FOTcUrVikc46YB+X/Ql4AsbeVDXqIJ11gbhNK1awoXLrIp1N4NYQoucgdk3lNEE6m8ItIsRfVWObIp1tANEbXjwmtLL/LUlnW3DLYAKXVawtkiVLlixZsn/Ysuw35enU+iMlJaQAAAAASUVORK5CYII=)}.app_table_collapse_close{border-radius:2px 2px 0px 0px}.app_table_collapse_icon{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4zjOaXUAAAAoBJREFUaEPtmE1uE0EQhW3Mzyk4iiU4AFn6BJbtvbfeIIQEAUEUCEnE/58ImCQCIRCSxVk4AGyyYwN5L+qOxuXXM90zthCiS/ricXV11avunhkrrWzZsmXLlu2fttlstjJGo9GN4XB4VY0tC+lcBhC+Dv6QwWBwTcUsA+lsCgTf9uI92I3rKrYp0tkECL1jxXt4pNScJkhnXSByw4oWrKu5dZHOOuDYbAqxEh4xlaMO0pkKjsZ9JbQMHjWVKxXpTKANMQ+suAQ2RM4kpDOSNlZxW4hK5Z7IHY10RsCV3zVCaoN7Yos5TY0opLOCNgo+VEIEn8EX45NwN5nb1KpEOkN0u90zKPRYCRB8Go/HFwivzViIXdRJakI6FRSPlX8iiio+gPN+Lq/BRzdWCncXc6KbkE6LW/lnqqDgoNfrnbM56MPYoYmVcJdZ0+ZQSGcRJkLSF7ZIgOlkMjmr8hDXxL6ZE+JpTBPS6UGSDrb0lUkcYq9MvIcxiH1n5kpQ+3lVE9JJkKADXhcTlsC4jsqjcE3sFeYHwXF6ic9gbunkBHT/ppioBB6vaPEezgGNF2jBwdVB129NghBR5zQE5nfcCqvcc7gFXWhi7kvK+QSPmoj3MEfsE44La++z0wsn/r2dFCD5hVOGayL2BTn3pDv54x5vByZQgq2s/bulgpSfKPv+XZP0gkGBTVN02bCJHVVbcEjtvJGmZkCCxHdFwVXAJraUBsGUDayBXwXnAjift0ShlcLdVloKUPOaD76CL0eFQc9vjK3sfzpVoPZNajCayBE1M+Y0uN/vX3TP5O/gJ/iGoMt+/G8BTZeg5Sv4QW3USK1+PFu2bNmyZcuW7f+1VusYzYvU+uNoBCAAAAAASUVORK5CYII=)}.app_span_collapse_text{color:#808080}.app_table_collapsed_bottom{width:100%;color:#808080;padding-left:12px;padding-right:48px;padding-top:12px;padding-bottom:12px;line-height:120%;border-radius:0px 0px 2px 2px;background-color:#f8f8f8;background-repeat:no-repeat;background-position:95% 50%;background-size:16px 16px} -.content{margin-top:0px}.lead_image_div{margin-left:-16px !important;margin-right:-16px !important;transition-timing-function:ease-in-out}div#lead_image_none div.lead_image_div{height:auto !important}#lead_image_text_container{padding:16px;pointer-events:none !important}div#lead_image_none div#lead_image_text_container{position:relative !important;padding-bottom:0px !important;padding-top:0px !important}#lead_image_title,#lead_image_description{font-family:Times New Roman;pointer-events:none !important}#lead_image_title{padding-top:4px;line-height:100%;margin-top:6px;margin-bottom:6px}div#lead_image_none div#lead_image_title{color:#000 !important;text-shadow:none !important}#lead_image_description{line-height:117%}div#lead_image_none div#lead_image_description{color:#000 !important;text-shadow:none !important}@media (orientation:portrait){.lead_image_div{height:150pt;background-repeat:no-repeat;background-size:cover;color:#fff;position:relative}#lead_image_text_container{position:absolute;bottom:0px}#lead_image_title,#lead_image_description{text-shadow:0 1px .5px rgba(0,0,0,0.25)}}@media (orientation:portrait) and (min-device-width:768px){.lead_image_div{height:250pt}}@media (orientation:landscape){.lead_image_div{background-size:0 0;height:auto;color:#000;padding-bottom:0px;padding-top:0px}#lead_image_text_container{padding-bottom:0px;padding-top:0px}} +.content{margin-top:0px}.lead_image_div{margin-left:-16px !important;margin-right:-16px !important;transition-timing-function:ease-in-out}div#lead_image_none div.lead_image_div{height:auto !important}#lead_image_text_container{padding:16px;pointer-events:none !important}div#lead_image_none div#lead_image_text_container{position:relative !important;padding-bottom:0px !important;padding-top:0px !important}#lead_image_title,#lead_image_description{font-family:Times New Roman;pointer-events:none !important}#lead_image_title{padding-top:4px;line-height:100%;margin-top:6px;margin-bottom:6px}div#lead_image_none div#lead_image_title{color:#000 !important;text-shadow:none !important}#lead_image_description{line-height:117%}div#lead_image_none div#lead_image_description{color:#000 !important;text-shadow:none !important}@media (orientation:portrait){.lead_image_div{height:150pt;background-repeat:no-repeat;background-size:cover;color:#fff;position:relative}#lead_image_text_container{position:absolute;bottom:0px}#lead_image_title,#lead_image_description{text-shadow:0 1px .5px rgba(0,0,0,0.25)}}@media (orientation:portrait) and (min-device-width:768px){.lead_image_div{height:250pt}}@media (orientation:landscape){.lead_image_div{background-image:none !important;height:auto;color:#000;padding-bottom:0px;padding-top:0px}#lead_image_text_container{padding-bottom:0px;padding-top:0px}} a:hover{text-decoration:none !important}.content_block,.image_overflow_x_container{clear:both;overflow-x:auto}#edit_section_button_0{margin-top:6px}#section_heading_and_content_block_0{margin-top:13px}*{box-sizing:border-box} .wideImageOverride{display:block;margin-left:auto;margin-right:auto}@media (orientation:portrait){.wideImageOverride{width:100% !important;max-width:100% !important;height:auto !important}}@media (orientation:portrait) and (min-device-width:768px){.wideImageOverride{width:60% !important;max-width:60% !important;height:auto !important}}@media (orientation:landscape){.wideImageOverride{width:50% !important;max-width:50% !important;height:auto !important}}.thumbinner,.gallerytext{text-align:center} \ No newline at end of file diff --git a/www/less/leadImage.less b/www/less/leadImage.less index 50cd08b..9786278 100644 --- a/www/less/leadImage.less +++ b/www/less/leadImage.less @@ -77,7 +77,7 @@ @media (orientation: landscape) { .lead_image_div { - background-size:0 0; + background-image:none !important; height:auto; color:#000; padding-bottom:0px; -- To view, visit https://gerrit.wikimedia.org/r/212230 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2c920feb470ab6c6cbcb3b5483d12151c4099725 Gerrit-PatchSet: 1 Gerrit-Project: apps/ios/wikipedia Gerrit-Branch: master Gerrit-Owner: Mhurd <mh...@wikimedia.org> Gerrit-Reviewer: Bgerstle <bgers...@wikimedia.org> Gerrit-Reviewer: Fjalapeno <cfl...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits