mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 05:28:13 +00:00
chore: nav buttons transition
This commit is contained in:
+1
-1
@@ -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();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user