mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
@@ -59,10 +59,6 @@ $item-md-forward-icon-color: $item-md-border-color !default;
|
||||
&:last-child:after {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
&.activated {
|
||||
background-color: $item-md-activated-background-color;
|
||||
}
|
||||
}
|
||||
|
||||
ion-header + .item:before {
|
||||
@@ -193,5 +189,10 @@ $item-md-forward-icon-color: $item-md-border-color !default;
|
||||
.item,
|
||||
a.item,
|
||||
button.item {
|
||||
transition: background-color $button-md-transition-duration $button-md-animation-curve,
|
||||
transition: background-color $button-md-transition-duration $button-md-animation-curve;
|
||||
|
||||
&.activated {
|
||||
background-color: $item-md-activated-background-color;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,6 +24,10 @@ $switch-ios-transition-duration: 300ms !default;
|
||||
|
||||
ion-switch {
|
||||
|
||||
&.item.activated {
|
||||
background: $list-background-color;
|
||||
}
|
||||
|
||||
media-switch {
|
||||
padding: 6px ($item-ios-padding-right / 2) 6px ($item-ios-padding-left);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user