diff --git a/app.vue b/app.vue index 0aa0a78..ce479ee 100644 --- a/app.vue +++ b/app.vue @@ -19,12 +19,13 @@ * { box-sizing: border-box; margin: 0; + padding: 0; } html, template, body, #__nuxt, #__layout { - height: 100vh; + min-height: 100vh; width: 100vw; - height: 100%; + min-height: 100%; width: 100%; background-color: #212121; font-size: 1rem; diff --git a/layouts/Actionbar.vue b/layouts/Actionbar.vue index 58e2203..0445e44 100644 --- a/layouts/Actionbar.vue +++ b/layouts/Actionbar.vue @@ -1,16 +1,12 @@ @@ -147,37 +130,30 @@ aside.actionbar { justify-content: center; padding: 1.875rem 0.625rem; gap: 1.25rem; - transition: all 10s ease-in-out 0s; overflow: clip; } - .actionbar-darkmode { box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25); background-color: #2C2C2C; } - .actionbar-lightmode { box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25); background-color: #FFFFFF; } - aside.is-expanded { animation: expand 0.5s linear both; } - aside.is-not-expanded { animation: contract 0.5s linear both; - width: stretch; - inline-size: stretch; } .actions { display: flex; flex-direction: column; + padding: 1.25rem 0; align-items: flex-start; justify-content: center; - padding: 1.25rem 0; gap: 1.25rem; overflow: clip; } @@ -191,34 +167,21 @@ button { border-radius: 0.625rem; align-items: center; justify-content: flex-start; + gap: 0.125rem; border: none; transition: 0.2s ease-in-out; overflow: clip; - gap: 0.125rem } +.button-darkmode { background-color: #2C2C2C; } +.button-lightmode { background-color: #FFFFFF; } -.button-darkmode { - background-color: #2C2C2C; -} +.button-darkmode:hover, +.indicator-darkmode:hover { background-color: #444444; } -.button-lightmode { - background-color: #FFFFFF; -} +.button-lightmode:hover, +.indicator-lightmode:hover { background-color: #ACACAC; } -.button-darkmode:hover, -.indicator-darkmode:hover { - background-color: #444444; -} - -.button-lightmode:hover, -.indicator-lightmode:hover { - background-color: #ACACAC; -} - -.is-not-expanded>button { - align-self: center; - gap: 0.5rem; -} +.is-not-expanded>button { align-self: center; } .icon { @@ -229,7 +192,9 @@ button { align-items: center; justify-content: center; padding: 0 0.5rem; - transition: padding 0.5s linear +} +.is-not-expanded .icon { + align-self: center; } #indicator-icon { @@ -237,16 +202,9 @@ button { height: 1.875rem; border-radius: 0.3125rem; transition: 0.2s ease-in-out; -} +} +.is-not-expanded #indicator-icon { transform: rotate(180deg); } -.is-not-expanded .icon { - align-self: center; - padding: 0 0.375rem; -} - -.is-not-expanded #indicator-icon { - transform: rotate(180deg); -} img { width: 0.875rem; @@ -255,44 +213,31 @@ img { object-position: center; overflow: hidden; } - -#indicator-icon>img { - height: 1.25rem; -} - -.img-darkmode { - filter: invert(100%); -} +.img-darkmode { filter: invert(100%); } +#indicator-icon>img { height: 1.25rem; } .label { display: inline-flex; min-width: 0; - padding: 0rem 0.3125rem 0rem 0rem; - letter-spacing: 5%; + padding: 0rem 0.625rem 0rem 0rem; align-self: center; + letter-spacing: 0.02rem; white-space: nowrap; font: 400 0.875rem/1.25rem Overpass, sans-serif; -} - -.label-darkmode { - color: #FFFFFF; -} - -.label-lightmode { - color: #000000; -} +} +.label-darkmode { color: #FFFFFF; } +.label-lightmode { color: #000000; } -.fade-enter-from, -.fade-leave-to { + +.fade-enter-from, .fade-leave-to { opacity: 0; } .fade-enter-to, .fade-leave-from { opacity: 1; - max-width: 0; } .fade-enter-active { @@ -312,8 +257,8 @@ img { @keyframes expand { from { - max-inline-size: 3.25rem; - max-width: 3.25rem; + max-inline-size: 3.125rem; + max-width: 3.125rem; } to { @@ -329,8 +274,8 @@ img { } to { - max-inline-size: 3.25rem; - max-width: 3.25rem; + max-inline-size: 3.125rem; + max-width: 3.125rem; } } diff --git a/layouts/Navigationbar.vue b/layouts/Navigationbar.vue index 1fff937..eb77c15 100644 --- a/layouts/Navigationbar.vue +++ b/layouts/Navigationbar.vue @@ -1,67 +1,64 @@