Mwalker has uploaded a new change for review.
https://gerrit.wikimedia.org/r/72635
Change subject: Updating Brazil Form Layout
......................................................................
Updating Brazil Form Layout
Move the drop down state selector into a halfwidth field next to
city and remove some redundant CSS.
Change-Id: I2b11c51f4a966cfaf04eced92d9216124280717e
---
M globalcollect_gateway/forms/html/_personal-information/BR.html
M modules/css/gateway.css
2 files changed, 9 insertions(+), 22 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface
refs/changes/35/72635/1
diff --git a/globalcollect_gateway/forms/html/_personal-information/BR.html
b/globalcollect_gateway/forms/html/_personal-information/BR.html
index d124243..10a3d11 100644
--- a/globalcollect_gateway/forms/html/_personal-information/BR.html
+++ b/globalcollect_gateway/forms/html/_personal-information/BR.html
@@ -17,14 +17,12 @@
</td>
</tr>
<tr>
- <td colspan="2">
+ <td>
<input class="halfwidth" name="city" value="@city" type="text"
title="%donate_interface-city-town%" placeholder="%donate_interface-city-town%"
id="city">
</td>
-</tr>
-<tr>
- <td colspan="2" style="white-space: nowrap;">
- <select id="state" name="state" value="@state" >
- <option value="">%donate_interface-donor-state%</option>
+ <td>
+ <select id="state" name="state" value="@state" class="halfwidth
leftmar" >
+ <option value="" disabled selected
style='display:none;'>%donate_interface-donor-state%</option>
<option value="AC">Acre</option>
<option value="AL">Alagoas</option>
<option value="AP">Amapá</option>
diff --git a/modules/css/gateway.css b/modules/css/gateway.css
index 9da3945..7d29466 100644
--- a/modules/css/gateway.css
+++ b/modules/css/gateway.css
@@ -74,17 +74,6 @@
width: 94px;
}
-input.thirdwidth {
- width: 85px;
-}
-input.halfwidth {
- width: 137px;
-}
-input.fullwidth {
- width: 285px;
-}
-
-
#payflow-table-comment td.check-option {
padding-left: 3em;
}
@@ -162,21 +151,21 @@
*/
/* Form Inputs */
-input.thirdwidth {
+input.thirdwidth, select.thirdwidth {
width: 85px;
}
-input.halfwidth {
+input.halfwidth, select.halfwidth {
width: 137px;
}
-input.fullwidth {
+input.fullwidth, select.fullwidth {
width: 285px;
}
-input.leftmar {
+input.leftmar,select.leftmar {
margin-left: 4px;
}
-input.rightmar {
+input.rightmar,select.rightmar {
margin-right: 4px;
}
--
To view, visit https://gerrit.wikimedia.org/r/72635
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2b11c51f4a966cfaf04eced92d9216124280717e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Mwalker <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits