Tree titles now have hover. Fixed primary color theme switching
This commit is contained in:
@@ -159,8 +159,14 @@
|
||||
transition: none !important;
|
||||
}
|
||||
.theme--light .tree-node-title:hover {
|
||||
background: rgba(0,0,0,.04);
|
||||
background-color: rgba(0,0,0,.04);
|
||||
}
|
||||
.theme--dark .tree-node-title:hover {
|
||||
background-color: rgba(255,255,255,.04);
|
||||
}
|
||||
.tree-node-title{
|
||||
transition: background ease 0.3s, color ease 0.15s;
|
||||
}
|
||||
.tree-node-title, .dummy-node {
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
<template>
|
||||
<v-app
|
||||
:dark="darkMode"
|
||||
:light="!darkMode"
|
||||
>
|
||||
<v-app>
|
||||
<v-navigation-drawer
|
||||
v-model="drawer"
|
||||
app
|
||||
@@ -106,7 +103,9 @@
|
||||
darkMode: {
|
||||
immediate: true,
|
||||
handler(newDarkModeValue){
|
||||
this.$vuetify.theme.dark = newDarkModeValue;
|
||||
if (typeof newDarkModeValue === 'boolean'){
|
||||
this.$vuetify.theme.dark = newDarkModeValue;
|
||||
}
|
||||
},
|
||||
},
|
||||
'$route' (to) {
|
||||
|
||||
@@ -47,8 +47,8 @@ Meteor.startup(() => {
|
||||
store,
|
||||
vuetify: new Vuetify({
|
||||
theme: {
|
||||
dark: false,
|
||||
themes,
|
||||
options: { variations: false },
|
||||
//options: { customProperties: true },
|
||||
},
|
||||
icons: {
|
||||
|
||||
Reference in New Issue
Block a user