@ -4,13 +4,13 @@ import { OVERLAY_BACKGROUND } from 'twenty-ui';
|
|||||||
const StyledFieldInputOverlay = styled.div`
|
const StyledFieldInputOverlay = styled.div`
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: ${({ theme }) => `1px solid ${theme.border.color.light}`};
|
border: ${({ theme }) => `1px solid ${theme.border.color.light}`};
|
||||||
${OVERLAY_BACKGROUND}
|
|
||||||
border-radius: ${({ theme }) => theme.border.radius.sm};
|
border-radius: ${({ theme }) => theme.border.radius.sm};
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin: -1px;
|
margin: -1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
${OVERLAY_BACKGROUND}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const FieldInputOverlay = StyledFieldInputOverlay;
|
export const FieldInputOverlay = StyledFieldInputOverlay;
|
||||||
|
|||||||
@ -1,14 +1,14 @@
|
|||||||
import styled from '@emotion/styled';
|
import styled from '@emotion/styled';
|
||||||
|
import { OVERLAY_BACKGROUND } from 'twenty-ui';
|
||||||
|
|
||||||
const StyledFieldTextAreaOverlay = styled.div`
|
const StyledFieldTextAreaOverlay = styled.div`
|
||||||
border-radius: ${({ theme }) => theme.border.radius.sm};
|
border-radius: ${({ theme }) => theme.border.radius.sm};
|
||||||
background: ${({ theme }) => theme.background.transparent.secondary};
|
|
||||||
backdrop-filter: ${({ theme }) => theme.blur.medium};
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
margin: -1px;
|
margin: -1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
${OVERLAY_BACKGROUND}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const FieldTextAreaOverlay = StyledFieldTextAreaOverlay;
|
export const FieldTextAreaOverlay = StyledFieldTextAreaOverlay;
|
||||||
|
|||||||
@ -34,12 +34,10 @@ const StyledTextArea = styled(TextareaAutosize)`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledTextAreaContainer = styled.div`
|
const StyledTextAreaContainer = styled.div`
|
||||||
box-shadow: ${({ theme }) => theme.boxShadow.strong};
|
|
||||||
border: ${({ theme }) => `1px solid ${theme.border.color.light}`};
|
border: ${({ theme }) => `1px solid ${theme.border.color.light}`};
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: ${({ theme }) => theme.spacing(2)} ${({ theme }) => theme.spacing(1)};
|
padding: ${({ theme }) => theme.spacing(2)} ${({ theme }) => theme.spacing(1)};
|
||||||
background-color: ${({ theme }) => theme.background.primary};
|
|
||||||
border-radius: ${({ theme }) => theme.border.radius.sm};
|
border-radius: ${({ theme }) => theme.border.radius.sm};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user