diff --git a/css/src/style.scss b/css/src/style.scss index c673442d..4b4a4f40 100644 --- a/css/src/style.scss +++ b/css/src/style.scss @@ -853,6 +853,15 @@ span { cursor: pointer; } + input[type='checkbox'].checkbox + label { + &::before { + margin-left: 0; + } + >span { + font-weight: bold; + margin-left: 10px; + } + } } &.editing { @@ -1181,6 +1190,29 @@ } } +.task-checkbox, +.detail-checkbox { + float: left; + margin: 7px; + margin-right: 3px; + opacity: 0.5; +} + +.detail-checkbox { + padding: 8px; +} + +input[type='checkbox'].checkbox { + &:checked + label::before { + background-image: var(--icon-checkmark-000); + background-color: unset; + border-color: unset; + } + &:disabled + label::before { + background-color: var(--color-background-darker) !important; + } +} + .icon { height: 16px; width: 16px; @@ -1212,27 +1244,6 @@ opacity: 1 !important; } - &.task-checkbox, - &.detail-checkbox { - border-radius: 3px; - border: 1px solid var(--color-main-text); - float: left; - margin: 9px; - opacity: 0.5; - - &:not(.icon-checkmark) { - background: unset; - } - - &:not(.disabled):hover { - opacity: 0.7; - } - - &.disabled { - cursor: not-allowed; - } - } - &.right { float: right; } diff --git a/img/src/bw/checkmark.svg b/img/src/bw/checkmark.svg index 78fd0a78..3501b5a4 100644 --- a/img/src/bw/checkmark.svg +++ b/img/src/bw/checkmark.svg @@ -1 +1 @@ - + diff --git a/img/src/color/checkmark-color.svg b/img/src/color/checkmark-color.svg index bdf6fd97..923c6eef 100644 --- a/img/src/color/checkmark-color.svg +++ b/img/src/color/checkmark-color.svg @@ -1 +1 @@ - + diff --git a/src/components/Task.vue b/src/components/Task.vue index e6f744d5..accfd424 100644 --- a/src/components/Task.vue +++ b/src/components/Task.vue @@ -40,14 +40,19 @@ License along with this library. If not, see . /> - - + + + diff --git a/src/components/TheDetails.vue b/src/components/TheDetails.vue index 71e326d6..1b86ddde 100644 --- a/src/components/TheDetails.vue +++ b/src/components/TheDetails.vue @@ -26,14 +26,21 @@ License along with this library. If not, see . class="flex-container" >
- - - + + + + .