feature/IO-3291-Tasks-Notifications: Checkpoint

This commit is contained in:
Dave Richer
2025-07-08 13:52:59 -04:00
parent 9b53bd9b40
commit 2e3944099b
4 changed files with 133 additions and 185 deletions

View File

@@ -18,7 +18,7 @@
}
.task-header {
padding: 4px 16px;
padding: 8px 16px;
border-bottom: 1px solid #f0f0f0;
display: flex;
justify-content: space-between;
@@ -30,57 +30,20 @@
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
}
}
.task-controls {
display: flex;
align-items: center;
gap: 8px;
.task-section {
margin-bottom: 8px;
}
.task-toggle {
align-items: center;
.anticon {
font-size: 14px;
color: #1677ff;
vertical-align: middle;
}
}
.ant-switch {
&.ant-switch-small {
min-width: 28px;
height: 16px;
line-height: 16px;
.ant-switch-handle {
width: 12px;
height: 12px;
}
&.ant-switch-checked {
background-color: #1677ff;
.ant-switch-handle {
left: calc(100% - 14px);
}
}
}
}
.ant-btn-link {
padding: 0;
color: #1677ff;
&:hover {
color: #69b1ff;
}
&:disabled {
color: rgba(0, 0, 0, 0.25);
cursor: not-allowed;
}
}
}
.section-title {
padding: 8px 16px;
background: #f5f5f5;
margin: 0;
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
border-bottom: 1px solid #e8e8e8;
}
.task-item {
@@ -91,21 +54,12 @@
width: 100%;
box-sizing: border-box;
cursor: pointer;
background: #fff;
&:hover {
background: #fafafa;
}
&.task-completed {
background: #fff;
color: rgba(0, 0, 0, 0.65);
}
&.task-incomplete {
background: #f5f5f5;
color: rgba(0, 0, 0, 0.85);
}
.task-content {
width: 100%;
}
@@ -137,7 +91,8 @@
.task-body {
margin-top: 4px;
color: inherit;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
}
}