@@ -30,11 +30,17 @@ $list-inset-md-margin-left: 16px !default;
30
30
/// @prop - Border radius of the inset list
31
31
$list-inset-md-border-radius : 2px !default ;
32
32
33
+ /// @prop - Margin bottom of the header in a list
34
+ $list-md-header-margin-bottom : 13px !default ;
35
+
33
36
/// @prop - Padding left of the header in a list
34
37
$list-md-header-padding-left : $item-md-padding-left !default ;
35
38
36
- /// @prop - Border bottom of the header in a list
37
- $list-md-header-border-bottom : 1px solid $list-md-border-color !default ;
39
+ /// @prop - Minimum height of the header in a list
40
+ $list-md-header-min-height : 4.5rem !default ;
41
+
42
+ /// @prop - Border top of the header in a list
43
+ $list-md-header-border-top : 1px solid $list-md-border-color !default ;
38
44
39
45
/// @prop - Font size of the header in a list
40
46
$list-md-header-font-size : 1.4rem !default ;
@@ -47,23 +53,13 @@ $list-md-header-color: #858585 !default;
47
53
// --------------------------------------------------
48
54
49
55
.list-md {
50
- margin : 0 $list-md-margin-right $list-md-margin-bottom $list-md-margin-left ;
56
+ margin : -1 px $list-md-margin-right $list-md-margin-bottom $list-md-margin-left ;
51
57
}
52
58
53
59
.list-md .item-block .item-inner {
54
60
border-bottom : 1px solid $list-md-border-color ;
55
61
}
56
62
57
- .list-md > .item-block :first-child ,
58
- .list-md > .item-wrapper :first-child .item-block {
59
- border-top : 1px solid $list-md-border-color ;
60
- }
61
-
62
- .list-md > .item-block :last-child ,
63
- .list-md > .item-wrapper :last-child .item-block {
64
- border-bottom : 1px solid $list-md-border-color ;
65
- }
66
-
67
63
.list-md > .item-block :last-child ,
68
64
.list-md > .item-wrapper :last-child {
69
65
ion-label ,
@@ -110,7 +106,6 @@ $list-md-header-color: #858585 !default;
110
106
111
107
.list-md + ion-list ion-list-header {
112
108
margin-top : - $list-md-margin-top ;
113
- padding-top : 0 ;
114
109
}
115
110
116
111
@@ -163,9 +158,12 @@ $list-md-header-color: #858585 !default;
163
158
// --------------------------------------------------
164
159
165
160
.list-header-md {
161
+ margin-bottom : $list-md-header-margin-bottom ;
166
162
padding-left : $list-md-header-padding-left ;
167
163
168
- border-bottom : $list-md-header-border-bottom ;
164
+ min-height : $list-md-header-min-height ;
165
+
166
+ border-top : $list-md-header-border-top ;
169
167
font-size : $list-md-header-font-size ;
170
168
color : $list-md-header-color ;
171
169
}
0 commit comments