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