mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
Update :focus outline for men icons
Make the .svg-icon focus style match its hover style.
This commit is contained in:
@@ -288,6 +288,7 @@ div
|
|||||||
margin-right: 24px;
|
margin-right: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:focus /deep/ .top-menu-icon.svg-icon,
|
||||||
&:hover /deep/ .top-menu-icon.svg-icon {
|
&:hover /deep/ .top-menu-icon.svg-icon {
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,12 @@ A simplified dropdown component that doesn't rely on buttons as toggles like bo
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import '~client/assets/scss/colors.scss';
|
@import '~client/assets/scss/colors.scss';
|
||||||
|
.habitica-menu-dropdown {
|
||||||
|
&:hover,
|
||||||
|
&:focus { // NB focus styles match the hover styles for .svg-icon
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.habitica-menu-dropdown.open {
|
.habitica-menu-dropdown.open {
|
||||||
.habitica-menu-dropdown-toggle .svg-icon {
|
.habitica-menu-dropdown-toggle .svg-icon {
|
||||||
|
|||||||
Reference in New Issue
Block a user