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