mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-18 13:28:12 +00:00
162 lines
4.5 KiB
SCSS
Vendored
162 lines
4.5 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: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
.common-loading {
|
|
width: 14px;
|
|
height: 14px;
|
|
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;
|
|
&.nothing,
|
|
&.loading {
|
|
text-align: center;
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 24px;
|
|
border-radius: 0;
|
|
line-height: 22px;
|
|
}
|
|
&.loading {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: center;
|
|
.common-loading {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 1px;
|
|
}
|
|
}
|
|
.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;
|
|
> span {
|
|
opacity: 0.7;
|
|
> em {
|
|
padding: 0 1px;
|
|
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;
|
|
display: flex;
|
|
align-items: center;
|
|
.taskfont {
|
|
font-size: 14px;
|
|
padding-right: 4px;
|
|
}
|
|
> span {
|
|
opacity: 0.7;
|
|
> em {
|
|
padding: 0 1px;
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|