list item image

This commit is contained in:
Adam Bradley
2013-10-23 22:58:27 -05:00
parent ce8d34fa5e
commit ca90a13524
7 changed files with 91 additions and 66 deletions

35
dist/css/ionic.css vendored
View File

@@ -1,4 +1,3 @@
@charset "UTF-8";
@font-face {
font-family: 'ionicons';
src: url("fonts/ionicons.eot");
@@ -1261,7 +1260,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.
@@ -2346,10 +2345,10 @@ a.list-icon-right .list-item-content:after,
button.list-icon-right .list-item-content:after {
display: none; }
.list-thumbnail .list-item-content {
.list-item-thumbnail .list-item-content {
padding-left: 70px;
min-height: 70px; }
.list-thumbnail .list-item-content img:first-child, .list-thumbnail .list-item-content .list-img {
.list-item-thumbnail .list-item-content img:first-child, .list-item-thumbnail .list-item-content .list-img {
position: absolute;
top: 15px;
left: 15px;
@@ -2358,10 +2357,10 @@ button.list-icon-right .list-item-content:after {
width: 100%;
border-radius: 4px; }
.list-thumbnail-lrg .list-item-content {
.list-item-thumbnail-lrg .list-item-content {
padding-left: 95px;
min-height: 80px; }
.list-thumbnail-lrg .list-item-content img:first-child, .list-thumbnail-lrg .list-item-content .list-img {
.list-item-thumbnail-lrg .list-item-content img:first-child, .list-item-thumbnail-lrg .list-item-content .list-img {
position: absolute;
top: 0;
left: 0;
@@ -2369,6 +2368,12 @@ button.list-icon-right .list-item-content:after {
max-height: 80px;
width: 100%; }
.list-item-image .list-item-content {
text-align: center;
padding: 0; }
.list-item-image .list-item-content img:first-child, .list-item-image .list-item-content .list-img {
width: 100%; }
.list-header {
margin-top: 20px;
padding: 5px 15px;
@@ -2702,7 +2707,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 {
@@ -2717,7 +2722,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); }
@@ -3081,7 +3086,7 @@ input[type="range"] {
.button.button-icon:active, .button.button-icon.active {
background: none;
box-shadow: none;
text-shadow: 0px 0px 10px white; }
text-shadow: 0px 0px 10px #fff; }
.button.block, .button.button-full {
margin-top: 10px;
margin-bottom: 10px; }
@@ -3508,9 +3513,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; }
.icon-loading:before {
content: "\e144"; }
@@ -3523,9 +3528,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; }
.icon-refreshing:before {
content: "\e144"; }