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 @@