Files
pathfinder/sass/layout/_sortable.scss
Mark Friedrich 0c3d57e833 - BC Break: Required _PHP_ version changed >=7.1>=7.2
- NEW "plugin API" for custom UI modules, closed #913
- NEW live "Killstream" for killboard module, closed #909
- NEW "custom layout" UI settings, closed #470
2020-02-01 12:40:17 +01:00

56 lines
1.1 KiB
SCSS

// 'Sortable' js lib (drag&drop) ======================================================================================
.pf-sortable-handle {
&:before {
content: '\22EE\22EE\00A0';
display: inline-block;
cursor: -moz-grab !important;
cursor: -webkit-grab !important;
cursor: grab !important;
color: $gray-light;
width: 12px;
transition: color 0.15s ease-out;
}
&:hover {
&:before {
color: $orange-light;
}
}
}
.pf-sortable-ghost {
opacity: 0.7 !important;
.pf-sortable-handle {
color: $orange-light;
}
}
.pf-sortable-chosen {
background: rgba($orange, 0.2);
}
.pf-sortable-dropzone {
&:after {
content: attr(data-area);
display: flex;
justify-content: center;
align-items: center;
height: 100%;
background-color: rgba(40, 51, 67, 0.25);
color: $orange-dark;
font-size: 20px;
text-transform: uppercase;
font-weight: bold;
position: absolute;
top: 0;
left: 0;
width: 100%;
pointer-events: none;
border: 1px dashed $teal-dark;
border-radius: 5px;
border-top-left-radius: 0;
z-index: 1;
}
}