jenkins-bot has submitted this change and it was merged. Change subject: Move GC iframe css into code ......................................................................
Move GC iframe css into code Copied from https://wikimediafoundation.org/wiki/MediaWiki:GlobalCollect.css and merged the RTL changes in by hand. Should be included from the GC skin like so: https://payments.wikimedia.org/load.php?debug=false&lang=en&modules=gc.iframe&only=styles and for RTL, https://payments.wikimedia.org/load.php?debug=false&lang=ar&modules=gc.iframe&only=styles Change-Id: I8f0588007804d6260dac9f739e5dcb1734c0199c --- M gateway_forms/rapidhtml/RapidHtmlResources.php A globalcollect_gateway/forms/css/iframe.css 2 files changed, 76 insertions(+), 0 deletions(-) Approvals: Ejegg: Looks good to me, approved jenkins-bot: Verified diff --git a/gateway_forms/rapidhtml/RapidHtmlResources.php b/gateway_forms/rapidhtml/RapidHtmlResources.php index e8cf545..b903ba8 100644 --- a/gateway_forms/rapidhtml/RapidHtmlResources.php +++ b/gateway_forms/rapidhtml/RapidHtmlResources.php @@ -205,6 +205,11 @@ 'localBasePath' => dirname( __FILE__ ).'/../../globalcollect_gateway/forms', 'remoteExtPath' => $wgGlobalCollectRapidHtmlRemoteExtPath, ); +$wgResourceModules[ 'gc.iframe' ] = array( + 'styles' => 'css/iframe.css', + 'localBasePath' => __DIR__ . '/../../globalcollect_gateway/forms', + 'remoteExtPath' => $wgGlobalCollectRapidHtmlRemoteExtPath, +); /************************************************************* ************************************************************* diff --git a/globalcollect_gateway/forms/css/iframe.css b/globalcollect_gateway/forms/css/iframe.css new file mode 100644 index 0000000..ac181e9 --- /dev/null +++ b/globalcollect_gateway/forms/css/iframe.css @@ -0,0 +1,71 @@ +/* This page is currently used to provide css for testing the Global Collect payment systems. Please do not edit without talking to James Alexander or Ryan Kaldari */ + +body#pageGetMissingData { + background-color: transparent; +} + +table.ORB_TABLE_FIELDS td { + padding: 5px 0; +} +div.ORB_INSTRUCTIONS { + display: none; +} +.ORB_INPUT { + border: 1px solid #CCCCCC; + background-color: #FFFFFF; + box-shadow: 0 0 1px #DDDDDD inset; + padding: 0.3em; + vertical-align: middle; +} +.ORB_SELECT { + border: 1px solid #CCCCCC; + background-color: #FFFFFF; + padding: 0.3em; + width: 120px; +} +td.ORB_TD_ERRORLEFT { + display: none; +} +input#F1136 { + margin-right: 4px; + width: 50px; +} +#MANDATORY_F1009, #MANDATORY_F1010 { + display: none; +} +div.ORB_BUTTONELEMENT { + margin-left: 0; +} +.ORB_BUTTON { + font-size: 12px; + font-weight: normal; + width: 15em; +} +input#btnCancel { + display: none; +} + +/* Add some margins to the CVV Help pop-up page */ +div#divCVVHelp { + margin: 1em; +} +/* Hide "Press this button to return to the shop..." message */ +span.ORB_BUTTONHELPTEXT { + display: none; +} + +/* Hide the drop down with only one option (why does this even exist...) */ +select#selectCard { + display: none; +} + +/* bold cvv window title */ +td.Heading1 { + font-weight: bold; +} + +/* Credit card number and CVV inputs should always be left-to-right */ +input#F1009, input#F1136 { + /* @noflip */ + direction: ltr; +} -- To view, visit https://gerrit.wikimedia.org/r/176044 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8f0588007804d6260dac9f739e5dcb1734c0199c Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/DonationInterface Gerrit-Branch: master Gerrit-Owner: Awight <[email protected]> Gerrit-Reviewer: Awight <[email protected]> Gerrit-Reviewer: Ejegg <[email protected]> Gerrit-Reviewer: Katie Horn <[email protected]> Gerrit-Reviewer: Ssmith <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
