Files
jiaowu-test/src/pages/Dashboard/index.css

65 lines
1.4 KiB
CSS

/* Dashboard页面专用变量定义 - 不与其他文件共享 */
.dashboard,
.dashboard * {
--primary-color: #3b82f6;
--text-primary: #111827;
--text-secondary: #6b7280;
--text-muted: #9ca3af;
--card-bg: #ffffff;
--border-color: #e5e7eb;
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
/* Dashboard页面样式 */
.dashboard {
width: 100%;
animation: fadeIn 0.3s ease-in-out;
.dashboard-wrapper {
display: flex;
justify-content: flex-start;
align-items: center;
flex-wrap: wrap;
box-sizing: border-box;
padding: 20px;
.dashboard-left-content {
width: 766px;
height: 966px;
flex-shrink: 0;
.status-rank-wrapper {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
.class-rank-wrapper {
height: 420px;
}
}
}
.dashboard-right-content {
flex: 1;
height: 966px;
margin-left: 20px;
background-color: #ffffff;
border-radius: 16px;
position: relative;
&::after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100px;
background-image: url("@/assets/images/Dashboard/right_content_bg.png");
background-size: 100% 100%;
}
}
}
}