mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
67 lines
1.8 KiB
SCSS
67 lines
1.8 KiB
SCSS
|
|
// iOS Item
|
|
// --------------------------------------------------
|
|
|
|
$item-ios-border-color: $list-border-color !default;
|
|
$item-ios-activated-background-color: #d9d9d9 !default;
|
|
$item-ios-font-size: 1.6rem !default;
|
|
|
|
$item-ios-padding-top: 12px !default;
|
|
$item-ios-padding-right: 16px !default;
|
|
$item-ios-padding-bottom: 13px !default;
|
|
$item-ios-padding-left: 16px !default;
|
|
|
|
$item-ios-padding-media-top: 10px !default;
|
|
$item-ios-padding-media-bottom: 10px !default;
|
|
|
|
$item-ios-padding-icon-top: 10px !default;
|
|
$item-ios-padding-icon-bottom: 9px !default;
|
|
|
|
$item-ios-avatar-size: 3.6rem !default;
|
|
$item-ios-thumbnail-size: 5.6rem !default;
|
|
$item-ios-note-color: darken($item-ios-border-color, 10%) !default;
|
|
$item-ios-detail-push-color: $item-ios-border-color !default;
|
|
|
|
$item-ios-divider-bg: #f7f7f7 !default;
|
|
$item-ios-divider-color: #222 !default;
|
|
$item-ios-divider-padding: 5px 15px !default;
|
|
|
|
$item-ios-sliding-content-bg: $background-color !default;
|
|
$item-ios-sliding-transition: transform 250ms ease-in-out !default;
|
|
|
|
|
|
.item-group-title {
|
|
padding: $item-ios-padding-top $item-ios-padding-right $item-ios-padding-bottom $item-ios-padding-left;
|
|
background-color: $item-ios-divider-bg;
|
|
color: $item-ios-divider-color;
|
|
}
|
|
|
|
ion-note {
|
|
color: $item-ios-note-color;
|
|
}
|
|
|
|
.item-group {
|
|
ion-item-group-title {
|
|
border-bottom: 1px solid $item-ios-border-color;
|
|
}
|
|
|
|
.item:first-child {
|
|
.item-inner {
|
|
border-top-width: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.item.activated,
|
|
a.item.activated,
|
|
button.item.activated {
|
|
background-color: $item-ios-activated-background-color;
|
|
transition-duration: 0ms;
|
|
}
|
|
|
|
.item,
|
|
a.item,
|
|
button.item {
|
|
transition-duration: 200ms;
|
|
}
|