1px border lists on retina

This commit is contained in:
Adam Bradley
2013-10-23 09:55:18 -05:00
parent a84538026b
commit 8997d2111f
10 changed files with 332 additions and 303 deletions

130
dist/css/ionic.css vendored
View File

@@ -2089,46 +2089,24 @@ address {
color: #fff; }
.list {
margin-bottom: 20px;
padding-left: 0;
position: relative;
overflow: hidden;
color: #333333;
background-color: white;
border-color: #dddddd; }
.list:hover {
color: #333333;
text-decoration: none; }
.list.active, .list:active {
background-color: #ebebeb;
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12);
border-color: #c4c4c4; }
.list.list-success {
color: white;
background-color: #66cc33;
border-color: #66cc33; }
.list.list-success:hover {
color: white;
text-decoration: none; }
.list.list-success.active, .list.list-success:active {
background-color: #56ab2b;
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.12);
border-color: #52a329; }
margin-bottom: 20px;
padding-top: 1px;
padding-bottom: 1px;
padding-left: 0; }
/**
* An individual list item.
*/
.list-item {
position: relative;
display: block;
margin-bottom: -1px;
margin-left: -1px;
margin-right: -1px;
border-top: 1px solid #dddddd;
z-index: 2;
background-color: white; }
.list-item:last-child {
margin-bottom: 0; }
display: block;
margin: -1px;
border: none;
background-color: white;
box-shadow: inset 0 0 1px #666666; }
.list-item .badge {
float: right; }
.list-item .badge + .badge {
@@ -2253,8 +2231,8 @@ a.list-item {
* "edit mode"
*/
.list-editing .list-item-content {
margin-left: 30px;
margin-right: 30px; }
margin-right: 30px;
margin-left: 30px; }
.list-editing .list-item-edit {
left: 0px;
opacity: 1; }
@@ -2266,11 +2244,11 @@ a.list-item {
*/
.list-item-content {
position: relative;
background-color: #fff;
border: 1px solid #dddddd;
z-index: 2;
margin-top: -1px;
padding: 15px 45px 15px 15px;
border: none;
background-color: #fff;
box-shadow: inset 0 0 1px #666666;
font-size: 16px;
-webkit-transition: margin-left 0.2s ease-in-out, margin-right 0.2s ease-in-out, left 0.2s ease-in-out; }
@@ -2357,9 +2335,9 @@ button.list-icon-right .list-item-content:after {
*/
.list-item-edit {
position: absolute;
z-index: 0;
left: -48px;
top: 0;
left: -48px;
z-index: 0;
width: 48px;
height: 100%;
line-height: 100%;
@@ -2371,30 +2349,30 @@ button.list-icon-right .list-item-content:after {
color: #ef4e3a;
font-size: 24px; }
.list-item-edit.ng-enter {
-webkit-transition: left 0.2s ease-in-out, opacity 0.2s ease-in-out;
left: -48px;
opacity: 0;
-webkit-transition: left 0.2s ease-in-out, opacity 0.2s ease-in-out; }
.list-item-edit.ng-enter-active {
left: 0;
opacity: 1; }
.list-item-edit.ng-leave {
left: 0px;
opacity: 1;
-webkit-transition: left 0.2s ease-in-out, opacity 0.2s ease-in-out; }
.list-item-edit.ng-leave-active {
left: -48px;
opacity: 0; }
.list-item-edit.ng-enter-active {
opacity: 1;
left: 0; }
.list-item-edit.ng-leave {
-webkit-transition: left 0.2s ease-in-out, opacity 0.2s ease-in-out;
left: 0px;
opacity: 1; }
.list-item-edit.ng-leave-active {
opacity: 0;
left: -48px; }
.list-item-drag {
position: absolute;
z-index: 0;
right: 0;
top: 0;
right: 0;
z-index: 0;
height: 100%; }
.list-item-drag .button {
height: 100%;
border-radius: 0;
border: none; }
border: none;
border-radius: 0; }
/**
* The hidden right-side buttons that can be exposed under a list item
@@ -2402,21 +2380,21 @@ button.list-icon-right .list-item-content:after {
*/
.list-item-buttons {
position: absolute;
z-index: 1;
right: 0;
top: 0;
right: 0;
z-index: 1;
height: 100%; }
.list-item-buttons .button {
height: 100%;
border-radius: 0;
border: none; }
border: none;
border-radius: 0; }
/**
* A list header.
*/
.list-header {
padding: 5px 15px;
margin-top: 20px;
padding: 5px 15px;
background-color: transparent;
color: #222222;
font-weight: bold; }
@@ -2425,28 +2403,29 @@ button.list-icon-right .list-item-content:after {
* A list divider.
*/
.list-divider {
margin: -1px;
padding: 5px 15px;
border: none;
background-color: whitesmoke;
box-shadow: inset 0 0 1px #666666;
color: #222222;
font-weight: bold; }
.list-divider,
.list-header {
margin-left: -1px;
margin-right: -1px; }
.card.list .list-divider {
margin-left: 0;
margin-right: 0; }
.padding .list-divider,
.padding .list-heading {
border-left: 1px solid #dddddd;
border-right: 1px solid #dddddd; }
.card.list .list-item {
padding-right: 1px;
padding-left: 1px; }
/**
* List refreser elements
*/
.list-refresher {
background-color: red;
overflow: hidden;
height: 0;
overflow: hidden; }
background-color: red; }
form {
margin: 0 0 1.42857; }
@@ -2622,7 +2601,6 @@ input[type="file"] {
line-height: 34px; }
select {
width: 220px;
border: 1px solid #cccccc;
background-color: white; }
@@ -3194,14 +3172,16 @@ a.button {
color: #3a87ad; }
.card {
width: 100%;
background-color: white;
margin: 10px;
border: none;
border-radius: 2px;
border: 1px solid #dddddd; }
background-color: white;
box-shadow: inset 0 0 1px #666666; }
.card-header {
padding: 10px;
background-color: white; }
border-bottom: 1px solid #dddddd;
background-color: #eeeeee; }
.card-header.card-header-secondary {
background-color: whitesmoke; }
.card-header.card-header-primary {
@@ -3221,7 +3201,9 @@ a.button {
padding: 10px; }
.card-footer {
padding: 10px; }
padding: 10px;
border-top: 1px solid #dddddd;
background-color: #eeeeee; }
.slide-box {
background-color: #000;