-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move component styles to scss module. Add subtle shadow on hover.
- Loading branch information
1 parent
d5f35d2
commit 078f452
Showing
2 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
clients/admin-ui/src/features/common/CalloutNavCard.module.scss
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,20 @@ | ||
.container { | ||
border-radius: 6px; | ||
display: flex; | ||
flex-grow: 1; | ||
|
||
transition: box-shadow 0.2s ease-in-out; | ||
|
||
&:hover { | ||
box-shadow: | ||
0px 1px 2px 0px rgba(0, 0, 0, 0.06), | ||
0px 1px 3px 0px rgba(0, 0, 0, 0.1); | ||
} | ||
} | ||
|
||
.card { | ||
flex-grow: 1; | ||
border-radius: 0px 6px 6px 0px; | ||
border-left: none; | ||
background-color: var(--fidesui-corinth); | ||
} |
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