Skip to content

Commit

Permalink
input styling
Browse files Browse the repository at this point in the history
  • Loading branch information
HectorVilas committed Jan 7, 2023
1 parent 7d23467 commit 58831a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/modules/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export const ui = (() => {
editDateDue.type = "date";
editDateDue.classList.add("date-due", "edit-date-due");
editDateDue.value = todo.dateDue;
editDateDue.title = "Due date";
editDateDue.addEventListener("input", editField);

const checks = document.createElement("ul");
Expand Down
9 changes: 8 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ input[type="text"], input[type="date"] {
}
* {font-family: 'Times New Roman', Times, serif;}


input::selection {
color: white;
background-color: hsl(240, 80%, 70%);
}
input:not([type="checkbox"]):focus {
outline: 4px solid rgba(46, 16, 192, .25);
transition: 0ms;
}

/* menu */

Expand Down

0 comments on commit 58831a9

Please sign in to comment.