dootask/resources/assets/sass/pages/components/project-task-template.scss
2024-12-01 20:06:43 +08:00

101 lines
2.3 KiB
SCSS
Vendored

.project-task-template {
height: 100%;
display: flex;
flex-direction: column;
.header {
padding: 20px 20px 10px;
display: flex;
align-items: center;
justify-content: space-between;
.title {
color: $primary-title-color;
font-size: 20px;
font-weight: 500;
line-height: 1;
padding-right: 24px;
}
}
.content {
flex: 1;
padding: 10px 20px 20px;
overflow-y: auto;
position: relative;
.empty {
text-align: center;
padding: 40px 0;
color: $primary-text-color;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
.empty-text {
font-size: 14px;
}
}
}
.template-list {
.template-item {
margin-bottom: 16px;
padding: 16px;
border: 1px solid #F4F4F5;
border-radius: 4px;
&:hover {
border-color: #84C56A;
}
.template-title {
font-weight: 500;
margin-bottom: 8px;
display: flex;
align-items: center;
color: $primary-title-color;
.default-tag {
font-weight: normal;
margin-left: 8px;
font-size: 12px;
padding: 2px 8px;
border-radius: 3px;
background: #84C56A;
}
}
.template-content {
color: $primary-text-color;
font-size: 13px;
.task-title {
margin-bottom: 4px;
}
.task-content {
color: $primary-desc-color;
}
}
.template-actions {
margin-top: 12px;
text-align: right;
> button {
margin-right: 12px;
height: 28px;
padding: 0 12px;
font-size: 13px;
> i {
margin: 0 -2px;
}
}
}
}
}
}