fix(button): use correct border-radius on menu & back button (#18501)

- adds hover and focused state to menu button

references #17624
This commit is contained in:
Brandy Carney
2019-06-10 17:58:04 -04:00
committed by GitHub
parent 35c143a036
commit 055e12570d
3 changed files with 19 additions and 7 deletions

View File

@ -6,7 +6,7 @@
:host {
--background-focused: #{ion-color(primary, base, .1)};
--border-radius: 10px;
--border-radius: 4px;
--color: #{$back-button-ios-color};
--icon-margin-end: -5px;
--icon-margin-start: -4px;
@ -32,7 +32,7 @@
@media (any-hover: hover) {
:host(:hover) {
--opacity: #{$button-ios-clear-opacity-hover};
--opacity: .6;
}
}

View File

@ -1,9 +1,5 @@
@import "../../themes/ionic.globals.ios";
// TODO this is needed for the ios vars to import
@import "../button/button.vars";
@import "../button/button.ios.vars";
// iOS Back Button
// --------------------------------------------------