diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-17 00:29:29 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-17 00:29:29 +0100 |
commit | 4d37c7b138faaf70de2c2d3db14fc212ce4c3f2c (patch) | |
tree | 14f6554d3c66a82e223b3403df6d7b412f0411f0 | |
parent | 4995e44aab82101d4a77987ca0b9ea8820d6bb1f (diff) | |
download | Ishtar-4d37c7b138faaf70de2c2d3db14fc212ce4c3f2c.tar.bz2 Ishtar-4d37c7b138faaf70de2c2d3db14fc212ce4c3f2c.zip |
Improve search button layout
-rw-r--r-- | archaeological_files/templates/ishtar/administrativeact_document.html | 2 | ||||
-rw-r--r-- | ishtar_common/static/media/style.css | 16 | ||||
-rw-r--r-- | ishtar_common/templates/blocks/JQueryJqGrid.html | 2 |
3 files changed, 16 insertions, 4 deletions
diff --git a/archaeological_files/templates/ishtar/administrativeact_document.html b/archaeological_files/templates/ishtar/administrativeact_document.html index cdb2b45be..5d71519f0 100644 --- a/archaeological_files/templates/ishtar/administrativeact_document.html +++ b/archaeological_files/templates/ishtar/administrativeact_document.html @@ -10,7 +10,7 @@ <form action="." method="post">{% csrf_token %} <div class='form'> <table> -{{ search_form.as_table }} +{{ search_form.as_p }} </table> <h4>{% trans "Choose the type of document" %}</h4> <table> diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css index dd555a2c8..4467a0639 100644 --- a/ishtar_common/static/media/style.css +++ b/ishtar_common/static/media/style.css @@ -167,7 +167,7 @@ button, input[type=submit], button.submit{ border:1px solid #FFF; margin:6px; font-size:0.9em; - padding:4px 3px; + padding:4px 8px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; @@ -179,6 +179,18 @@ button:hover, input[type=submit]:hover{ border:1px solid #922; } +button.ui-widget-header { + font-weight: normal; + border:1px solid #f8b950; + background: #f8b950; +} + +button.ui-widget-header:hover { + color:#fff; + border:1px solid #f8b950; + background: #f8b950; +} + textarea, input[type=text], input[type=password], @@ -266,7 +278,7 @@ div#validation-bar.big{ } a.button{ - padding:0.5em; + padding: 8px; } #reset_wizards{ diff --git a/ishtar_common/templates/blocks/JQueryJqGrid.html b/ishtar_common/templates/blocks/JQueryJqGrid.html index 1639c70f2..063a3c1da 100644 --- a/ishtar_common/templates/blocks/JQueryJqGrid.html +++ b/ishtar_common/templates/blocks/JQueryJqGrid.html @@ -1,6 +1,6 @@ {% load i18n %} -<button id='search_{{name}}' class='submit'>{% trans "Search" %}</button> +<button id='search_{{name}}' class='submit ui-widget-header'>{% trans "Search" %}</button> {% if url_new %} <p><a href="#" onclick="open_window('{{url_new}}');">{{new_message}}</a></p> |