32 lines
807 B
CSS
32 lines
807 B
CSS
@import "tailwindcss";
|
|
|
|
@plugin "daisyui" {
|
|
themes: winter --default, night --prefersdark;
|
|
}
|
|
|
|
@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;
|
|
}
|