feat(utils): cursor 不使用 less

This commit is contained in:
青木 2023-04-22 04:42:16 +00:00 committed by 林熠
parent aab8a3a10e
commit c50a0823db
3 changed files with 20 additions and 16 deletions

View File

@ -0,0 +1,19 @@
html.lc-cursor-dragging,
html.lc-cursor-dragging * {
cursor: move !important;
}
html.lc-cursor-x-resizing,
html.lc-cursor-x-resizing * {
cursor: col-resize;
}
html.lc-cursor-y-resizing,
html.lc-cursor-y-resizing * {
cursor: row-resize;
}
html.lc-cursor-copy,
html.lc-cursor-copy * {
cursor: copy !important;
}

View File

@ -1,15 +0,0 @@
html.lc-cursor-dragging, html.lc-cursor-dragging * {
cursor: move !important;
}
html.lc-cursor-x-resizing, html.lc-cursor-x-resizing * {
cursor: col-resize;
}
html.lc-cursor-y-resizing, html.lc-cursor-y-resizing * {
cursor: row-resize;
}
html.lc-cursor-copy, html.lc-cursor-copy * {
cursor: copy !important;
}

View File

@ -1,4 +1,4 @@
import './cursor.less';
import './cursor.css';
export class Cursor {
private states = new Set<string>();