mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 04:09:12 +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
|
||||
/* justify-content: center */
|
||||
|
||||
.active
|
||||
&.active
|
||||
background-color: var(--c-3)
|
||||
|
||||
&:hover:not(.active)
|
||||
background-color: rgba(0,0,0,0.25) !important
|
||||
cursor: pointer
|
||||
transform: translateX(1px)
|
||||
transition: background 0.05s ease-in-out, transform 0.1s ease-in-out
|
||||
&:not(.active)
|
||||
&:hover
|
||||
background-color: rgba(0,0,0,0.25) !important
|
||||
cursor: pointer
|
||||
transform: translateX(1px)
|
||||
transition: background 0.05s ease-in-out, transform 0.1s ease-in-out
|
||||
|
||||
&:nth-of-type(even)
|
||||
background-color: rgba(0,0,0,0.1)
|
||||
&:nth-of-type(even)
|
||||
background-color: rgba(0,0,0,0.1)
|
||||
|
||||
&:last-of-type
|
||||
border: 0
|
||||
|
|
Loading…
Add table
Reference in a new issue