mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-06 22:29:44 +08:00
Better list animations
This commit is contained in:
7
dist/ionic-ios7.css
vendored
7
dist/ionic-ios7.css
vendored
@ -1063,8 +1063,7 @@ a.list-item {
|
||||
text-decoration: none; }
|
||||
|
||||
.list-editing .list-item-content {
|
||||
left: 48px;
|
||||
width: calc(100% - 48px); }
|
||||
margin-left: 48px; }
|
||||
.list-editing .list-item-edit {
|
||||
left: 0px;
|
||||
opacity: 1; }
|
||||
@ -1074,9 +1073,7 @@ a.list-item {
|
||||
background-color: #fff;
|
||||
z-index: 1;
|
||||
padding: 15px 15px;
|
||||
-webkit-transition-property: left, right, opacity, width;
|
||||
-webkit-transition-duration: 0.2s;
|
||||
-webkit-transition-timing-function: ease-in-out; }
|
||||
-webkit-transition: margin-left 0.2s ease-in-out, left 0.2s ease-in-out; }
|
||||
.list-item-content > i:last-child {
|
||||
float: right; }
|
||||
|
||||
|
||||
7
dist/ionic.css
vendored
7
dist/ionic.css
vendored
@ -1151,8 +1151,7 @@ a.list-item {
|
||||
text-decoration: none; }
|
||||
|
||||
.list-editing .list-item-content {
|
||||
left: 48px;
|
||||
width: calc(100% - 48px); }
|
||||
margin-left: 48px; }
|
||||
.list-editing .list-item-edit {
|
||||
left: 0px;
|
||||
opacity: 1; }
|
||||
@ -1162,9 +1161,7 @@ a.list-item {
|
||||
background-color: #fff;
|
||||
z-index: 1;
|
||||
padding: 15px 15px;
|
||||
-webkit-transition-property: left, right, opacity, width;
|
||||
-webkit-transition-duration: 0.2s;
|
||||
-webkit-transition-timing-function: ease-in-out; }
|
||||
-webkit-transition: margin-left 0.2s ease-in-out, left 0.2s ease-in-out; }
|
||||
.list-item-content > i:last-child {
|
||||
float: right; }
|
||||
|
||||
|
||||
@ -90,8 +90,7 @@ a.list-item {
|
||||
|
||||
.list-editing {
|
||||
.list-item-content {
|
||||
left: 48px;
|
||||
width: unquote("calc(100% - 48px)");
|
||||
margin-left: 48px;
|
||||
}
|
||||
.list-item-edit {
|
||||
left: 0px;
|
||||
@ -108,11 +107,7 @@ a.list-item {
|
||||
|
||||
padding: 15px 15px;
|
||||
|
||||
|
||||
-webkit-transition-property: left, right, opacity, width;
|
||||
-webkit-transition-duration: 0.2s;
|
||||
-webkit-transition-timing-function: ease-in-out;
|
||||
|
||||
-webkit-transition: margin-left 0.2s ease-in-out, left 0.2s ease-in-out;
|
||||
|
||||
// Align icons to the right
|
||||
> i:last-child {
|
||||
|
||||
Reference in New Issue
Block a user