yunsan-pc/src/styles/global.scss

117 lines
2.2 KiB
SCSS

:root {
--primary-color: #00d4ff;
--bg-dark: #0a1628;
--bg-card: rgba(0, 212, 255, 0.05);
--border-color: rgba(0, 212, 255, 0.3);
--text-primary: #e8f4ff;
--text-secondary: #7eb8d8;
}
@font-face {
font-family: 'Alibaba PuHuiTi 3.0';
src: url('/fonts/AlibabaPuHuiTi-3-65-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: BlackOpsOne;
src: url('/fonts/BlackOpsOne-Regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: YouSheBiaoTiHei;
src: url('/fonts/YouSheBiaoTiHei.woff2') format('woff2');
font-weight: 400;
font-style: normal;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body, #app {
width: 100%;
height: 100%;
overflow: hidden;
// overflow: scroll;
font-family: 'Alibaba PuHuiTi 3.0', 'Microsoft YaHei', 'PingFang SC', sans-serif;
background: var(--bg-dark);
color: var(--text-primary);
}
button,
input,
textarea,
select {
font-family: inherit;
}
.page-container {
width: 4800px;
height: 1600px;
transform-origin: top left;
position: relative;
overflow: hidden;
}
.flex-center {
display: flex;
justify-content: center;
align-items: center;
}
.flex-between {
display: flex;
justify-content: space-between;
align-items: center;
}
.glass-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 8px;
backdrop-filter: blur(10px);
}
.card-title {
font-size: 18px;
font-weight: 600;
color: var(--primary-color);
padding-bottom: 12px;
border-bottom: 1px solid var(--border-color);
margin-bottom: 16px;
}
.el-message-box {
background: var(--bg-dark) !important;
border-color: var(--border-color) !important;
}
.el-input__wrapper {
background: rgba(0, 212, 255, 0.1) !important;
box-shadow: none !important;
border: 1px solid var(--border-color) !important;
}
.el-input__inner {
color: var(--text-primary) !important;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 3px;
}