1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 18:47:23 +00:00

same fix but hopefully better

This commit is contained in:
Ghighi Eftimie 2020-10-10 13:15:02 +03:00
parent c33c6bbff0
commit 6dadc6fb1e
3 changed files with 10 additions and 17 deletions

View File

@ -2244,22 +2244,14 @@ body.langlist > div.container-fluid > div > div.col-sm-10 > div.container:before
content: "Languages"
}
body.advsearch > div.container-fluid > div > div.col-sm-2:after {
content: "Advanced Search";
position: fixed;
display: flex;
align-items: center;
padding-left: 25px;
color: hsla(0, 0%, 100%, .7);
font-family: "Open Sans Semibold", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 15px;
line-height: 60px;
white-space: nowrap;
font-weight: 400;
}
body.advsearch > div.container-fluid > div > div.col-sm-10 > div.col-md-10.col-lg-6{
body.advsearch > div.container-fluid > div > div.col-sm-10 > div.col-md-10.col-lg-6 {
padding: 15px 10px 15px 40px;
}
@media screen and (max-width: 992px) {
body.advsearch > div.container-fluid > div > div.col-sm-10 > div.col-md-10.col-lg-6 {
padding-left: 20px;
}
}
body.me > div.container-fluid > div > div.col-sm-10 > div.discover:before {

View File

@ -1,5 +1,6 @@
{% extends "layout.html" %}
{% block body %}
<h1 class="{{page}}">{{title}}</h1>
<div class="col-md-10 col-lg-6">
<form role="form" id="search" action="{{ url_for('web.advanced_search_form') }}" method="POST">
<div class="form-group">

View File

@ -951,7 +951,7 @@ def render_prepare_search_form(cc):
else:
languages = None
return render_title_template('search_form.html', tags=tags, languages=languages, extensions=extensions,
series=series, title=_(u"search"), cc=cc, page="advsearch")
series=series, title=_(u"Advanced Search"), cc=cc, page="advsearch")
def render_search_results(term, offset=None, order=None, limit=None):
@ -1392,7 +1392,7 @@ def render_adv_search_results(term, offset=None, order=None, limit=None):
pagination=pagination,
entries=q[offset:limit_all],
result_count=result_count,
title=_(u"search"), page="advsearch")
title=_(u"Advanced Search"), page="advsearch")