UI: fix servercard active/hover/even scoping problem

This commit is contained in:
41666 2017-12-10 04:39:17 -06:00
parent 9c4d8d8aa3
commit 90f302c103

View file

@ -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