diff options
-rw-r--r-- | www/css/fms.css | 30 | ||||
-rw-r--r-- | www/templates/en/submit_name.html | 10 |
2 files changed, 30 insertions, 10 deletions
diff --git a/www/css/fms.css b/www/css/fms.css index dd52ba1..87811b5 100644 --- a/www/css/fms.css +++ b/www/css/fms.css @@ -4,17 +4,29 @@ label{ display:none; } - label.inline { - display: inline; - padding: 0 2em 0 1em; - font-weight: normal; - } input, textarea{ border:none; width:100%; padding: 0.5em; border-radius:0; } + .ui-checkbox, + .ui-controlgroup .ui-checkbox + { + -webkit-border-radius: 0; + border-radius:0; + margin: 0 -1px; + } + .ui-icon.ui-icon-checkbox-on, + .ui-icon.ui-icon-checkbox-off + { + background-image: url(images/icons-18-white.png); + } + .ui-controlgroup-controls .ui-checkbox label, + .ui-controlgroup-controls .ui-checkbox label + { + border: none; border-width: 0; + } textarea{ min-height: 10em; } @@ -27,9 +39,15 @@ margin-left: -15px; margin-right: -15px; } - .gmailstyletest > div{ + .gmailstyletest > div, + .ui-field-contain + { + border:none; border-bottom: 1px solid #ccc; } + .ui-field-contain{ + padding: 0; + } .gmailstyletest input, .gmailstyletest input[type="password"], diff --git a/www/templates/en/submit_name.html b/www/templates/en/submit_name.html index 7e487a4..8439964 100644 --- a/www/templates/en/submit_name.html +++ b/www/templates/en/submit_name.html @@ -6,10 +6,12 @@ <div class="gmailstyletest"> <input data-role="none" type="text" value="<%= user.name %>" name="name" id="form_name" placeholder="Please enter your name" required> <input data-role="none" type="tel" value="<%= user.phone %>" name="name" id="form_phone" placeholder="Please enter your phone number"> - </div> - <div class="checkbox-group"> - <input data-role="none" type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked> - <label data-role="none" class="inline" for="form_may_show_name">Show my name publicly</label> + <div data-role="fieldcontain"> + <fieldset data-role="controlgroup"> + <input type="checkbox" name="may_show_name" id="form_may_show_name" value="1" checked> + <label for="form_may_show_name">Show my name publicly</label> + </fieldset> + </div> </div> <input data-role="button" data-theme="a" type="button" id="send_confirm" name="send_confirm" value="Send confirmation email"> <input data-role="button" data-theme="a" type="button" id="set_password" name="set_password" value="Set a password"> |