Files
zn-ai/src/renderer/styles/index.css
2025-12-17 16:44:18 +08:00

53 lines
693 B
CSS

@import "tailwindcss";
@import "./theme/index.css";
@plugin "@tailwindcss/typography";
.bg {
background: linear-gradient(180deg, #EFF6FF 0%, #F5F7FA 40%);
}
* {
user-select: none;
}
body, #app {
overflow: hidden;
}
body {
font-size: 16px;
line-height: 1.6;
height: 100vh;
width: 100vw;
}
#app {
height: 100%;
width: 100%;
background-color: var(--bg-secondary);
}
.no-drag {
-webkit-app-region: no-drag;
}
.drag-region {
-webkit-app-region: drag;
}
.dialog-overlay {
opacity: 0;
transition: opacity 0.8s ease;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
z-index: 9999;
&.show {
opacity: 1;
}
}