mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
md list margins
This commit is contained in:
@ -2,13 +2,19 @@
|
||||
// Material Design List
|
||||
// --------------------------------------------------
|
||||
|
||||
$list-md-header-padding: 16px $item-md-padding-right 16px $item-md-padding-left !default;
|
||||
$list-md-margin-top: 16px !default;
|
||||
$list-md-margin-right: 0 !default;
|
||||
$list-md-margin-bottom: 16px !default;
|
||||
$list-md-margin-left: 0 !default;
|
||||
$list-md-header-padding: 0 $item-md-padding-right 16px $item-md-padding-left !default;
|
||||
$list-md-header-font-size: 1.4rem !default;
|
||||
$list-md-header-color: #858585 !default;
|
||||
|
||||
|
||||
.list[mode=md] {
|
||||
|
||||
margin: $list-md-margin-top $list-md-margin-right $list-md-margin-bottom $list-md-margin-left;
|
||||
|
||||
ion-header {
|
||||
padding: $list-md-header-padding;
|
||||
font-size: $list-md-header-font-size;
|
||||
@ -16,3 +22,7 @@ $list-md-header-color: #858585 !default;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.list[mode=md] + .list ion-header {
|
||||
margin-top: -$list-md-margin-top;
|
||||
}
|
||||
|
Reference in New Issue
Block a user