mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
thumbnail margin
This commit is contained in:
@ -275,13 +275,13 @@ button.item-icon-right:after {
|
||||
// -------------------------------
|
||||
|
||||
.item-thumbnail-left {
|
||||
padding-left: $item-thumbnail-width + $item-padding;
|
||||
min-height: $item-thumbnail-height;
|
||||
padding-left: $item-thumbnail-width + $item-thumbnail-margin + $item-padding;
|
||||
min-height: $item-thumbnail-height + ($item-thumbnail-margin * 2);
|
||||
|
||||
img:first-child, .item-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
top: $item-thumbnail-margin;
|
||||
left: $item-thumbnail-margin;
|
||||
max-width: $item-thumbnail-width;
|
||||
max-height: $item-thumbnail-height;
|
||||
width: 100%;
|
||||
@ -289,13 +289,13 @@ button.item-icon-right:after {
|
||||
}
|
||||
|
||||
.item-thumbnail-right {
|
||||
padding-right: $item-thumbnail-width + $item-padding;
|
||||
min-height: $item-thumbnail-height;
|
||||
padding-right: $item-thumbnail-width + $item-thumbnail-margin + $item-padding;
|
||||
min-height: $item-thumbnail-height + ($item-thumbnail-margin * 2);
|
||||
|
||||
img:first-child, .item-image {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
top: $item-thumbnail-margin;
|
||||
right: $item-thumbnail-margin;
|
||||
max-width: $item-thumbnail-width;
|
||||
max-height: $item-thumbnail-height;
|
||||
width: 100%;
|
||||
|
||||
@ -411,6 +411,7 @@ $item-avitar-height: 40px !default;
|
||||
|
||||
$item-thumbnail-width: 80px !default;
|
||||
$item-thumbnail-height: 80px !default;
|
||||
$item-thumbnail-margin: 10px !default;
|
||||
|
||||
|
||||
// Icons
|
||||
|
||||
Reference in New Issue
Block a user