From 8590a4767e3140abc14292aeeef426fd9c941f1b Mon Sep 17 00:00:00 2001 From: Josh Forisha Date: Wed, 14 Sep 2022 15:24:25 -0500 Subject: [PATCH] Enable task flags --- _index.html | 467 +++++++++++++++++++++++++++++++++++++++------------- index.html | 2 +- 2 files changed, 355 insertions(+), 114 deletions(-) diff --git a/_index.html b/_index.html index 3fd12e2..0d92c0f 100644 --- a/_index.html +++ b/_index.html @@ -88,13 +88,6 @@ background-color: var(--nordE); } - button.-handle { - background-color: var(--nord3); - color: var(--nord4); - cursor: grab; - margin-right: 5px; - } - button.-icon { font-size: 1.5rem; line-height: 1; @@ -105,6 +98,51 @@ font-size: 0.67em; } + button.handle { + background-color: var(--nord3); + color: var(--nord4); + cursor: grab; + } + + button[data-action="edit-flags"] { + background-color: var(--nord3); + color: var(--nord4); + margin-right: 5px; + } + + button[data-action="start-task"] { + margin-left: 5px; + } + + dialog { + align-items: center; + background-color: var(--nord6); + border-radius: 2px; + border-style: none; + flex-direction: column; + } + + dialog[open] { + display: flex; + } + + dialog::backdrop { + backdrop-filter: blur(5px); + } + + dialog > form { + align-items: center; + display: flex; + flex-direction: column; + width: 100%; + } + + fieldset { + border-style: none; + margin: 0 0 30px; + padding: 0; + } + h1 { margin: 0; } @@ -124,7 +162,20 @@ margin-right: 10px; } - input { + input[type="checkbox"] { + appearance: none; + background-color: var(--nord0); + border-radius: 2px; + height: 1.25em; + padding: 0; + width: 1.25em; + } + + input[type="checkbox"]:checked { + background-color: var(--nordE); + } + + input[type="text"] { background-color: transparent; border-color: transparent; border-radius: 5px; @@ -135,11 +186,34 @@ width: 100%; } - input:focus-visible { + input[type="text"]:focus-visible { outline-color: var(--nord8); outline-style: solid; } + label { + align-items: center; + cursor: pointer; + display: flex; + } + + label input[type="checkbox"] { + margin-right: 5px; + } + + label input[type="checkbox"]:not(:checked) ~ span { + color: var(--nord4); + opacity: 0.6; + } + + label:hover input[type="checkbox"]:not(:checked) { + background-color: var(--nord2); + } + + label:hover input[type="checkbox"]:not(:checked) ~ span { + opacity: 0.8; + } + section { background-color: var(--nord1); border-radius: 5px; @@ -149,9 +223,45 @@ } ul { - background-color: var(--nord1); + list-style-type: none; margin: 0; - padding-left: 30px; + padding-left: 0; + } + + .task-item { + display: flex; + flex-direction: column; + } + + .task-item .content { + border-top: 1px solid var(--nord2); + display: flex; + margin-top: 5px; + padding-top: 5px; + } + + .task-item .content input[type="text"] { + margin: 0 5px; + } + + .task-item .flags { + align-items: flex-start; + display: flex; + flex-direction: column; + padding-left: calc(4rem + 64px); + } + + .task-flag { + background-color: var(--nord5); + display: flex; + margin-bottom: 10px; + } + + .task-flag input[type="text"] { + } + + .tasks-list { + background-color: var(--nord1); } .timer { @@ -250,22 +360,6 @@ opacity: 0.5; } - #TodoTasks li { - border-top: 1px solid var(--nord2); - display: flex; - margin-top: 5px; - padding-top: 5px; - } - - #TodoTasks li input { - margin: 0 5px; - } - - #TodoTasks ul { - list-style-type: none; - padding-left: 0; - } - @media screen and (min-width: 768px) { :root { font-size: 20px; @@ -314,7 +408,7 @@

- +

@@ -332,6 +426,13 @@

+ +

FUN-2306-select-wallet

+
+
+ +
+
\ No newline at end of file +Flowtime

Todo

    Completed

      FUN-2306-select-wallet

      \ No newline at end of file