Merge pull request #2730 from Simounet/feature/all-actions-on-mobile

Access to search, filters, export on mobile
This commit is contained in:
Nicolas Lœuillet 2016-12-30 11:10:47 +01:00 committed by GitHub
commit 5f4667e3e8
3 changed files with 54 additions and 34 deletions

View file

@ -283,6 +283,16 @@ nav input {
color: #aaa;
}
nav {
height: auto;
}
.nav-wrapper {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.nav-wrapper .button-collapse {
padding: 0 15px;
}
@ -291,8 +301,10 @@ nav input {
display: none;
}
.nav-panels {
overflow: hidden;
.nav-panel-buttom {
display: flex;
flex-grow: 1;
justify-content: right;
}
.nav-panel-buttom li {
@ -357,7 +369,7 @@ nav input {
.input-field.nav-panel-add form,
.input-field.nav-panel-search,
.input-field.nav-panel-search form {
height: 100%;
flex-grow: 1;
}
/* ==========================================================================
@ -807,6 +819,14 @@ article aside .tools li {
width: auto;
}
.nav-panels .action {
padding-right: 0.75rem;
}
.nav-panel-buttom {
justify-content: space-around;
}
#article {
max-width: 35em;
margin-left: auto;
@ -843,11 +863,13 @@ article aside .tools li {
.pagination li.next {
width: auto;
}
.drag-target + .drag-target {
height: 50%;
}
@media only screen and (min-width: 400px) {
.nav-panel-buttom {
float: right;
.drag-target + .drag-target + .drag-target {
top: 50%;
}
}

View file

@ -80,8 +80,7 @@
{% block title %}
{% endblock %}
</div>
<div class="input-field nav-panel-buttom">
<ul>
<ul class="input-field nav-panel-buttom">
<li class="bold">
<a class="waves-effect tooltipped" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.add_new_entry'|trans }}" href="{{ path('new') }}" id="nav-btn-add">
<i class="material-icons">add</i>
@ -103,7 +102,6 @@
</a>
</li>
</ul>
</div>
<div class="input-field nav-panel-search" style="display: none">
{{ render(controller("WallabagCoreBundle:Entry:searchForm", {'currentRoute': app.request.attributes.get('_route')})) }}
<label for="search" class="active"><i class="material-icons search">search</i></label>

File diff suppressed because one or more lines are too long