diff options
author | plegall <plg@piwigo.org> | 2012-02-18 22:09:08 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-02-18 22:09:08 +0000 |
commit | d174cd3ac5582755d8ed834e551714371d8af020 (patch) | |
tree | e343950c0ba70dc01b1fbd22f045324cb3dc7d90 /admin/themes/default | |
parent | 84a48c999cb1b5e14759168e426b1af1d1f01062 (diff) |
change color scheme on submit buttons for clear theme: white text on dark gray
background and orange background on :hover.
On many places, the submit buttons are now left aligned (instead of centered)
On configuration option screens, the "Reset" button was removed: useless and
confusing.
Much simpler "Quick Local Synchronization" button on admin/intro.tpl for admin
theme clear.
git-svn-id: http://piwigo.org/svn/trunk@13244 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r-- | admin/themes/default/template/configuration.tpl | 3 | ||||
-rw-r--r-- | admin/themes/default/template/intro.tpl | 2 | ||||
-rw-r--r-- | admin/themes/default/theme.css | 6 |
3 files changed, 6 insertions, 5 deletions
diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl index df4df0157..eab3aa8d3 100644 --- a/admin/themes/default/template/configuration.tpl +++ b/admin/themes/default/template/configuration.tpl @@ -502,9 +502,8 @@ jQuery(document).ready(function(){ {/if} {if !isset($default)} - <p> + <p class="formButtons"> <input class="submit" type="submit" name="submit" value="{'Save Settings'|@translate}"> - <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> </p> </form> {/if} diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl index 679a3565f..fc460c115 100644 --- a/admin/themes/default/template/intro.tpl +++ b/admin/themes/default/template/intro.tpl @@ -98,7 +98,7 @@ jQuery().ready(function(){ </div> <div class="bigbutton"> <span class="bigtext">{'Quick Local Synchronization'|@translate}</span> -<input type="submit" value="" name="submit"> +<input type="submit" value="{'Quick Local Synchronization'|@translate}" name="submit"> </div> </form> {/if}
\ No newline at end of file diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 53c99e10f..dd49c3ee4 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -348,17 +348,19 @@ FORM { padding: 0em; } FORM P { text-align: center; - margin-top: 2em; - margin-bottom: 2em; + margin:1em; } form p.field { text-align: left; } +form p.formButtons {text-align:left;} + FORM FIELDSET P { margin-top: 1em; margin-bottom: 0; + text-align:left; } .small { |