mirror of
https://github.com/wallabag/wallabag.git
synced 2024-09-26 13:30:08 +00:00
Label replaced by a button on the nav new entry form
This commit is contained in:
parent
99e8c2785b
commit
e9e3f93805
5 changed files with 13 additions and 3 deletions
|
@ -68,7 +68,6 @@ nav .nav-wrapper i {
|
||||||
.input-field input {
|
.input-field input {
|
||||||
display: block;
|
display: block;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
padding-left: 4rem !important;
|
|
||||||
width: calc(100% - 8rem);
|
width: calc(100% - 8rem);
|
||||||
height: 4.1rem;
|
height: 4.1rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,17 @@ div.settings div.file-field {
|
||||||
|
|
||||||
nav .input-field input {
|
nav .input-field input {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
padding-left: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.new-entry-button {
|
||||||
|
padding: 0 1rem;
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs {
|
.tabs {
|
||||||
|
|
|
@ -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="new-entry-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>
|
||||||
|
|
|
@ -130,7 +130,6 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field nav-panel-add" style="display: none">
|
<div class="input-field nav-panel-add" style="display: none">
|
||||||
{{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }}
|
{{ render(controller("WallabagCoreBundle:Entry:addEntryForm")) }}
|
||||||
<label for="add"><i class="material-icons add">add</i></label>
|
|
||||||
<i class="material-icons close">clear</i>
|
<i class="material-icons close">clear</i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue