Ability to drag&select in the drive
This commit is contained in:
@@ -121,6 +121,16 @@ li {
|
||||
}
|
||||
}
|
||||
|
||||
.selectedTmp {
|
||||
border: 1px dotted #bbb;
|
||||
background: #AAA;
|
||||
color: #ddd;
|
||||
margin: -1px;
|
||||
.fa-minus-square-o, .fa-plus-square-o {
|
||||
color: @tree-fg;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
&.fa-folder, &.fa-folder-open {
|
||||
color: #FEDE8B;
|
||||
@@ -260,6 +270,12 @@ span {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
position: relative;
|
||||
.selectBox {
|
||||
display: none;
|
||||
background-color: rgba(100, 100, 100, 0.7);
|
||||
position: absolute;
|
||||
}
|
||||
&.readonly {
|
||||
background: @content-bg-ro;
|
||||
}
|
||||
@@ -287,7 +303,7 @@ span {
|
||||
/*pointer-events: none;*/
|
||||
}
|
||||
&:hover {
|
||||
&:not(.selected) {
|
||||
&:not(.selected, .selectedTmp) {
|
||||
background-color: @drive-hover;
|
||||
}
|
||||
.name {
|
||||
@@ -357,8 +373,8 @@ span {
|
||||
padding-bottom: 5px;
|
||||
max-height: 145px;
|
||||
|
||||
&:not(.selected) {
|
||||
border: transparent 1px;
|
||||
&:not(.selected):not(.selectedTmp) {
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.name {
|
||||
width: 100%;
|
||||
@@ -384,6 +400,7 @@ span {
|
||||
|
||||
.list {
|
||||
// Make it act as a table!
|
||||
padding-left: 20px;
|
||||
ul {
|
||||
display: table;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user