mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
53 lines
829 B
SCSS
53 lines
829 B
SCSS
@import "../../globals.core";
|
|
|
|
// Item Media
|
|
// --------------------------------------------------
|
|
// Icons, avatars, thumbnails, notes, etc.
|
|
|
|
.item > ion-icon[small]:first-child,
|
|
.item-inner > ion-icon[small]:first-child {
|
|
min-width: 18px;
|
|
}
|
|
|
|
.item > ion-icon:first-child,
|
|
.item-inner > ion-icon:first-child {
|
|
min-width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.item > ion-icon,
|
|
.item-inner > ion-icon {
|
|
line-height: 1;
|
|
font-size: 2.4rem;
|
|
min-height: 2.4rem;
|
|
|
|
&[large] {
|
|
font-size: 3.2rem;
|
|
min-height: 3.2rem;
|
|
}
|
|
|
|
&[small] {
|
|
font-size: 1.8rem;
|
|
min-height: 1.8rem;
|
|
}
|
|
}
|
|
|
|
ion-avatar,
|
|
ion-thumbnail {
|
|
display: block;
|
|
line-height: 1;
|
|
|
|
img {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.item-cover {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: transparent;
|
|
} |