Skip to content

Commit

Permalink
CSS highlight the Donate button
Browse files Browse the repository at this point in the history
  • Loading branch information
armab committed Oct 13, 2020
1 parent 4816797 commit 989a32c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/st2-menu/menu.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default class Menu extends React.Component {
Support
</a>

<a target="_blank" rel="noopener noreferrer" href={this.donateLink} className={style.side}>
<a target="_blank" rel="noopener noreferrer" href={this.donateLink} className={style.side+ ' ' +style.sideDonate}>
Donate
</a>
</header>
Expand Down
8 changes: 8 additions & 0 deletions modules/st2-menu/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@
color: inherit;
text-decoration: none;

&-donate {
display: inline-block;
margin: 2px 5px 2px 0;
padding: .50em .8em;
color: #fff;
border-radius: .60rem;
background-color: #008CEB;
}

&-item {
position: relative;
Expand Down

0 comments on commit 989a32c

Please sign in to comment.