forked from Ponysearch/Ponysearch
oscar template: little style improvements
This commit is contained in:
parent
47d1caed61
commit
dc2c136220
3 changed files with 11 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -38,4 +38,8 @@ $(document).ready(function(){
|
|||
$(this).html(html);
|
||||
}
|
||||
});
|
||||
|
||||
$(".select-all-on-click").click(function () {
|
||||
$(this).select();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue