Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
This commit is contained in:
commit
3b578aa1fd
@ -82,6 +82,10 @@ li {
|
||||
color: #eee;
|
||||
margin: -1px;
|
||||
}
|
||||
.selected .fa-minus-square-o,
|
||||
.selected .fa-plus-square-o {
|
||||
color: #000;
|
||||
}
|
||||
span.fa-folder,
|
||||
span.fa-folder-open {
|
||||
color: #FEDE8B;
|
||||
@ -102,18 +106,21 @@ span.fa-folder-open {
|
||||
color: #000;
|
||||
}
|
||||
#tree li {
|
||||
padding: 0 0 0 5px;
|
||||
cursor: auto;
|
||||
}
|
||||
#tree li.collapsed ul {
|
||||
display: none;
|
||||
}
|
||||
#tree li input {
|
||||
width: calc(70%);
|
||||
width: calc(100% - 30px);
|
||||
}
|
||||
#tree li > span.element-row {
|
||||
width: 100%;
|
||||
width: calc(100% + 5px);
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin-left: -5px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
#tree li > span.element-row:not(.selected):hover {
|
||||
background-color: #eee;
|
||||
|
||||
@ -112,6 +112,9 @@ li {
|
||||
background: #666;
|
||||
color: #eee;
|
||||
margin: -1px;
|
||||
.fa-minus-square-o, .fa-plus-square-o {
|
||||
color: @tree-fg;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
@ -137,17 +140,20 @@ span {
|
||||
padding: 10px 0px;
|
||||
color: @tree-fg;
|
||||
li {
|
||||
padding: 0 0 0 5px;
|
||||
cursor: auto;
|
||||
&.collapsed ul {
|
||||
display: none;
|
||||
}
|
||||
input {
|
||||
width: calc(100% - 30px);
|
||||
width: ~"calc(100% - 30px)";
|
||||
}
|
||||
& > span.element-row {
|
||||
width: 100%;
|
||||
width: ~"calc(100% + 5px)";
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
margin-left: -5px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
& > span.element-row:not(.selected):hover {
|
||||
background-color: @drive-hover;
|
||||
|
||||
@ -1694,6 +1694,7 @@ define([
|
||||
moveElements([path], [TRASH], false, refresh);
|
||||
}
|
||||
else if ($(this).hasClass('open')) {
|
||||
$element.click();
|
||||
$element.dblclick();
|
||||
}
|
||||
else if ($(this).hasClass('open_ro')) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user