mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-04-19 06:11:04 +00:00
Fix transition end of the sidenav content
This commit is contained in:
parent
fff91378a9
commit
bb14e04218
2 changed files with 6 additions and 2 deletions
|
|
@ -25,11 +25,9 @@
|
|||
bottom: 0;
|
||||
z-index: 2;
|
||||
pointer-events: none;
|
||||
opacity: .7;
|
||||
transition: $swift-ease-out;
|
||||
|
||||
&.md-active {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
box-shadow: $material-shadow-16dp;
|
||||
transform: translate3d(0, 0, 0);
|
||||
|
|
|
|||
|
|
@ -4,6 +4,12 @@ import VueMaterial from '../vue-material';
|
|||
for (let component in VueMaterial) {
|
||||
if (component === 'MdTheme') {
|
||||
Vue.use(VueMaterial[component], {
|
||||
default: {
|
||||
primary: {
|
||||
color: 'green',
|
||||
hue: 800
|
||||
}
|
||||
},
|
||||
'bottom-bar': {
|
||||
primary: 'teal'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue