267 lines
4 KiB
SCSS
Vendored
267 lines
4 KiB
SCSS
Vendored
.dd {
|
|
position: relative;
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
max-width: 600px;
|
|
list-style: none;
|
|
font-size: 13px;
|
|
line-height: 20px
|
|
}
|
|
|
|
.dd-list {
|
|
display: block;
|
|
position: relative;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none
|
|
}
|
|
|
|
.dd-list .dd-list {
|
|
padding-left: 30px
|
|
}
|
|
|
|
.dd-empty,
|
|
.dd-item,
|
|
.dd-placeholder {
|
|
display: block;
|
|
position: relative;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 20px;
|
|
font-size: 12px;
|
|
line-height: 20px
|
|
}
|
|
|
|
.dd-handle {
|
|
display: block;
|
|
height: 30px;
|
|
margin: 5px 0;
|
|
padding: 5px 10px;
|
|
color: $white;
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
border-radius: 3px;
|
|
box-sizing: border-box
|
|
}
|
|
|
|
.dd-handle:hover {
|
|
color: #2ea8e5;
|
|
}
|
|
|
|
.dd-item>button {
|
|
position: relative;
|
|
cursor: pointer;
|
|
float: left;
|
|
width: 11px;
|
|
height: 20px;
|
|
margin: 5px 0;
|
|
padding: 0;
|
|
text-indent: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
border: 0;
|
|
background: 0 0;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
text-align: center;
|
|
font-weight: 700
|
|
}
|
|
|
|
.dd-item>button:before {
|
|
display: block;
|
|
position: absolute;
|
|
width: 100%;
|
|
text-align: center;
|
|
text-indent: 0;
|
|
color: white;
|
|
font-family: "Font Awesome 5 Pro";
|
|
font-weight: 900;
|
|
top: 3px;
|
|
}
|
|
|
|
.dd-item>button.dd-expand:before {
|
|
content: '\f0da'
|
|
}
|
|
|
|
.dd-item>button.dd-collapse:before {
|
|
content: '\f0d7'
|
|
}
|
|
|
|
.dd-expand {
|
|
display: none
|
|
}
|
|
|
|
.dd-collapsed .dd-collapse,
|
|
.dd-collapsed .dd-list {
|
|
display: none
|
|
}
|
|
|
|
.dd-collapsed .dd-expand {
|
|
display: block
|
|
}
|
|
|
|
.dd-empty,
|
|
.dd-placeholder {
|
|
margin: 0px 0;
|
|
padding: 0;
|
|
min-height: 30px;
|
|
background: $grey;
|
|
border: 1px dashed #b6bcbf;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box
|
|
}
|
|
|
|
.dd-empty {
|
|
border: 1px dashed #bbb;
|
|
min-height: 100px;
|
|
background-size: 60px 60px;
|
|
background-position: 0 0, 30px 30px
|
|
}
|
|
|
|
.dd-dragel {
|
|
position: absolute;
|
|
pointer-events: none;
|
|
z-index: 9999
|
|
}
|
|
|
|
.dd-dragel>.dd-item .dd-handle {
|
|
margin-top: 0
|
|
}
|
|
|
|
.dd-dragel .dd-handle {
|
|
box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1)
|
|
}
|
|
|
|
.dd-nochildren .dd-placeholder {
|
|
display: none
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Nestable Draggable Handles
|
|
*/
|
|
|
|
.dd3-content {
|
|
display: block;
|
|
height: 30px;
|
|
margin: 0;
|
|
padding: 5px 10px 5px 33px;
|
|
text-decoration: none;
|
|
color: $white;
|
|
-webkit-border-radius: 3px;
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
|
|
span{
|
|
text-overflow: ellipsis;
|
|
word-wrap: break-word;
|
|
white-space: nowrap;
|
|
display: inline;
|
|
width: 209px;
|
|
overflow: hidden;
|
|
height: 20px;
|
|
}
|
|
.count{
|
|
float: right;
|
|
display: inline;
|
|
background-color: $dark;
|
|
color: $grey2;
|
|
border-radius: 11px;
|
|
padding: 0px 8px;
|
|
margin-left: 5px;
|
|
}
|
|
i{
|
|
color: $yellow;
|
|
float: right;
|
|
padding: 3px;
|
|
|
|
&.fas{
|
|
display: inline-block;
|
|
}
|
|
&.fal{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background-color: rgba(46, 168, 229,0.2);
|
|
|
|
i.fal{
|
|
display: inline-block;
|
|
}
|
|
|
|
}
|
|
&.selected, &.dragged{
|
|
color:$white;
|
|
background-color: #2ea8e5;
|
|
|
|
&:hover {
|
|
color:$white;
|
|
}
|
|
}
|
|
.input_rename{
|
|
display: none;
|
|
width: 91%;
|
|
padding: 2px 1%;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
}
|
|
|
|
.dd-dragel > .dd3-item > .dd3-content {
|
|
margin: 0;
|
|
}
|
|
|
|
.dd3-content.renaming{
|
|
.input_rename{
|
|
display: inline-block;
|
|
}
|
|
span{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.dd3-item > button {
|
|
margin-left: 27px;
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.dd3-handle {
|
|
position: absolute;
|
|
margin: 0;
|
|
left: 0;
|
|
top: 0;
|
|
cursor: move;
|
|
width: 30px;
|
|
text-indent: 30px;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
|
|
&.no-handle{
|
|
cursor: default;
|
|
}
|
|
}
|
|
|
|
.dd3-handle:before {
|
|
content: '\f07b';
|
|
font-family: "Font Awesome 5 Pro";
|
|
font-weight: 900;
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 3px;
|
|
width: 100%;
|
|
text-align: center;
|
|
text-indent: 0;
|
|
color: $white;
|
|
font-size: 13px;
|
|
}
|