Get server listing design working mostly correct
This commit is contained in:
parent
94e3acb9c4
commit
d93e804a31
9 changed files with 170 additions and 188 deletions
14
resources/scripts/components/elements/GreyRowBox.tsx
Normal file
14
resources/scripts/components/elements/GreyRowBox.tsx
Normal file
|
@ -0,0 +1,14 @@
|
|||
import styled from 'styled-components/macro';
|
||||
import tw from 'twin.macro';
|
||||
|
||||
export default styled.div`
|
||||
${tw`flex rounded no-underline text-neutral-200 items-center bg-neutral-700 p-4 border border-transparent transition-colors duration-150`};
|
||||
|
||||
&:not(.no-hover):hover {
|
||||
${tw`border-neutral-500`};
|
||||
}
|
||||
|
||||
& > div.icon {
|
||||
${tw`rounded-full bg-neutral-500 p-3`};
|
||||
}
|
||||
`;
|
Reference in a new issue