mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
remove remaining gradient hairlines
This commit is contained in:
@@ -24,7 +24,6 @@ $item-ios-border-color: $list-ios-border-color !default;
|
||||
.item-content {
|
||||
min-height: $item-ios-min-height;
|
||||
padding: 0;
|
||||
@include hairline(bottom, $item-ios-border-color);
|
||||
}
|
||||
|
||||
.item:last-of-type .item-content:after {
|
||||
@@ -50,9 +49,4 @@ $item-ios-border-color: $list-ios-border-color !default;
|
||||
}
|
||||
}
|
||||
|
||||
.item-group-title {
|
||||
// TODO: This doesn't look great when it's a header for the first item
|
||||
@include hairline(bottom, $item-ios-border-color);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
$list-ios-background-color: #fff !default;
|
||||
$list-ios-border-color: #c8c7cc !default;
|
||||
|
||||
$list-ios-header-margin: 35px 15px 10px 15px !default;
|
||||
$list-ios-header-margin: 35px 15px 10px 15px !default;
|
||||
$list-ios-header-font-size: 1.4rem !default;
|
||||
$list-ios-header-color: #6d6d72 !default;
|
||||
|
||||
@@ -14,16 +14,7 @@ $list-ios-footer-font-size: 1.4rem !default;
|
||||
$list-ios-footer-color: #8f8f94 !default;
|
||||
|
||||
|
||||
.list.list[mode="ios"] {
|
||||
// Add the hairline to the top of the first item
|
||||
.item:first-of-type {
|
||||
@include hairline(top, $list-ios-border-color, $z-index-list-border);
|
||||
}
|
||||
|
||||
// Add the hairline to the bottom of the last item
|
||||
.item:last-of-type {
|
||||
@include hairline(bottom, $list-ios-border-color, $z-index-list-border);
|
||||
}
|
||||
.list[mode="ios"] {
|
||||
|
||||
.list-header {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user