0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

refactor(console): update sidebar styles (#402)

This commit is contained in:
Gao Sun 2022-03-17 17:30:01 +08:00 committed by GitHub
parent 0feeee263a
commit f085f08a8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
.row { .row {
display: flex; display: flex;
align-items: center; align-items: center;
margin: 0 _.unit(6) 0 _.unit(4); margin: _.unit(1) _.unit(6) _.unit(1) _.unit(4);
padding: _.unit(2); padding: _.unit(2);
color: var(--color-on-surface-variant); color: var(--color-on-surface-variant);
border-radius: _.unit(2); border-radius: _.unit(2);
@ -21,6 +21,10 @@
} }
} }
&:not(.active):hover {
background: var(--color-neutral-variant-90);
}
&.active { &.active {
background: var(--color-primary-90); background: var(--color-primary-90);
color: var(--color-primary); color: var(--color-primary);