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

106 lines
2.4 KiB
CSS
Raw Normal View History

2025-08-15 16:16:41 +08:00
.user-portfolio-page {
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 20px;
position: relative;
.user-portfolio-wrapper {
width: 1120px;
height: 790px;
background-color: #fff;
border-radius: 8px;
box-sizing: border-box;
padding: 20px;
overflow: hidden;
.user-portfolio-search-area {
width: 100%;
height: 36px;
.ser-portfolio-searc {
width: 100%;
height: 36px;
border: 1px solid #2c7aff;
span {
background-color: #fff;
}
input {
background-color: #fff;
}
}
}
.user-portfolio-list {
width: 100%;
overflow-y: auto;
box-sizing: border-box;
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
padding: 20px 0;
.user-portfolio-item:nth-child(3n) {
margin-right: 0;
}
.user-portfolio-item {
flex-shrink: 0;
width: 340px;
height: 82px;
box-sizing: border-box;
padding: 15px 20px;
border-radius: 8px;
background-color: #f7f8fa;
border: 1px solid #e5e6eb;
margin-right: 20px;
margin-bottom: 20px;
2025-08-17 00:49:04 +08:00
overflow: hidden;
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-direction: column;
2025-08-15 16:16:41 +08:00
> span {
border: 1px solid #2c7aff;
background-color: #e8f3ff;
height: 20px;
border-radius: 2px;
padding: 0 8px;
box-sizing: border-box;
color: #2c7aff;
font-size: 12px;
font-weight: 600;
}
> div {
width: 100%;
height: 24px;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 5px;
> p {
width: 80%;
height: 100%;
font-size: 16px;
font-weight: 600;
color: #1d2129;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
> span {
cursor: pointer;
font-size: 12px;
font-weight: 400;
color: #2c7aff;
}
}
}
}
}
}