Label replaced by a button on the nav search form

This commit is contained in:
Simounet 2017-12-28 20:24:39 +01:00 committed by Nicolas Lœuillet
parent e9e3f93805
commit f86c2b5fa6
6 changed files with 13 additions and 13 deletions

View file

@ -116,6 +116,16 @@ nav .nav-wrapper i {
}
}
.nav-form-button {
padding: 0 1rem;
background-color: transparent;
border: none;
&:focus {
background-color: inherit;
}
}
#button_filters {
display: none;
}

View file

@ -24,16 +24,6 @@ nav .input-field input {
padding-left: 0.5rem;
}
.new-entry-button {
padding: 0 1rem;
background-color: transparent;
border: none;
&:focus {
background-color: inherit;
}
}
.tabs {
display: flex;
}

View file

@ -2,7 +2,7 @@
{% if form_errors(form) %}
<span class="black-text">{{ form_errors(form) }}</span>
{% endif %}
<button type="submit" class="new-entry-button"><i class="material-icons add">add</i></button>
<button type="submit" class="nav-form-button"><i class="material-icons add">add</i></button>
{% if form_errors(form.url) %}
<span class="black-text">{{ form_errors(form.url) }}</span>

View file

@ -2,6 +2,7 @@
{% if form_errors(form) %}
<span class="black-text">{{ form_errors(form) }}</span>
{% endif %}
<button type="submit" class="nav-form-button"><i class="material-icons search">search</i></button>
{% if form_errors(form.term) %}
<span class="black-text">{{ form_errors(form.term) }}</span>

View file

@ -125,7 +125,6 @@
</ul>
<div class="input-field nav-panel-search" style="display: none">
{{ render(controller("WallabagCoreBundle:Entry:searchForm", {'currentRoute': app.request.attributes.get('_route')})) }}
<label for="search"><i class="material-icons search">search</i></label>
<i class="material-icons close">clear</i>
</div>
<div class="input-field nav-panel-add" style="display: none">

File diff suppressed because one or more lines are too long