This repository has been archived by the owner on Feb 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ghost button interactive states
Ensure that the ghost type button has the same initial and interactive states as common links
Fix #536
- Loading branch information
Schalk Neethling
committed
Mar 18, 2021
1 parent
f8c46c0
commit dff7778
Showing
3 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* Turns off background and border and set cursor to pointer. */ | ||
.ghost { | ||
background: none; | ||
border: 0; | ||
cursor: pointer; | ||
text-decoration: underline; | ||
|
||
&:hover, | ||
&:focus { | ||
text-decoration: none; | ||
} | ||
|
||
&:active { | ||
background-color: $primary-50; | ||
color: $neutral-600; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters