From 45ac071a7f9e20db769ff3cbbbef1b577cf8f206 Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Tue, 10 Dec 2024 10:24:50 -0800 Subject: [PATCH] Improve readability --- availabili.tf/src/assets/main.css | 28 ++++++++++++- .../src/components/EventSchedulerForm.vue | 38 +++++++++++++++++- .../src/components/GithubCommitHistory.vue | 2 +- .../src/components/PlayerTeamCard.vue | 8 ++-- .../src/components/SchedulePlayerListItem.vue | 40 +++++++++++++++++-- availabili.tf/src/composables/team-details.ts | 2 +- availabili.tf/src/views/RosterBuilderView.vue | 6 +-- availabili.tf/src/views/ScheduleView.vue | 6 +++ 8 files changed, 113 insertions(+), 17 deletions(-) diff --git a/availabili.tf/src/assets/main.css b/availabili.tf/src/assets/main.css index df4efc1..24775ab 100644 --- a/availabili.tf/src/assets/main.css +++ b/availabili.tf/src/assets/main.css @@ -76,6 +76,17 @@ i.bi.margin { margin-right: 0.5em; } +button.checkbox, button.checkbox.icon { + outline: 1px solid var(--overlay-0); + font-size: 1rem; + height: 24px; + width: 24px; + padding: 0; + display: flex; + align-items: center; + justify-content: center; +} + button:hover { background-color: var(--surface-0); } @@ -206,7 +217,7 @@ main { padding: 2rem; } -input { +input, textarea { display: block; width: 100%; color: var(--text); @@ -233,6 +244,10 @@ input { sans-serif; } +textarea { + resize: vertical; +} + .form-group { display: flex; flex-direction: column; @@ -312,6 +327,7 @@ hr { z-index: 1; position: fixed; inset: 0; + animation: smooth-appear 0.2s ease; } [role="dialog"] { @@ -321,6 +337,16 @@ hr { transform: translateX(-50%) translateY(-50%); background-color: var(--base); z-index: 10; + animation: smooth-appear 0.2s ease; +} + +@keyframes smooth-appear { + from { + opacity: 0; + } + to { + opacity: 1; + } } div.banner { diff --git a/availabili.tf/src/components/EventSchedulerForm.vue b/availabili.tf/src/components/EventSchedulerForm.vue index 603588a..d978e42 100644 --- a/availabili.tf/src/components/EventSchedulerForm.vue +++ b/availabili.tf/src/components/EventSchedulerForm.vue @@ -1,16 +1,40 @@