mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(sliding): fix core gesture logic + priority configuration
fixes #14763
This commit is contained in:
@ -5,9 +5,6 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: #{$item-option-button-ios-background-color};
|
||||
--ion-color-contrast: #{$item-option-button-ios-text-color};
|
||||
|
||||
font-size: $item-option-button-ios-font-size;
|
||||
}
|
||||
|
||||
|
||||
@ -5,9 +5,6 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: #{$item-option-button-md-background-color};
|
||||
--ion-color-contrast: #{$item-option-button-md-text-color};
|
||||
|
||||
font-size: $item-option-button-md-font-size;
|
||||
font-weight: 500;
|
||||
|
||||
|
||||
@ -4,10 +4,14 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: #{ion-color(primary, base)};
|
||||
--ion-color-contrast: #{ion-color(primary, contrast)};
|
||||
|
||||
color: #{current-color(contrast)};
|
||||
}
|
||||
|
||||
.item-option-native {
|
||||
@include text-inherit();
|
||||
@include padding(0, .7em);
|
||||
|
||||
width: 100%;
|
||||
@ -18,15 +22,13 @@
|
||||
outline: none;
|
||||
|
||||
background: #{current-color(base)};
|
||||
color: inherit;
|
||||
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
|
||||
letter-spacing: inherit;
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
.item-option-native:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.item-option-button-inner {
|
||||
|
||||
Reference in New Issue
Block a user