- NEW "plugin API" for custom UI modules, closed #913 - NEW live "Killstream" for killboard module, closed #909 - NEW "custom layout" UI settings, closed #470
56 lines
1.1 KiB
SCSS
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;
|
|
}
|
|
} |