open more items layout and auto-open

This commit is contained in:
Antelle 2016-03-14 23:57:14 +03:00
parent 0de302c61b
commit c9b58f2c9e
2 changed files with 3 additions and 4 deletions

View File

@ -460,6 +460,7 @@ var AppView = Backbone.View.extend({
this.showEntries();
} else {
this.showLastOpenFile();
this.views.open.toggleMore();
}
} else {
if (menuItem) {

View File

@ -12,6 +12,8 @@
@include align-items(stretch);
@include flex-direction(row);
@include flex-shrink(0);
@include justify-content(center);
@include flex-wrap(wrap);
.open--drag & { display: none; }
}
@ -22,10 +24,6 @@
transition: color $base-duration $base-timing;
&:hover { @include th { color: medium-color(); } }
&-i, &-svg { font-size: 4em; }
.open__icons--lower & {
&-i, &-svg { font-size: 3em; }
margin: $base-padding;
}
&-text {
@include th { color: muted-color(); }
.open__icon:hover>& { @include th { color: medium-color(); } }