Skip to content

Commit 34e8717

Browse files
committed
style: checked task formatting
1 parent 8d7f056 commit 34e8717

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

style.css

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,18 @@ body {
6969
align-items: center;
7070
margin-bottom: 12px;
7171
text-align: center;
72+
color:rgb(32, 28, 28);
7273
}
7374
.pendingSvg {
7475
width: 30px;
7576
height: 30px;
7677
padding-top: 7px;
7778
font-size: 18px;
78-
color: rgb(0, 0, 0);
7979
cursor: pointer;
8080
}
8181
.taskText {
8282
width: 270px;
8383
word-wrap: break-word;
84-
color: rgb(32, 28, 28);
8584
line-height: 1.4rem;
8685
text-align: left;
8786
}
@@ -90,7 +89,6 @@ body {
9089
height: 30px;
9190
padding-top: 7px;
9291
font-size: 18px;
93-
color:rgb(32, 28, 28);
9492
border-radius: 4px;
9593
cursor: pointer;
9694
}
@@ -143,3 +141,15 @@ body {
143141
width: 30vw;
144142
}
145143
}
144+
/* Completed Task Format */
145+
.task.checked > .pendingSvg {
146+
color: gray;
147+
}
148+
.task.checked > .taskText {
149+
width: 83%;
150+
color: gray;
151+
text-decoration: line-through;
152+
}
153+
.task.checked > .editSvg {
154+
display: none;
155+
}

0 commit comments

Comments
 (0)