Label replaced by a button on the nav new entry form

This commit is contained in:
Simounet 2017-12-04 19:25:03 +01:00 committed by Nicolas Lœuillet
parent 99e8c2785b
commit e9e3f93805
5 changed files with 13 additions and 3 deletions

View file

@ -68,7 +68,6 @@ nav .nav-wrapper i {
.input-field input {
display: block;
line-height: inherit;
padding-left: 4rem !important;
width: calc(100% - 8rem);
height: 4.1rem;
}

View file

@ -21,6 +21,17 @@ div.settings div.file-field {
nav .input-field input {
margin: 0;
padding-left: 0.5rem;
}
.new-entry-button {
padding: 0 1rem;
background-color: transparent;
border: none;
&:focus {
background-color: inherit;
}
}
.tabs {

View file

@ -2,6 +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>
{% if form_errors(form.url) %}
<span class="black-text">{{ form_errors(form.url) }}</span>

View file

@ -130,7 +130,6 @@
</div>
<div class="input-field nav-panel-add" style="display: none">
{{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }}
<label for="add"><i class="material-icons add">add</i></label>
<i class="material-icons close">clear</i>
</div>
</div>

File diff suppressed because one or more lines are too long