mirror of
https://github.com/mathuo/dockview
synced 2025-01-22 17:35:57 +00:00
feat: rename class
This commit is contained in:
parent
9ccc7add41
commit
16e0971275
@ -22,26 +22,26 @@
|
|||||||
will-change: transform;
|
will-change: transform;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
&.dv-droptarget-top {
|
&.dv-drop-target-top {
|
||||||
&.dv-droptarget-small-vertical {
|
&.dv-drop-target-small-vertical {
|
||||||
border-top: 1px solid var(--dv-drag-over-border-color);
|
border-top: 1px solid var(--dv-drag-over-border-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.dv-droptarget-bottom {
|
&.dv-drop-target-bottom {
|
||||||
&.dv-droptarget-small-vertical {
|
&.dv-drop-target-small-vertical {
|
||||||
border-bottom: 1px solid var(--dv-drag-over-border-color);
|
border-bottom: 1px solid var(--dv-drag-over-border-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.dv-droptarget-left {
|
&.dv-drop-target-left {
|
||||||
&.dv-droptarget-small-horizontal {
|
&.dv-drop-target-small-horizontal {
|
||||||
border-left: 1px solid var(--dv-drag-over-border-color);
|
border-left: 1px solid var(--dv-drag-over-border-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.dv-droptarget-right {
|
&.dv-drop-target-right {
|
||||||
&.dv-droptarget-small-horizontal {
|
&.dv-drop-target-small-horizontal {
|
||||||
border-right: 1px solid var(--dv-drag-over-border-color);
|
border-right: 1px solid var(--dv-drag-over-border-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -271,21 +271,21 @@ export class Droptarget extends CompositeDisposable {
|
|||||||
|
|
||||||
toggleClass(
|
toggleClass(
|
||||||
this.overlayElement,
|
this.overlayElement,
|
||||||
'dv-droptarget-small-vertical',
|
'dv-drop-target-small-vertical',
|
||||||
isSmallY
|
isSmallY
|
||||||
);
|
);
|
||||||
toggleClass(
|
toggleClass(
|
||||||
this.overlayElement,
|
this.overlayElement,
|
||||||
'dv-droptarget-small-horizontal',
|
'dv-drop-target-small-horizontal',
|
||||||
isSmallX
|
isSmallX
|
||||||
);
|
);
|
||||||
toggleClass(this.overlayElement, 'dv-droptarget-left', isLeft);
|
toggleClass(this.overlayElement, 'dv-drop-target-left', isLeft);
|
||||||
toggleClass(this.overlayElement, 'dv-droptarget-right', isRight);
|
toggleClass(this.overlayElement, 'dv-drop-target-right', isRight);
|
||||||
toggleClass(this.overlayElement, 'dv-droptarget-top', isTop);
|
toggleClass(this.overlayElement, 'dv-drop-target-top', isTop);
|
||||||
toggleClass(this.overlayElement, 'dv-droptarget-bottom', isBottom);
|
toggleClass(this.overlayElement, 'dv-drop-target-bottom', isBottom);
|
||||||
toggleClass(
|
toggleClass(
|
||||||
this.overlayElement,
|
this.overlayElement,
|
||||||
'dv-droptarget-center',
|
'dv-drop-target-center',
|
||||||
quadrant === 'center'
|
quadrant === 'center'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user