Index: branches/wmf/1.19wmf1/extensions/MobileFrontend/stylesheets/beta_common.css |
— | — | @@ -924,6 +924,9 @@ |
925 | 925 | padding-right: 0; |
926 | 926 | } |
927 | 927 | |
| 928 | +#section_footer { |
| 929 | + color: #818181; |
| 930 | +} |
928 | 931 | |
929 | 932 | .toggleCopyright .hide, |
930 | 933 | .toggleCopyright .show { |
— | — | @@ -1053,3 +1056,45 @@ |
1054 | 1057 | #mf-references a { |
1055 | 1058 | color: #3354C0; |
1056 | 1059 | } |
| 1060 | + |
| 1061 | +/* CONTACT FORM */ |
| 1062 | +.feedback input[type=submit] { |
| 1063 | + background-color: #5E5E5E; |
| 1064 | + color: white; |
| 1065 | + display: block; |
| 1066 | + margin: 22px 0px; |
| 1067 | + border: none; |
| 1068 | + -webkit-border-radius: 2px; |
| 1069 | + -moz-border-radius: 2px; |
| 1070 | + border-radius: 2px; |
| 1071 | + -o-box-shadow: 3px 3px 3px #8C8C8C; |
| 1072 | + -moz-box-shadow: 3px 3px 3px #8C8C8C; |
| 1073 | + -webkit-box-shadow: 3px 3px 3px #8C8C8C; |
| 1074 | + box-shadow: 3px 3px 3px #8C8C8C; |
| 1075 | + font-size: 1.5em; |
| 1076 | +} |
| 1077 | + |
| 1078 | +.feedback input[type=submit] { |
| 1079 | + padding: 12px; |
| 1080 | + cursor: pointer; |
| 1081 | +} |
| 1082 | + |
| 1083 | +.feedback input[type=text] { |
| 1084 | + height: 38px; |
| 1085 | +} |
| 1086 | + |
| 1087 | +.feedback textarea, |
| 1088 | +.feedback input[type=text] { |
| 1089 | + padding: 12px 16px; |
| 1090 | + width: 100%; |
| 1091 | + border: solid 1px #888888; |
| 1092 | + box-sizing: border-box; |
| 1093 | + -webkit-box-sizing:border-box; |
| 1094 | + -moz-box-sizing: border-box; |
| 1095 | + -ms-box-sizing: border-box; |
| 1096 | +} |
| 1097 | + |
| 1098 | +.feedback textarea, |
| 1099 | +.feedback input[type=text] { |
| 1100 | + font-size: 1.5em; |
| 1101 | +} |
Index: branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/LeaveFeedbackTemplate.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | public function getHTML() { |
11 | 11 | |
12 | 12 | $leaveFeedbackHtml = <<<HTML |
13 | | - <form action='{$this->data['feedbackPostURL']}' method='post'> |
| 13 | + <form class="feedback" action='{$this->data['feedbackPostURL']}' method='post'> |
14 | 14 | <input type="hidden" name="edittoken" value="{$this->data['editToken']}"/> |
15 | 15 | <div tabindex="-1"> |
16 | 16 | <div unselectable="on"> |
— | — | @@ -19,13 +19,12 @@ |
20 | 20 | <div> |
21 | 21 | <div><p><small>{$this->data['notice']}</small> |
22 | 22 | </p></div> |
23 | | - <div><p>{$this->data['subject']}:<br><input type="text" name="subject" maxlength="60" style="width:40%;"></p> |
| 23 | + <div><p>{$this->data['subject']}:<br><input type="text" name="subject" maxlength="60"></p> |
24 | 24 | </div> |
25 | | - <div><p>{$this->data['message']}:<br><textarea name="message" style="width:40%;" rows="5" cols="60"></textarea></p> |
| 25 | + <div><p>{$this->data['message']}:<br><textarea name="message" rows="5" cols="60"></textarea></p> |
26 | 26 | </div> |
27 | 27 | </div> |
28 | 28 | </div> |
29 | | - <div><button onClick="javascript:history.back();" type="button"><span>{$this->data['cancel']}</span></button> |
30 | 29 | <input type="submit" value="{$this->data['submit']}"></input> |
31 | 30 | </div> |
32 | 31 | </div> |