diff options
author | Raimund Schlüßler <raimund.schluessler@googlemail.com> | 2016-09-09 21:49:23 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@googlemail.com> | 2016-09-09 21:49:23 +0300 |
commit | a5f3c89cfd9ba6a4b934413a15f2fc574c8bdb8f (patch) | |
tree | f8df4fe7925dc5cb0e2e407c8531853a254886ce /css | |
parent | fe3a4606d3fa619c97f72d062d20b01495e55bb3 (diff) |
Enable hiding completed subtasks
Diffstat (limited to 'css')
-rw-r--r-- | css/style.css | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/css/style.css b/css/style.css index e341b4a8..eec6a63c 100644 --- a/css/style.css +++ b/css/style.css @@ -279,13 +279,16 @@ #content .icon.note-fullscreen:hover { opacity: 1; } -#content .icon.toggle-completed-tasks { - background-position: -120px 0; - height: 20px; +#content .icon.toggle-completed-subtasks { + background-position: -140px -100px; + float: right; opacity: 0.8; width: 20px; } -#content .icon.toggle-completed-tasks:hover { +#content .icon.toggle-completed-subtasks.hidden { + background-position: -120px -100px; +} +#content .icon.toggle-completed-subtasks:hover { opacity: 1; } #content .calendar-indicator { @@ -474,6 +477,14 @@ #content div.task-item .task-body.subtasks .icon.subtasks { display: inline-block; } +#content li.task-item .task-body .icon.toggle-completed-subtasks, +#content div.task-item .task-body .icon.toggle-completed-subtasks { + display: none; +} +#content li.task-item .task-body.completedsubtasks .icon.toggle-completed-subtasks, +#content div.task-item .task-body.completedsubtasks .icon.toggle-completed-subtasks { + display: inline-block; +} #content li.task-item .task-body.subtasks.subtaskshidden .icon.subtasks, #content div.task-item .task-body.subtasks.subtaskshidden .icon.subtasks { background-position: -260px -100px; |