mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-06 17:41:01 +00:00
Label replaced by a button on the nav search form
This commit is contained in:
parent
e9e3f93805
commit
f86c2b5fa6
6 changed files with 13 additions and 13 deletions
|
@ -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 {
|
#button_filters {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,16 +24,6 @@ nav .input-field input {
|
||||||
padding-left: 0.5rem;
|
padding-left: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-entry-button {
|
|
||||||
padding: 0 1rem;
|
|
||||||
background-color: transparent;
|
|
||||||
border: none;
|
|
||||||
|
|
||||||
&:focus {
|
|
||||||
background-color: inherit;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tabs {
|
.tabs {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{% if form_errors(form) %}
|
{% if form_errors(form) %}
|
||||||
<span class="black-text">{{ form_errors(form) }}</span>
|
<span class="black-text">{{ form_errors(form) }}</span>
|
||||||
{% endif %}
|
{% 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) %}
|
{% if form_errors(form.url) %}
|
||||||
<span class="black-text">{{ form_errors(form.url) }}</span>
|
<span class="black-text">{{ form_errors(form.url) }}</span>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
{% if form_errors(form) %}
|
{% if form_errors(form) %}
|
||||||
<span class="black-text">{{ form_errors(form) }}</span>
|
<span class="black-text">{{ form_errors(form) }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<button type="submit" class="nav-form-button"><i class="material-icons search">search</i></button>
|
||||||
|
|
||||||
{% if form_errors(form.term) %}
|
{% if form_errors(form.term) %}
|
||||||
<span class="black-text">{{ form_errors(form.term) }}</span>
|
<span class="black-text">{{ form_errors(form.term) }}</span>
|
||||||
|
|
|
@ -125,7 +125,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
<div class="input-field nav-panel-search" style="display: none">
|
<div class="input-field nav-panel-search" style="display: none">
|
||||||
{{ render(controller("WallabagCoreBundle:Entry:searchForm", {'currentRoute': app.request.attributes.get('_route')})) }}
|
{{ 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>
|
<i class="material-icons close">clear</i>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field nav-panel-add" style="display: none">
|
<div class="input-field nav-panel-add" style="display: none">
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue