chore: nav buttons transition

This commit is contained in:
2025-07-07 18:31:40 +02:00
parent 864967a77a
commit d59152fccd
2 changed files with 66 additions and 43 deletions
+1 -1
View File
@@ -52,9 +52,9 @@ export default defineComponent({
methods: { methods: {
init() { init() {
this.checkAppVersion();
this.loadLang(); this.loadLang();
this.loadSettings(); this.loadSettings();
this.checkAppVersion();
this.handleQueries(); this.handleQueries();
}, },
+23
View File
@@ -109,6 +109,8 @@ export default defineComponent({
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@use '../styles/colors';
.home { .home {
min-height: 100vh; min-height: 100vh;
overflow-x: auto; overflow-x: auto;
@@ -118,6 +120,7 @@ export default defineComponent({
align-items: center; align-items: center;
width: 100%; width: 100%;
}
.home_container { .home_container {
display: flex; display: flex;
@@ -167,5 +170,25 @@ export default defineComponent({
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
.message_nav > button {
position: relative;
&::before {
position: absolute;
content: '';
bottom: -3px;
left: 0;
width: 0;
height: 3px;
transition: all 0.25s;
background-color: colors.$accentCol;
}
&[data-active='true']::before {
width: 100%;
}
} }
</style> </style>