mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
61 lines
1.8 KiB
SCSS
61 lines
1.8 KiB
SCSS
|
|
// Material Design Item
|
|
// --------------------------------------------------
|
|
|
|
$item-md-border-color: grayscale(lighten($list-border-color, 8%)) !default;
|
|
$item-md-activated-background-color: #f1f1f1 !default;
|
|
$item-md-font-size: 1.6rem !default;
|
|
|
|
$item-md-padding-top: 13px !default;
|
|
$item-md-padding-right: 16px !default;
|
|
$item-md-padding-bottom: 13px !default;
|
|
$item-md-padding-left: 16px !default;
|
|
|
|
$item-md-padding-media-top: 9px !default;
|
|
$item-md-padding-media-bottom: 9px !default;
|
|
|
|
$item-md-padding-icon-top: 11px !default;
|
|
$item-md-padding-icon-bottom: 10px !default;
|
|
|
|
$item-md-body-text-font-size: 1.4rem !default;
|
|
$item-md-body-text-line-height: 1.5 !default;
|
|
|
|
$item-md-avatar-size: 4rem !default;
|
|
$item-md-thumbnail-size: 8rem !default;
|
|
$item-md-note-color: darken($item-md-border-color, 10%) !default;
|
|
|
|
$item-md-divider-bg: #fff !default;
|
|
$item-md-divider-color: #222 !default;
|
|
$item-md-divider-padding: 5px 15px !default;
|
|
|
|
$item-md-sliding-content-bg: $background-color !default;
|
|
$item-md-sliding-transition: transform 250ms ease-in-out !default;
|
|
|
|
|
|
.item-group-title {
|
|
padding: $item-md-padding-top $item-md-padding-right $item-md-padding-bottom $item-md-padding-left;
|
|
background-color: $item-md-divider-bg;
|
|
color: $item-md-divider-color;
|
|
}
|
|
|
|
ion-note {
|
|
color: $item-md-note-color;
|
|
}
|
|
|
|
.item,
|
|
a.item,
|
|
button.item {
|
|
transition: background-color $button-md-transition-duration $button-md-animation-curve, transform 300ms;
|
|
}
|
|
|
|
.item.activated,
|
|
a.item.activated,
|
|
button.item.activated {
|
|
background-color: $item-md-activated-background-color;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.item[no-lines] {
|
|
border-width: 0;
|
|
}
|