Made animation clearer

This commit is contained in:
Max Lynch
2013-10-09 14:18:36 -05:00
parent 2da25bf5d2
commit 2fafea1da3
5 changed files with 6 additions and 14 deletions

5
dist/ionic-ios7.css vendored
View File

@ -1044,9 +1044,8 @@ a.list-item {
right: 0;
bottom: 0;
z-index: 1;
background-color: white; }
.list-item-content.slide-left {
-webkit-transition: margin-left 0.2s ease-in-out; }
background-color: white;
-webkit-transition: left 1s ease-in-out, right 1s ease-in-out; }
.list-item-buttons {
position: absolute;

5
dist/ionic.css vendored
View File

@ -1132,9 +1132,8 @@ a.list-item {
right: 0;
bottom: 0;
z-index: 1;
background-color: white; }
.list-item-content.slide-left {
-webkit-transition: margin-left 0.2s ease-in-out; }
background-color: white;
-webkit-transition: left 1s ease-in-out, right 1s ease-in-out; }
.list-item-buttons {
position: absolute;

2
dist/ionic.js vendored
View File

@ -1817,7 +1817,6 @@ window.ionic = {
// Slide the content over left by the button width
content.style.right = buttonsWidth + 'px';
content.style.left = -buttonsWidth + 'px';
content.classList.add('slide-left');
}
});
},
@ -1833,7 +1832,6 @@ window.ionic = {
content = item;
}
content.classList.remove('slide-left');
content.style.right = 0;
content.style.left = 0;
});

View File

@ -37,7 +37,6 @@
// Slide the content over left by the button width
content.style.right = buttonsWidth + 'px';
content.style.left = -buttonsWidth + 'px';
content.classList.add('slide-left');
}
});
},
@ -53,7 +52,6 @@
content = item;
}
content.classList.remove('slide-left');
content.style.right = 0;
content.style.left = 0;
});

View File

@ -98,10 +98,8 @@ a.list-item {
z-index: 1;
background-color: white;
&.slide-left {
-webkit-transition: margin-left 0.2s ease-in-out;
}
-webkit-transition: left 1s ease-in-out, right 1s ease-in-out;
}
.list-item-buttons {
position: absolute;