feat: remake most of forntend
This commit is contained in:
@@ -6,3 +6,26 @@
|
||||
|
||||
@custom-variant dark (&:where([data-theme=night], [data-theme=night] *));
|
||||
@custom-variant light (&:where([data-theme=winter], [data-theme=winter] *));
|
||||
|
||||
/* 禁止所有图像和SVG选择 */
|
||||
img, svg {
|
||||
user-select: none !important;
|
||||
-webkit-user-select: none !important;
|
||||
-moz-user-select: none !important;
|
||||
-ms-user-select: none !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
/* 允许组件中的交互元素接收事件 */
|
||||
.component-wrapper img,
|
||||
.component-wrapper svg {
|
||||
pointer-events: auto !important;
|
||||
}
|
||||
|
||||
/* 禁止双击选择文本 */
|
||||
.no-select {
|
||||
user-select: none !important;
|
||||
-webkit-user-select: none !important;
|
||||
-moz-user-select: none !important;
|
||||
-ms-user-select: none !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user