-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathnew-text.styles.ts
More file actions
51 lines (46 loc) · 1.13 KB
/
new-text.styles.ts
File metadata and controls
51 lines (46 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { css } from 'emotion';
import { theme } from 'core/theme';
const { palette, typography, spacing } = theme;
export const newTextContainer = css`
width: 100%;
margin-bottom: 40px;
`;
export const labelTextarea = css`
font-family: ${typography.fontFamily};
`;
export const editTextArea = css`
box-sizing: border-box;
//width: 100%;
margin-bottom: ${spacing(10)};
margin-top: ${spacing(10)};
padding: ${spacing(10)};
//font-family: ${typography.fontFamily};
//background-color: ${palette.background.paper};
resize: none;
border-radius: ${spacing(4)};
border: 1px solid ${palette.primary.main};
&:focus {
outline-color: ${palette.secondary.main};
}
`;
export const sendBtn = css`
width: 100%;
`;
export const sendBtnDisabled = css`
color: ${palette.grey[700]};
background-color: ${palette.grey[300]};
cursor: default;
width: 100%;
opacity: 0.5;
box-shadow: none;
&:hover {
color: ${palette.grey[700]};
background-color: ${palette.grey[300]};
box-shadow: none;
}
&:active {
color: ${palette.grey[700]};
background-color: ${palette.grey[300]};
box-shadow: none;
}
`;