ldc-dam/resources/scss/partials/nestable.scss
Jérémy Munsch 9767e62c72
Update NPM deps and webpack.mix.js
composer require ldc/web-status-checker-laravel remove Old static status checker

Fix ImportMedia

WIP commands OK

many fixes

Fix and try to optimize folder component

Fix front icons + actions based on icons

Favico

front fix alert

Fix Media upload on depot

fix folder component buttons

Full front fix with perf due tu vuejs

Download medias

Navigate within medias superfix

Move media + loader

isLocked boolean and remove media fix

Folder scroll fix

arcadia link color red

Fix panier show external

Tons of fixes back as front

REwrited all
2022-07-22 17:00:48 +02:00

252 lines
4.1 KiB
SCSS

.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 {
display: block;
position: absolute;
width: 1rem;
text-align: center;
text-indent: 0;
font-weight: 900;
left: -1rem;
top: 0.1rem;
margin: 0;
}
.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, 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;
pointer-events: none;
}
.count {
float: right;
display: inline;
background-color: $dark;
color: $grey2;
border-radius: 11px;
padding: 0px 8px;
margin-left: 5px;
}
& > .starButton {
color: $yellow;
float: right;
padding: 3px;
}
&:hover {
background-color: rgba(46, 168, 229, 0.2);
svg.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,
.openable,
.opened {
position: absolute;
margin: 0;
left: 0;
top: 0;
cursor: pointer;
width: 30px;
text-indent: 30px;
white-space: nowrap;
overflow: hidden;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
&.no-handle {
cursor: default;
}
}
.opened > .icon,
.openable > .icon {
display: block;
position: absolute;
left: 0;
top: 6px;
width: 100%;
text-align: center;
text-indent: 0;
color: $white;
font-size: 13px;
}
.dd-empty {
display: none !important;
}