2022-05-24 00:40:02 +08:00

131 lines
3.6 KiB
SCSS
Vendored

.project-list {
flex: 1;
height: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
.list-search {
width: 100%;
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
height: 54px;
padding: 0 12px;
background-color: #f8f8f8;
.search-wrapper {
flex: 1;
background-color: #ffffff;
padding: 0 8px;
margin: 0 4px;
border-radius: 12px;
overflow: hidden;
.search-pre {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
.common-loading {
width: 16px;
height: 16px;
margin: 0;
}
}
.ivu-input {
border-color: transparent;
background-color: transparent;
&:hover,
&:focus {
box-shadow: none;
}
}
}
}
> ul {
flex: 1;
height: 0;
width: 100%;
overflow: auto;
background-color: #f8f8f8;
> li {
padding: 16px;
margin: 16px;
border-radius: 12px;
background-color: #ffffff;
list-style: none;
.project-h1 {
font-size: 16px;
line-height: 22px;
font-weight: 600;
word-break: break-all;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.project-h2 {
margin-top: 8px;
line-height: 22px;
word-break: break-all;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.project-percent {
margin-top: 12px;
display: flex;
align-items: center;
.percent-info {
margin-left: 12px;
min-width: 28px;
text-align: right;
> em {
opacity: 0.7;
font-style: normal;
}
}
}
.project-footer {
margin-top: 12px;
margin-bottom: -2px;
display: flex;
align-items: center;
.footer-percent {
flex-shrink: 0;
margin-right: 12px;
min-width: 28px;
text-align: left;
> em {
opacity: 0.7;
font-style: normal;
}
}
.footer-user {
flex: 1;
display: flex;
align-items: center;
justify-content: flex-end;
.common-avatar {
margin-left: -4px;
}
.footer-user-more {
padding-left: 6px;
font-weight: 500;
color: $primary-color;
}
}
}
}
}
}