Files
teach_sys_Demo/src/pages/ProjectLibraryPage/components/ProjectCasesModal/index.css

256 lines
6.2 KiB
CSS
Raw Normal View History

2025-08-15 16:16:41 +08:00
.project-cases-modal {
width: 758px;
height: 700px;
border-radius: 8px;
position: relative;
background-color: #f2f3f5;
overflow: hidden;
box-sizing: border-box;
padding: 20px;
background-image: url("@/assets/images/Common/modal_bg.png");
background-size: 100% 100%;
.close-icon {
position: absolute;
right: 20px;
top: 20px;
width: 16px;
height: 16px;
background-image: url("@/assets/images/Common/close.png");
background-size: 100% 100%;
z-index: 10;
cursor: pointer;
}
.project-cases-modal-title {
width: 100%;
height: 30px;
line-height: 30px;
text-align: left;
color: #1d2129;
font-size: 20px;
font-weight: 600;
}
.project-cases-modal-list {
width: 100%;
max-height: 640px;
overflow-y: auto;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
margin-top: 20px;
.project-cases-modal-item {
width: 100%;
margin-bottom: 20px;
border-radius: 8px;
box-sizing: border-box;
padding: 16px;
background-color: #fff;
.project-cases-modal-item-title {
width: 100%;
text-align: left;
line-height: 30px;
width: 100%;
height: 30px;
color: #0275f2;
font-size: 20px;
font-weight: 600;
2025-08-16 01:01:57 +08:00
position: relative;
&::after {
content: "";
position: absolute;
left: 0;
bottom: 3px;
width: 79px;
height: 5px;
opacity: 0.1;
border-radius: 5px;
background-color: #0275f2;
}
2025-08-15 16:16:41 +08:00
}
.project-cases-modal-item-text {
width: 100%;
margin-top: 5px;
text-align: left;
color: #1d2129;
font-size: 14px;
line-height: 22px;
font-weight: 400;
}
.project-cases-modal-horizontal-list {
width: 100%;
margin-top: 10px;
overflow-x: auto;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
.high-count-list-item {
width: 220px;
height: 82px;
background-color: #f7f8fa;
margin-right: 20px;
border-radius: 8px;
padding: 16px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
border: 1px solid #e5e6eb;
cursor: pointer;
flex-shrink: 0;
> span {
font-size: 12px;
line-height: 20px;
font-weight: 600;
box-sizing: border-box;
padding: 0 8px;
border-radius: 2px;
margin-bottom: 5px;
}
.high {
color: #2c7aff;
background-color: #e8f3ff;
border: 1px solid #2c7aff;
}
.medium {
color: #722ed1;
background-color: #f5e8ff;
border: 1px solid #722ed1;
}
.low {
color: #00b42a;
background-color: #e8ffea;
border: 1px solid #00b42a;
}
> p {
width: 100%;
height: 24px;
text-align: left;
line-height: 24px;
font-size: 16px;
font-weight: 600;
color: #1d2129;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.class-list-item {
width: 220px;
height: 60px;
background-color: #f7f8fa;
margin-right: 20px;
border-radius: 8px;
padding: 10px;
box-sizing: border-box;
border: 1px solid #e5e6eb;
cursor: pointer;
flex-shrink: 0;
.class-list-item-title {
height: 36px;
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
> i {
width: 36px;
height: 36px;
background-image: url("@/assets/images/ProjectLibraryPage/class_icon.png");
background-size: 100% 100%;
}
> span {
font-size: 14px;
font-weight: 400;
color: #1d2129;
margin-left: 10px;
}
}
}
}
.project-cases-modal-attachment-list {
width: 100%;
margin-top: 10px;
overflow-y: auto;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
.attachment-list-item {
width: 337px;
height: 80px;
border: 1px solid #e5e6eb;
cursor: pointer;
flex-shrink: 0;
background-color: #f7f8fa;
margin-right: 20px;
border-radius: 8px;
padding: 10px;
box-sizing: border-box;
display: flex;
justify-content: flex-start;
align-items: center;
position: relative;
&::after {
content: "";
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 20px;
width: 20px;
height: 20px;
background-image: url("@/assets/images/ProjectLibraryPage/eyes_icon.png");
background-size: 100% 100%;
}
.attachment-icon {
width: 56px;
height: 56px;
margin-right: 5px;
}
.attachment-info {
width: 200px;
height: 48px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
> p {
line-height: 28px;
text-align: left;
font-size: 18px;
font-weight: 600;
color: #09090b;
}
> span {
line-height: 20px;
text-align: left;
font-size: 14px;
font-weight: 400;
color: #788089;
}
}
}
}
}
}
}