mm
This commit is contained in:
111
packages/css/utility/cursor.css
Normal file
111
packages/css/utility/cursor.css
Normal file
@@ -0,0 +1,111 @@
|
||||
@layer utility {
|
||||
/* ===== 基础光标 ===== */
|
||||
.cursor-auto {
|
||||
cursor: auto;
|
||||
}
|
||||
.cursor-default {
|
||||
cursor: default;
|
||||
}
|
||||
.cursor-pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cursor-wait {
|
||||
cursor: wait;
|
||||
}
|
||||
.cursor-text {
|
||||
cursor: text;
|
||||
}
|
||||
.cursor-move {
|
||||
cursor: move;
|
||||
}
|
||||
.cursor-help {
|
||||
cursor: help;
|
||||
}
|
||||
.cursor-not-allowed {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* ===== 拖拽 / 抓取 ===== */
|
||||
.cursor-grab {
|
||||
cursor: grab;
|
||||
}
|
||||
.cursor-grabbing {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
/* ===== 调整大小(通用 & 方向)===== */
|
||||
.cursor-resize {
|
||||
cursor: resize;
|
||||
}
|
||||
.cursor-ew-resize {
|
||||
cursor: ew-resize;
|
||||
}
|
||||
.cursor-ns-resize {
|
||||
cursor: ns-resize;
|
||||
}
|
||||
.cursor-nesw-resize {
|
||||
cursor: nesw-resize;
|
||||
}
|
||||
.cursor-nwse-resize {
|
||||
cursor: nwse-resize;
|
||||
}
|
||||
.cursor-col-resize {
|
||||
cursor: col-resize;
|
||||
}
|
||||
.cursor-row-resize {
|
||||
cursor: row-resize;
|
||||
}
|
||||
|
||||
.cursor-n-resize {
|
||||
cursor: n-resize;
|
||||
}
|
||||
.cursor-e-resize {
|
||||
cursor: e-resize;
|
||||
}
|
||||
.cursor-s-resize {
|
||||
cursor: s-resize;
|
||||
}
|
||||
.cursor-w-resize {
|
||||
cursor: w-resize;
|
||||
}
|
||||
.cursor-ne-resize {
|
||||
cursor: ne-resize;
|
||||
}
|
||||
.cursor-nw-resize {
|
||||
cursor: nw-resize;
|
||||
}
|
||||
.cursor-se-resize {
|
||||
cursor: se-resize;
|
||||
}
|
||||
.cursor-sw-resize {
|
||||
cursor: sw-resize;
|
||||
}
|
||||
|
||||
/* ===== 视觉反馈 ===== */
|
||||
.cursor-crosshair {
|
||||
cursor: crosshair;
|
||||
}
|
||||
.cursor-progress {
|
||||
cursor: progress;
|
||||
}
|
||||
.cursor-no-drop {
|
||||
cursor: no-drop;
|
||||
}
|
||||
.cursor-vertical-text {
|
||||
cursor: vertical-text;
|
||||
}
|
||||
|
||||
/* ===== 现代 / 扩展光标 ===== */
|
||||
.cursor-zoom-in {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
.cursor-zoom-out {
|
||||
cursor: zoom-out;
|
||||
}
|
||||
.cursor-alias {
|
||||
cursor: alias;
|
||||
}
|
||||
.cursor-copy {
|
||||
cursor: copy;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user