oscar template: little style improvements

This commit is contained in:
Thomas Pointhuber 2014-09-27 15:46:57 +02:00
parent 47d1caed61
commit dc2c136220
3 changed files with 11 additions and 1 deletions

View file

@ -28,6 +28,7 @@ input[type=checkbox]:not(:checked) ~ .label_hide_if_not_checked {
.search_categories { .search_categories {
margin:10px 0; margin:10px 0;
text-transform: capitalize;
} }
.result-default { .result-default {
@ -62,4 +63,9 @@ input[type=checkbox]:not(:checked) ~ .label_hide_if_not_checked {
#pagination { #pagination {
margin-top: 30px; margin-top: 30px;
padding-bottom: 50px;
}
.cursor-text {
cursor: text !important;
} }

View file

@ -38,4 +38,8 @@ $(document).ready(function(){
$(this).html(html); $(this).html(html);
} }
}); });
$(".select-all-on-click").click(function () {
$(this).select();
});
}); });

View file

@ -68,7 +68,7 @@
<form role="form"> <form role="form">
<div class="form-group"> <div class="form-group">
<label for="search_url">{{ _('Search URL') }}</label> <label for="search_url">{{ _('Search URL') }}</label>
<input type="url" class="form-control" name="search_url" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}"> <input type="url" class="form-control select-all-on-click cursor-text" name="search_url" value="{{ base_url }}?q={{ q|urlencode }}&pageno={{ pageno }}{% if selected_categories %}&category_{{ selected_categories|join("&category_") }}{% endif %}" readonly>
</div> </div>
</form> </form>