Skip to content

Commit

Permalink
fix: change styling of the mode toggle button (code/tree)
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Apr 20, 2022
1 parent 396a274 commit 28b9c6c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/lib/components/controls/Menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
height: $menu-button-size;
border: none;
background: transparent;
color: white;
color: inherit;
cursor: pointer;
padding: $padding-half;
margin: 0;
Expand All @@ -36,7 +36,7 @@
&.group-button {
$group-button-border: 1px solid rgba(255, 255, 255, 0.5);

border: $group-button-border;
border: 1px solid white;
&:not(.last) {
border-right: none;
}
Expand All @@ -53,14 +53,15 @@
&.last {
margin-right: $padding-half;
}
}

&.selected {
background: rgba(255, 255, 255, 0.3);

&:hover,
&:focus {
background: rgba(255, 255, 255, 0.4);
background: rgba(255, 255, 255, 0.3);
}

&.selected {
background: white;
color: $theme-color;
}
}
}
Expand Down

0 comments on commit 28b9c6c

Please sign in to comment.