mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
.ios and .md body class css structure
This commit is contained in:
@ -10,7 +10,7 @@ $checkbox-ios-border-color-on: color(primary) !default;
|
||||
$checkbox-ios-checkmark-color-on: $background-color !default;
|
||||
|
||||
|
||||
.checkbox[mode=ios] {
|
||||
.checkbox {
|
||||
|
||||
.checkbox-icon {
|
||||
position: relative;
|
||||
@ -47,7 +47,7 @@ $checkbox-ios-checkmark-color-on: $background-color !default;
|
||||
|
||||
@mixin checkbox-theme-ios($color-name, $bg-on) {
|
||||
|
||||
.checkbox[mode=ios][#{$color-name}] {
|
||||
.checkbox[#{$color-name}] {
|
||||
|
||||
&[aria-checked=true] .checkbox-icon {
|
||||
background-color: $bg-on;
|
||||
|
@ -12,7 +12,7 @@ $checkbox-md-border-color-on: color(primary) !default;
|
||||
$checkbox-md-checkmark-color-on: $background-color !default;
|
||||
|
||||
|
||||
.checkbox[mode=md] {
|
||||
.checkbox {
|
||||
|
||||
.checkbox-icon {
|
||||
position: relative;
|
||||
@ -49,7 +49,7 @@ $checkbox-md-checkmark-color-on: $background-color !default;
|
||||
|
||||
@mixin checkbox-theme-md($color-name, $bg-on) {
|
||||
|
||||
.checkbox[mode=md][#{$color-name}] {
|
||||
.checkbox[#{$color-name}] {
|
||||
|
||||
&[aria-checked=true] .checkbox-icon {
|
||||
background-color: $bg-on;
|
||||
|
Reference in New Issue
Block a user