Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge 88beb06 into ea55a54
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Oct 8, 2019
2 parents ea55a54 + 88beb06 commit 0c1d511
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions theme/todolist.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
--ck-todo-list-checkmark-size: 16px;
}

.ck-editor__editable .todo-list {
& .todo-list__label {
& > input {
cursor: pointer;

&:hover::before {
box-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);
}
}
}
}

.ck-content .todo-list {
list-style: none;

Expand All @@ -23,7 +35,6 @@
-webkit-appearance: none;
display: inline-block;
position: relative;
cursor: pointer;
width: var(--ck-todo-list-checkmark-size);
height: var(--ck-todo-list-checkmark-size);
vertical-align: middle;
Expand Down Expand Up @@ -67,10 +78,6 @@
transform: rotate(45deg);
}

&:hover::before {
box-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);
}

&[checked] {
&::before {
background: hsl(126, 64%, 41%);
Expand Down

0 comments on commit 0c1d511

Please sign in to comment.