mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
css cleanup
This commit is contained in:
@ -22,9 +22,9 @@ $switch-ios-handle-bg-color: $switch-ios-off-bg-color !default;
|
||||
$switch-ios-transition-duration: 300ms !default;
|
||||
|
||||
|
||||
.switch {
|
||||
ion-switch {
|
||||
|
||||
.item-media {
|
||||
.item-media.media-switch {
|
||||
margin: 0;
|
||||
padding: 6px ($item-ios-padding-right / 2) 6px ($item-ios-padding-left);
|
||||
}
|
||||
@ -125,7 +125,7 @@ $switch-ios-transition-duration: 300ms !default;
|
||||
|
||||
@mixin switch-theme-ios($color-name, $bg-on) {
|
||||
|
||||
.switch[#{$color-name}] {
|
||||
ion-switch[#{$color-name}] {
|
||||
|
||||
&[aria-checked=true] .switch-icon {
|
||||
background-color: $bg-on;
|
||||
|
Reference in New Issue
Block a user