feat: 重构样式文件,删除不必要的样式并更新路径配置
All checks were successful
/ playwright (push) Successful in 1m49s
/ depcheck (push) Successful in 1m24s
/ build-and-deploy-to-vercel (push) Successful in 1m35s

This commit is contained in:
严浩
2024-12-25 09:38:29 +08:00
parent 1b62a08c4d
commit ea2eddb4c3
9 changed files with 43 additions and 39 deletions

View File

@ -1,24 +0,0 @@
:root {
--h-base-font: lxgw-wenkai-mono-tc, alibaba-puhuiti, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
:root:root {
--van-base-font: var(--h-base-font);
}
body {
/* min-height: 100vh; */
color: var(--color-text);
background: var(--color-background);
transition:
color 0.5s,
background-color 0.5s;
line-height: 1.6;
font-family: var(--h-base-font);
font-weight: 400;
font-style: normal;
font-size: 15px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

View File

@ -1,10 +0,0 @@
import 'nprogress/nprogress.css'; // <link rel="stylesheet" href="https://testingcf.jsdelivr.net/npm/nprogress/nprogress.css" />
import './main.less';
import '@unocss/reset/tailwind-compat.css'; // https://unocss.dev/guide/style-reset#tailwind-compat // <link rel="stylesheet" href="https://testingcf.jsdelivr.net/npm/@unocss/reset/tailwind.min.css" />
import 'primeicons/primeicons.css';
import './reset-primevue.css';
import 'virtual:uno.css';

View File

@ -1,16 +0,0 @@
#app {
max-width: 1280px;
margin: 0 auto;
padding: 1rem;
font-weight: normal;
}
.green {
text-decoration: none;
color: hsla(160, 100%, 37%, 1);
transition: 0.4s;
padding: 3px;
}
.green:hover {
background-color: hsla(160, 100%, 37%, 0.2);
}

View File

@ -1,35 +0,0 @@
.p-confirmdialog,
.p-toast {
max-width: calc(100% - 50px);
}
.p-toast .p-toast-message-text {
margin-top: -0.2rem;
}
.p-floatlabel:has(.p-fileupload) label {
top: var(--p-floatlabel-over-active-top);
transform: translateY(0);
font-size: var(--p-floatlabel-active-font-size);
font-weight: var(--p-floatlabel-label-active-font-weight);
}
.p-fileupload-header {
flex-wrap: wrap;
}
.p-fileupload-file-name {
word-break: break-all;
}
.p-fileupload-content .p-progressbar {
--p-fileupload-progressbar-height: 1rem;
}
.p-dialog {
overflow: hidden;
}
.p-cascadeselect-list-container {
max-height: calc(100vh - 10rem);
overflow-y: auto;
}