Ejegg has uploaded a new change for review. https://gerrit.wikimedia.org/r/322135
Change subject: More unused CSS cleanup ...................................................................... More unused CSS cleanup Bug: T149249 Change-Id: Ib986b886f83bf47c51b6dc1da89b7208eb8b0e0b --- M gateway_forms/mustache/forms.css M modules/css/gateway.css 2 files changed, 5 insertions(+), 148 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface refs/changes/35/322135/1 diff --git a/gateway_forms/mustache/forms.css b/gateway_forms/mustache/forms.css index 1ef224f..10fde31 100644 --- a/gateway_forms/mustache/forms.css +++ b/gateway_forms/mustache/forms.css @@ -9,21 +9,7 @@ vertical-align:baseline; margin-right:4px; } -#payment-table-donor td.label, -#payment-table-comment td.label, -#payment-table-cc td.label { - white-space: nowrap; - display: block; - padding-right: 1em; - text-align: right; - width: 94px; -} -.payment-cc-form-section { - float: none; - margin-right: 0; - margin-bottom: 1em; -} #payment_gateway-personal-info { margin-right: 0; } @@ -88,21 +74,17 @@ list-style: none !important; list-style-image: none !important; } -.form .options-h, -.form .options-v { +.form .options-h { margin: 0; } -.options-h, -.options-v { +.options-h { list-style: none; margin: 0 0 1em 0; } -.options-h img, -.options-v img { +.options-h img { vertical-align: middle; } -.options-h li, -.options-v li { +.options-h li{ background: none; margin-bottom: 0.3em; padding: 0; @@ -118,13 +100,6 @@ } .options-h li:last-child { margin: 0; -} -.form .options-v { - margin-top: 5px; -} -.options-v li { - padding-left: 25px; - text-indent: -25px; } input:-moz-placeholder { opacity: 1; diff --git a/modules/css/gateway.css b/modules/css/gateway.css index 8dcaef2..63c707b 100644 --- a/modules/css/gateway.css +++ b/modules/css/gateway.css @@ -20,89 +20,12 @@ color: #cc1100; } -.mw-creditcard-donor { - width: 25px; -} - -.mw-donate-submessage { -/* padding-top: 10px; */ -} - -#mw-donate-submit-button { -/* padding-top: 10px; - padding-bottom: 10px; - padding-left: 100px;*/ -} - -#mw-creditcard { - margin-bottom: 1em; -} - -.payment-cc-form-section { - float: left; -} - -#payment_gateway-personal-info { -/* margin-right: 4em; - margin-bottom: 1em; */ /* This only seems to cause issues for RTL languages */ -} - -#payment_gateway-form-submit, #payment_gateway-form-submit-paypal { - margin-top: 1.2em; - text-align: center; - margin-bottom: 1em; -} - -#payment-table-cc td { - text-align: left; -} - -#payment-table-donor, #payment-table-cc, #payment-table-paypal { +#payment-table-donor { background-color: transparent; -} - -#payment-table-donor td.label, #payment-table-comment td.label, #payment-table-cc td.label { - text-align: right; - display: block; - padding-right: 1em; - width: 94px; -} - -#payment-table-comment td.check-option { - padding-left: 3em; } #payment-table-donor td { text-align: left; -} - -.button-plain { - font-size: 1em; - margin-bottom: 0.3em; -} - -.button-navyblue { - background-image:url("https://payments.wikimedia.org/images/0/06/Button-wavy-blue.png"); - color:#FFFFFF; - cursor:pointer; -} - -.input-button { - background-color:transparent; - background-repeat:no-repeat; - border:medium none; - font-family:helvetica,impact,sans-serif; - font-size:1.4em; - font-weight:bold; - height:44px; - margin:0; - text-align:center; - vertical-align:middle; - width:204px; -} - -#ca-special { - display: none; } #bodyContent input[type="text"], @@ -129,22 +52,6 @@ line-height: 14px; font-size: 11px; } - -p.finePrint { - font-size: 11px; - white-space: normal; -} - -/* - The following should be in form css and not the gateway common css. - Commenting out due to conflicts, but leaving so that if it does break something, - it can easily be re-enabled. -pgehres 2011-12-19 -*/ -/* -input#fname { width: 110px; margin-right: 4px; } -input#lname { width: 132px; } -input.fullwidth { width: 254px; } -*/ /* Form Inputs */ /* Override the sitedir-ltr input direction */ @@ -175,10 +82,6 @@ float: left; } -.collapsingCity { - display: none; -} - /* From 2014 appeal */ * { -moz-box-sizing: border-box; @@ -193,11 +96,6 @@ div#footer #footer-icons { display: none !important; } - -/*table#secureLogo { - border: 5px solid red; -}*/ - a[href^="https://"], .link-https { background-image: none !important; @@ -250,22 +148,6 @@ } table#payment-table-donor { width: 100%; - } - - /* Form - Amount/Payment Method */ - #radiobuttons-table-header, - td.radiobuttons-cell, - .frequency-options, - .payment-method-button { - font-size: 2em; - } - - .radiobuttons-cell { - padding: 0.5em; - } - - input.payment-method-button { - padding: 1em; } /* Form - Contact/Donation Info */ -- To view, visit https://gerrit.wikimedia.org/r/322135 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib986b886f83bf47c51b6dc1da89b7208eb8b0e0b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/DonationInterface Gerrit-Branch: master Gerrit-Owner: Ejegg <eeggles...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits