mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
41 lines
564 B
SCSS
41 lines
564 B
SCSS
@import "../../themes/ionic.globals";
|
|
|
|
|
|
// Toggle
|
|
// --------------------------------------------------
|
|
|
|
ion-toggle,
|
|
:host {
|
|
display: inline-block;
|
|
visibility: inherit !important;
|
|
contain: content;
|
|
}
|
|
|
|
ion-gesture {
|
|
display: block;
|
|
visibility: inherit !important;
|
|
}
|
|
|
|
.toggle-cover {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
height: 100%;
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
|
|
|
font-family: inherit;
|
|
font-style: inherit;
|
|
font-variant: inherit;
|
|
|
|
line-height: 1;
|
|
text-transform: none;
|
|
|
|
cursor: pointer;
|
|
outline: none;
|
|
}
|