feat multiselection: select multiple files and act on them

fix breadcrumb: fixed breadcrumb history not working properly when clicking on "sdcard"
fix dialogs/menus: fixed clicking out of menus and dialogs triggering actions other than hiding the dialog/event
This commit is contained in:
Mahdi Dibaiee
2015-09-05 16:09:09 +04:30
parent 39dd4903f9
commit 764554c6b9
45 changed files with 531 additions and 1867 deletions

View File

@ -52,39 +52,6 @@ nav {
padding-bottom: 0;
border-bottom: none;
}
label {
clear: left;
&::after {
content: '';
display: block;
float: right;
margin-right: 13px;
border-radius: 50%;
width: 10px;
height: 10px;
background: transparent;
border: 1px solid @overlay;
}
}
input {
clear: right;
float: right;
display: none;
}
input:checked + label::after {
background: @blue;
}
}
i {

View File

@ -37,11 +37,11 @@
height: 28px;
}
.icon-share {
.icon-select {
.icon;
background: url(/img/Share.svg) no-repeat;
width: 25px;
height: 27px;
background: url(/img/Select.svg) no-repeat;
width: 32px;
height: 34px;
}
.icon-more {

View File

@ -14,27 +14,35 @@ input {
.light-medium;
}
input[type="checkbox"] {
width: 0;
height: 0;
}
label {
clear: left;
input[type="checkbox"]::before {
content: '';
display: block;
&::after {
content: '';
display: block;
border: 1px solid @gray;
float: right;
background: transparent;
margin-right: 13px;
border-radius: 50%;
border-radius: 50%;
width: 10px;
height: 10px;
width: 10px;
height: 10px;
box-sizing: border-box;
background: transparent;
&:checked {
background: @blue;
border: 1px solid @overlay;
}
}
input[type='checkbox'] {
clear: right;
float: right;
display: none;
}
input:checked + label::after {
background: @blue;
}