Slight tweak for item editing

This commit is contained in:
Max Lynch
2013-11-06 09:55:16 -06:00
parent 1c23d085f1
commit b3445155aa
7 changed files with 109 additions and 93 deletions

57
dist/css/ionic.css vendored
View File

@@ -2013,7 +2013,7 @@ sub {
fieldset {
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
border: 1px solid silver; }
border: 1px solid #c0c0c0; }
/**
* 1. Correct `color` not being inherited in IE 8/9.
@@ -2349,13 +2349,13 @@ address {
font-style: normal;
line-height: 1.42857; }
a.subdued {
a.subduedΓÇÄ {
padding-right: 10px;
color: #555555;
text-decoration: none; }
a.subdued:hover {
a.subduedΓÇÄ:hover {
text-decoration: none; }
a.subdued:last-child {
a.subduedΓÇÄ:last-child {
padding-right: 0; }
.action-sheet {
@@ -3302,24 +3302,36 @@ button.item-button-right:after {
.item-edit {
position: absolute;
top: 0;
left: -48px;
left: 8px;
z-index: 0;
width: 48px;
height: 100%;
line-height: 100%;
opacity: 0;
-webkit-transition: left 0.2s ease-in-out, opacity 0.2s ease-in-out; }
.item-edit .button {
height: 100%; }
.item-edit .icon {
color: #ef4e3a;
font-size: 24px; }
.item-edit .button .icon, .item-edit .button i {
color: #ef4e3a;
display: -webkit-box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
-moz-align-items: center;
align-items: center;
font-size: 24px;
position: absolute;
top: 0;
height: 100%; }
.item-edit.ng-enter {
left: -48px;
opacity: 0;
-webkit-transition: left 0.2s ease-in-out, opacity 0.2s ease-in-out; }
.item-edit.ng-enter-active {
left: 0;
left: 8px;
opacity: 1; }
.item-edit.ng-leave {
left: 0px;
@@ -3370,11 +3382,6 @@ button.item-button-right:after {
.list-editing .item-content {
margin-right: 50px;
margin-left: 50px; }
.list-editing .item-edit {
left: 0px;
opacity: 1; }
.list-editing .item-edit i {
left: 5px; }
.list-header {
margin-top: 20px;
@@ -3628,7 +3635,7 @@ input[type="file"] {
line-height: 34px; }
select {
border: 1px solid #cccccc;
border: 1px solid #ccc;
background-color: white; }
select[multiple],
@@ -3683,7 +3690,7 @@ input[type="checkbox"][readonly] {
border-radius: 50%;
background: white;
content: ' ';
transition: background-color 0.1s ease-in-out; }
transition: background-color .1s ease-in-out; }
/* the checkmark within the box */
.checkbox input:after {
@@ -3698,7 +3705,7 @@ input[type="checkbox"][readonly] {
border-right: 0;
content: ' ';
opacity: 0;
transition: opacity 0.05s ease-in-out;
transition: opacity .05s ease-in-out;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg); }
@@ -4114,7 +4121,7 @@ input[type="range"] {
.button-icon:active, .button-icon.active {
background: none;
box-shadow: none;
text-shadow: 0px 0px 10px white; }
text-shadow: 0px 0px 10px #fff; }
.padding > .button.block:first-child {
margin-top: 0; }
@@ -4691,9 +4698,9 @@ a.button {
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 0.75s linear infinite;
-moz-animation: spin 0.75s linear infinite;
animation: spin 0.75s linear infinite; }
-webkit-animation: spin .75s linear infinite;
-moz-animation: spin .75s linear infinite;
animation: spin .75s linear infinite; }
.ion-loading:before {
content: "\e144"; }
@@ -4706,9 +4713,9 @@ a.button {
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-animation: spin 0.75s linear infinite;
-moz-animation: spin 0.75s linear infinite;
animation: spin 0.75s linear infinite; }
-webkit-animation: spin .75s linear infinite;
-moz-animation: spin .75s linear infinite;
animation: spin .75s linear infinite; }
.ion-refreshing:before {
content: "\e144"; }