mirror of
https://github.com/logto-io/logto.git
synced 2025-03-24 22:41:28 -05:00
refactor(console): add inspire me button hover background (#3395)
This commit is contained in:
parent
c01ad88dab
commit
e359479ad5
3 changed files with 12 additions and 2 deletions
BIN
packages/console/src/onboarding/assets/images/fireworks.png
Normal file
BIN
packages/console/src/onboarding/assets/images/fireworks.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
|
@ -24,8 +24,17 @@
|
|||
}
|
||||
|
||||
.button {
|
||||
&:not(:disabled):not(:active):hover {
|
||||
background: var(--color-layer-1);
|
||||
&:not(:disabled) {
|
||||
&:not(:active),
|
||||
&:active {
|
||||
&:hover {
|
||||
background: var(--color-layer-1) center / 90% no-repeat url('../../../../assets/images/fireworks.png');
|
||||
}
|
||||
}
|
||||
|
||||
&:active:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,6 +44,7 @@ const InspireMe = ({ onInspired }: Props) => {
|
|||
</div>
|
||||
<Button
|
||||
icon={<BulbIcon />}
|
||||
size="large"
|
||||
className={styles.button}
|
||||
title="cloud.sie.inspire.inspire_me"
|
||||
onMouseEnter={() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue