mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-02 21:18:12 +00:00
chore: nav buttons transition
This commit is contained in:
+1
-1
@@ -52,9 +52,9 @@ export default defineComponent({
|
||||
|
||||
methods: {
|
||||
init() {
|
||||
this.checkAppVersion();
|
||||
this.loadLang();
|
||||
this.loadSettings();
|
||||
this.checkAppVersion();
|
||||
this.handleQueries();
|
||||
},
|
||||
|
||||
|
||||
@@ -109,6 +109,8 @@ export default defineComponent({
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@use '../styles/colors';
|
||||
|
||||
.home {
|
||||
min-height: 100vh;
|
||||
overflow-x: auto;
|
||||
@@ -118,6 +120,7 @@ export default defineComponent({
|
||||
align-items: center;
|
||||
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.home_container {
|
||||
display: flex;
|
||||
@@ -167,5 +170,25 @@ export default defineComponent({
|
||||
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user