Update database screens
This commit is contained in:
parent
a288374027
commit
7e8a5f1271
5 changed files with 86 additions and 76 deletions
|
@ -1,12 +1,10 @@
|
|||
import styled from 'styled-components/macro';
|
||||
import tw from 'twin.macro';
|
||||
|
||||
export default styled.div`
|
||||
export default styled.div<{ $hoverable?: boolean }>`
|
||||
${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`};
|
||||
}
|
||||
${props => props.$hoverable !== false && tw`hover:border-neutral-500`};
|
||||
|
||||
& > div.icon {
|
||||
${tw`rounded-full bg-neutral-500 p-3`};
|
||||
|
|
Reference in a new issue