mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(button): default opacity for disabled clear buttons (#18560)
fixes #18555
This commit is contained in:

committed by
Brandy Carney

parent
301b0fc1d1
commit
f48dc3dd1a
@ -60,7 +60,6 @@
|
|||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
:host(.button-clear) {
|
:host(.button-clear) {
|
||||||
--opacity: #{$button-md-clear-opacity};
|
|
||||||
--background-activated: transparent;
|
--background-activated: transparent;
|
||||||
--background-focused: #{ion-color(primary, base, .1)};
|
--background-focused: #{ion-color(primary, base, .1)};
|
||||||
--background-hover: #{ion-color(primary, base, .04)};
|
--background-hover: #{ion-color(primary, base, .04)};
|
||||||
@ -131,4 +130,4 @@
|
|||||||
:host(.button-outline.ion-color:hover) .button-native {
|
:host(.button-outline.ion-color:hover) .button-native {
|
||||||
background: #{current-color(base, .04)};
|
background: #{current-color(base, .04)};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -297,4 +297,4 @@ ion-ripple-effect {
|
|||||||
background: var(--background-hover);
|
background: var(--background-hover);
|
||||||
color: var(--color-hover);
|
color: var(--color-hover);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user