mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix inset list border radius
This commit is contained in:
@@ -49,6 +49,8 @@ $list-ios-header-color: #333 !default;
|
||||
|
||||
.item:first-child {
|
||||
margin-top: 0;
|
||||
border-top-right-radius: $list-inset-ios-border-radius;
|
||||
border-top-left-radius: $list-inset-ios-border-radius;
|
||||
|
||||
&:before {
|
||||
border-top: none;
|
||||
@@ -57,6 +59,8 @@ $list-ios-header-color: #333 !default;
|
||||
|
||||
.item:last-child {
|
||||
margin-bottom: 0;
|
||||
border-bottom-right-radius: $list-inset-ios-border-radius;
|
||||
border-bottom-left-radius: $list-inset-ios-border-radius;
|
||||
|
||||
&:after {
|
||||
border-top: none;
|
||||
|
||||
@@ -6,7 +6,7 @@ $radio-md-active-color: color(primary) !default;
|
||||
|
||||
$radio-md-icon-size: 16px !default;
|
||||
$radio-md-border-width: 2px !default;
|
||||
$radio-md-color-off: $item-md-border-color !default;
|
||||
$radio-md-color-off: darken($item-md-border-color, 40%) !default;
|
||||
|
||||
$radio-md-transition-duration: 280ms !default;
|
||||
$radio-md-transition-easing: cubic-bezier(.4, 0, .2, 1) !default;
|
||||
|
||||
@@ -8,7 +8,7 @@ $switch-ios-border-width: 2px !default;
|
||||
$switch-ios-border-radius: $switch-ios-height / 2 !default;
|
||||
|
||||
$switch-ios-off-bg-color: $list-background-color !default;
|
||||
$switch-ios-off-border-color: lighten($list-border-color, 10%) !default;
|
||||
$switch-ios-off-border-color: grayscale(lighten($list-border-color, 11%)) !default;
|
||||
|
||||
$switch-ios-on-bg-color: color(primary) !default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user