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

View File

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

View File

@ -68,7 +68,7 @@
<form role="form">
<div class="form-group">
<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>
</form>