Files: a7f008995a10dc690974348caecbec007e36228b / modules_basic / compose.mcss
1187 bytesRaw
1 | Compose { |
2 | display: flex |
3 | flex-direction: column |
4 | |
5 | padding: 1rem .5rem 1rem 7.3rem |
6 | |
7 | textarea { |
8 | border: 1px solid gainsboro |
9 | |
10 | -expanded { |
11 | height: 200px |
12 | transition: height .15s ease-out |
13 | } |
14 | |
15 | -contracted { |
16 | height: 50px |
17 | transition: height .15s ease-in |
18 | } |
19 | } |
20 | |
21 | section.actions { |
22 | display: flex |
23 | flex-direction: row |
24 | align-items: baseline |
25 | |
26 | margin-top: .4rem |
27 | |
28 | input[type="file"] { |
29 | flex-grow: 1 |
30 | |
31 | padding: .5rem 0 |
32 | |
33 | width: 5.5rem |
34 | color: transparent |
35 | |
36 | ::-webkit-file-upload-button { |
37 | visibility: hidden |
38 | } |
39 | |
40 | ::before { |
41 | $composeButton |
42 | padding-top: .3rem |
43 | |
44 | content: '๐' |
45 | font-size: 1rem |
46 | |
47 | outline: none |
48 | white-space: nowrap |
49 | -webkit-user-select: none |
50 | } |
51 | |
52 | :active, :focus { |
53 | outline: none |
54 | box-shadow: none |
55 | } |
56 | } |
57 | |
58 | button { |
59 | $composeButton |
60 | |
61 | text-transform: uppercase |
62 | font-weight: bold |
63 | font-size: .7rem |
64 | } |
65 | } |
66 | } |
67 | |
68 | $composeButton { |
69 | background: #fff |
70 | color: #666 |
71 | border: 1px solid #bbb |
72 | border-radius: .5rem |
73 | padding: .5rem |
74 | margin: 0 |
75 | cursor: pointer |
76 | } |
77 | |
78 |
Built with git-ssb-web