Use slim_mode AND isTouchDevice to provide mini_zones on tracks; fixes #151

This commit is contained in:
James Barnsley
2017-08-23 08:31:42 +12:00
parent 72f558662f
commit 5ac5c854b3
4 changed files with 70 additions and 3 deletions

View File

@ -209,6 +209,68 @@
}
}
&.track-list.mini-zones {
.list-item {
&.can-sort {
padding-left: 78px !important;
}
&:not(.can-sort){
padding-left: 46px !important;
}
.select-zone {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 38px;
font-size: 8px;
display: block;
.fa {
position: absolute;
top: 20px;
left: 19px;
pointer-events: none;
color: $white;
z-index: 1;
}
&:after {
display: block;
content: '';
border: 1px solid $mid_grey;
border-radius: 50%;
width: 14px;
height: 14px;
position: absolute;
top: 16px;
left: 16px;
}
}
.drag-zone {
position: absolute;
top: 0;
left: 38px;
height: 100%;
width: 38px;
font-size: 14px;
display: block;
color: $mid_grey;
.fa {
position: absolute;
top: 17px;
left: 8px;
pointer-events: none;
}
}
}
}
@include responsive( $bp_medium ){
.list-item {