Files
boluo-app-main/src/components/material-card/index.less
2025-09-08 23:28:17 +08:00

128 lines
2.1 KiB
Plaintext

@import '@/styles/common.less';
@import '@/styles/variables.less';
.material-card {
padding: 32px 24px;
border-radius: 16px;
background: #ffffff;
box-sizing: border-box;
&__header {
.flex-row();
justify-content: space-between;
&__left,
&__right {
.flex-row();
}
&__right {
color: @blHighlightColor;
}
&__title {
font-size: 32px;
line-height: 40px;
font-weight: 400;
color: @blColor;
}
&__progress {
font-size: 28px;
line-height: 32px;
font-weight: 400;
color: @blHighlightColor;
margin-left: 8px;
}
&__status {
font-size: 28px;
line-height: 32px;
font-weight: 400;
color: @blColorG1;
margin-right: 4px;
}
&__icon {
.flex-row();
height: 48px;
font-size: 32px;
line-height: 48px;
color: #969799;
}
}
&__body {
width: 100%;
height: 160px;
margin-top: 24px;
.flex-column();
justify-content: center;
}
&__placeholder {
height: 100%;
.flex-column();
justify-content: center;
&__tips {
font-size: 28px;
line-height: 32px;
font-weight: 400;
color: @blColorG1;
}
&__create-button {
.button();
font-size: 28px;
line-height: 32px;
font-weight: 400;
color: @blHighlightColor;
margin-top: 22px;
background: transparent;
border-radius: 0;
}
}
&__info {
.flex-row();
gap: 24px;
width: 100%;
&-left {
width: 125px;
height: 160px;
}
&-cover {
width: 100%;
height: 100%;
border-radius: 12px;
}
&-right {
.name {
font-style: normal;
font-weight: 500;
font-size: 28px;
line-height: 32px;
color: @blColor;
margin-bottom: 12px;
}
.info,
.worked {
font-weight: 400;
font-size: 24px;
line-height: 36px;
color: @blColorG2;
margin-bottom: 8px;
}
.salary {
font-weight: 500;
font-size: 24px;
line-height: 36px;
color: @blColor;
}
}
}
}