@@ -4,23 +4,19 @@ import { theme } from 'core/theme';
44const { palette, typography, spacing } = theme ;
55const color = palette . customPalette ;
66
7- export const newTextContainer = css `
8- width : 100% ;
9- margin-top : ${ spacing ( 7.5 ) } ;
10- margin-bottom : ${ spacing ( 5 ) } ;
11- margin-bottom : ${ spacing ( 10 ) } ;
7+ export const root = css `
8+ display : grid;
9+ grid-row-gap : 1rem ;
10+ grid-column-gap : 1rem ;
1211` ;
1312
14- export const labelTextarea = css `
13+ export const label = css `
1514 font-family : ${ typography . fontFamily } ;
1615 font-size : 1.125rem ;
1716` ;
1817
19- export const editTextArea = css `
18+ export const textarea = css `
2019 box-sizing : border-box;
21- width : 100% ;
22- margin-top : ${ spacing ( 1.25 ) } ;
23- margin-bottom : ${ spacing ( 2.5 ) } ;
2420 padding : ${ spacing ( 2 ) } ;
2521 font-family : ${ typography . fontFamily } ;
2622 font-size : 1rem ;
@@ -34,8 +30,7 @@ export const editTextArea = css`
3430 }
3531` ;
3632
37- export const sendBtn = css `
38- width : 100% ;
33+ export const button = css `
3934 padding : ${ spacing ( 1.25 ) } 0 ;
4035 font-size : 1.188rem ;
4136 font-weight : 400 ;
@@ -51,31 +46,7 @@ export const sendBtn = css`
5146 }
5247` ;
5348
54- export const sendBtnDisabled = css `
55- width : 100% ;
56- padding : ${ spacing ( 1.25 ) } 0 ;
57- font-size : 1.188rem ;
58- font-weight : 400 ;
59- text-transform : capitalize;
60- border-radius : 0 ;
61- color : ${ palette . grey [ 700 ] } ;
62- background-color : ${ palette . grey [ 300 ] } ;
63- cursor : default;
64- opacity : 0.5 ;
65- box-shadow : none;
66- & : hover {
67- color : ${ palette . grey [ 700 ] } ;
68- background-color : ${ palette . grey [ 300 ] } ;
69- box-shadow : none;
70- }
71- & : active {
72- color : ${ palette . grey [ 700 ] } ;
73- background-color : ${ palette . grey [ 300 ] } ;
74- box-shadow : none;
75- }
76- ` ;
77-
78- export const sendIcon = css `
49+ export const buttonIcon = css `
7950 margin-left : ${ spacing ( 1.25 ) } ;
8051 font-size : 1.25rem ;
8152` ;
0 commit comments