mh-sms-web/src/routes/dashboard.css

336 lines
6.9 KiB
CSS
Raw Normal View History

2024-01-22 09:18:38 +08:00
/* 工作台调整样式 */
2024-03-13 11:19:42 +08:00
:global(.home-rate) {
width: calc(50% - 10px);
height: 100%;
display: flex;
flex-direction: column;
2024-03-19 17:36:53 +08:00
min-Width: "320px",
2024-03-13 11:19:42 +08:00
}
:global(.home-userInfo-tabs) {
background-color: #eefff8;
color: #55c596;
padding: 3px 10px;
border-radius: 15px;
border: 1px solid #55c596;
}
:global(.home-userInfo-card) {
height: 50%;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 20px 0px;
}
:global(.home-userInfo) {
display: flex;
flex-direction: column;
background-color: #fafafa;
padding: 10px 30px 10px 10px;
height: 100%;
justify-content: space-between;
border-radius: 10px;
width: calc(25% - 10px);
}
:global(.home-userInfo-pad) {
display: flex;
flex-direction: row;
align-items: center;
}
2024-01-22 09:18:38 +08:00
2024-03-13 11:19:42 +08:00
:global(.home-userInfo-Icon) {
font-size: 16px;
margin-right: 5px;
}
:global(.home-userInfo-title) {
font-size: 13px;
color: #303133;
font-weight: bold;
white-space: nowrap;
}
:global(.home-userInfo-content) {
font-size: 20px;
font-weight: bold;
white-space: nowrap;
/* margin-right: 20px; */
}
:global(.home-always-title) {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding: 10px 10px 10px 0px;
}
:global(.home-always-left) {
display: flex;
flex-direction: row;
align-items: center;
}
:global(.home-always-badge) {
width: 4px;
height: 19px;
background-color: #4f69e9;
border-radius: 3px;
margin-top: 2px;
margin-right: 10px;
}
:global(.home-always-name) {
font-size: 14px;
color: #303133;
font-weight: bold;
}
:global(.home-always-icon) {
color: #909399;
font-size: 14px;
}
2024-01-22 09:18:38 +08:00
2024-03-13 11:19:42 +08:00
:global(.badge-style) {
display: flex;
flex-direction: row;
align-items: center;
}
:global(.home-tech-col) {
display: flex;
flex-direction: column;
align-items: center;
}
:global(.home-tech-back) {
background-color: #fafafa;
padding: 8px;
border-radius: 10px;
2024-03-19 17:36:53 +08:00
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.12) ;
2024-03-13 11:19:42 +08:00
}
:global(.home-tech-icon) {
font-size: 30px;
cursor: pointer;
z-index: 999;
}
:global(.home-tech-name) {
font-size: 12px;
font-weight: bold;
color: #303133;
margin-top: 5px;
}
:global(.home-row) {
width: 100%;
height: calc(35% - 70px);
display: flex;
padding: 0px 20px;
justify-content: space-between;
align-items: center;
}
:global(.home-rank) {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 10px;
}
:global(.home-rank-index) {
width: 30px;
height: 30px;
margin-right: 40px;
color: #eac088;
font-size: 12px;
display: flex;
align-items: center;
justify-content: center;
}
:global(.home-rank-name) {
color: #303133;
font-size: 13px;
margin-right: 40px;
white-space: nowrap;
}
:global(.home-img) {
object-fit: contain;
width: 30px;
height: 30px;
margin-right: 40px;
}
:global(.home-rank > .ant-progress .ant-progress-text) {
margin-left: 30px;
}
:global(.home-job-title) {
display: flex;
align-items: center;
}
:global(.home-job-icon) {
font-size: 20px;
cursor: pointer;
margin-right: 5px;
}
:global(.home-job-content) {
display: grid;
grid-template-rows: auto;
grid-template-columns: auto;
grid-template-columns: repeat(auto-fill, 30%);
justify-content: space-between;
padding: 0px 16px 16px 16px;
}
:global(.home-work-wrap) {
display: flex;
flex-direction: row;
padding: 10px 20px;
/* background-color: #fafafa; */
margin-bottom: 20px;
border-radius: 15px;
background: url("./../assets/home/prepare2.png");
background-size: cover;
background-repeat: no-repeat;
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.12);
/* align-items: center; */
}
:global(.home-work-wrap-overtime) {
display: flex;
flex-direction: row;
padding: 10px 20px;
/* background-color: #fafafa; */
margin-bottom: 20px;
border-radius: 15px;
background: url("./../assets/home/overtime.png");
background-size: cover;
background-repeat: no-repeat;
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.12);
/* align-items: center; */
}
:global(.home-work-wrap-over) {
display: flex;
flex-direction: row;
padding: 10px 20px;
/* background-color: #fafafa; */
margin-bottom: 20px;
border-radius: 15px;
background: url("./../assets/home/over.png");
background-size: cover;
background-repeat: no-repeat;
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.12);
/* align-items: center; */
}
:global(.home-work-wrap-warn) {
display: flex;
flex-direction: row;
padding: 10px 20px;
/* background-color: #fafafa; */
margin-bottom: 20px;
border-radius: 15px;
background: url("./../assets/home/warn.png");
background-size: cover;
background-repeat: no-repeat;
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.12);
/* align-items: center; */
}
:global(.home-work-more) {
display: flex;
flex-direction: row;
padding: 10px 25px;
/* background-color: #fafafa; */
box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.12);
margin-bottom: 20px;
align-items: center;
color: #2177d5;
font-size: 13px;
white-space: nowrap;
border-radius: 15px;
/* font-weight: bold; */
justify-content: space-between;
}
:global(.home-more-icon) {
font-size: 12px;
margin-left: 5px;
}
2024-03-22 09:25:48 +08:00
:global(.home-work-back):hover {
background-color: #eef5ff;
cursor: pointer;
}
2024-03-13 11:19:42 +08:00
:global(.home-work-icon) {
padding: 3px 5px;
margin-right: 10px;
}
:global(.home-work-right) {
white-space: nowrap;
display: flex;
flex-direction: column;
width: calc(100% - 71px);
}
:global(.home-work-top) {
display: flex;
flex-direction: row;
}
:global(.home-work-type-red) {
background-color: #ffeff0;
color: #ff3838;
padding: 3px 8px;
margin-right: 10px;
font-size: 13px;
}
:global(.home-work-type-yellow) {
background-color: #fff8ee;
color: #ffab2b;
padding: 3px 8px;
margin-right: 10px;
font-size: 13px;
}
:global(.home-work-type-black) {
2024-03-19 17:36:53 +08:00
background-color: #eef5ff;
color: #55a0f7;
padding: 3px 8px;
margin-right: 10px;
font-size: 13px;
}
:global(.home-work-type-green) {
2024-03-13 11:19:42 +08:00
background-color: #eef6eb;
color: #6dd230;
padding: 3px 8px;
margin-right: 10px;
font-size: 13px;
}
:global(.home-work-person) {
color: #606266;
font-size: 13px;
padding: 3px 8px;
}
:global(.home-work-title) {
font-size: 15px;
color: #303133;
padding: 5px 0px;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
:global(.home-work-date) {
color: #909399;
font-size: 13px;
}
:global(.home-work-detail) {
color: #2177d5;
font-size: 13px;
margin-top: 5px;
}
:global(.home-chart) {
display: flex;
height: 100%;
width: calc(50% - 10px);
flex-direction: column;
background-color: #fff;
border-radius: 5px;
2024-03-19 17:36:53 +08:00
min-width: 674px;
}
:global(.home-setting) {
display: flex;
flex-direction: row;
align-items: center;
}
:global(.home-setting-icon) {
color: #909399;
padding: 4px;
2024-03-13 11:19:42 +08:00
}
2024-03-19 17:36:53 +08:00
:global(.home-setting-icon):hover {
color: #909399;
background-color: #f3f4f6;
padding: 4px;
border-radius: 5px;
box-shadow: 0 0px 3px 0 rgba(0, 0, 0, 0.1);
}