mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
UI: fix servercard active/hover/even scoping problem
This commit is contained in:
parent
9c4d8d8aa3
commit
90f302c103
1 changed files with 9 additions and 8 deletions
|
@ -7,17 +7,18 @@
|
||||||
align-items: center
|
align-items: center
|
||||||
/* justify-content: center */
|
/* justify-content: center */
|
||||||
|
|
||||||
.active
|
&.active
|
||||||
background-color: var(--c-3)
|
background-color: var(--c-3)
|
||||||
|
|
||||||
&:hover:not(.active)
|
&:not(.active)
|
||||||
background-color: rgba(0,0,0,0.25) !important
|
&:hover
|
||||||
cursor: pointer
|
background-color: rgba(0,0,0,0.25) !important
|
||||||
transform: translateX(1px)
|
cursor: pointer
|
||||||
transition: background 0.05s ease-in-out, transform 0.1s ease-in-out
|
transform: translateX(1px)
|
||||||
|
transition: background 0.05s ease-in-out, transform 0.1s ease-in-out
|
||||||
|
|
||||||
&:nth-of-type(even)
|
&:nth-of-type(even)
|
||||||
background-color: rgba(0,0,0,0.1)
|
background-color: rgba(0,0,0,0.1)
|
||||||
|
|
||||||
&:last-of-type
|
&:last-of-type
|
||||||
border: 0
|
border: 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue