added brave button, reduced navbar width on desktop, added navbar animation

This commit is contained in:
Nikita Krupin committed 2021-12-02 00:44:56 -05:00
1 parent ffa79fa9a4
commit 730687e04e
5 files changed
+29 -2

No files matched your search

+22 -1
View File
@@ -1,6 +1,10 @@
<template>
<v-app id="inspire" dark>
<v-app-bar app color="ma-4 glassy" flat style="border-radius: 1rem; overflow: hidden">
<v-app-bar app flat class="glassy fly-in-from-top"
:class="$vuetify.breakpoint.mobile ? 'ma-4' : 'my-4 mx-auto'"
:style="$vuetify.breakpoint.mobile ? '' : 'width: 50%'"
style="border-radius: 1rem; overflow: hidden;"
>
<v-tabs centered center-active color="primary" router show-arrows>
<v-tab v-for="link in links" :key="link.path" :to="link.path">
{{ link.name }}
@@ -43,6 +47,23 @@ html, body {
border-radius: 12px;
/* border: 1px solid rgba(255, 255, 255, 0.125); */
}
.fly-in-from-top {
opacity: 0;
transform: scale(0.8) translateY(-200%);
animation: fly-in-from-top 0.5s .3s ease forwards;
}
@keyframes fly-in-from-top {
0% {
opacity: 0;
transform: scale(0.8) translateY(-200%);
}
100% {
opacity: 1;
transform: scale(1) translateY(0);
}
}
</style>
<script>