]>
Commit | Line | Data |
---|---|---|
4635f59d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
93ef8a9d C |
4 | form { |
5 | margin-bottom: 30px; | |
6 | } | |
7 | ||
cf117aaa C |
8 | .avatar-and-textarea { |
9 | display: flex; | |
4635f59d | 10 | margin-bottom: 10px; |
4635f59d | 11 | |
cf117aaa | 12 | img { |
fc641ded | 13 | @include avatar(25px); |
cf117aaa C |
14 | |
15 | vertical-align: top; | |
fc641ded | 16 | margin-right: 10px; |
cf117aaa C |
17 | } |
18 | ||
19 | .form-group { | |
20 | flex-grow: 1; | |
21 | margin: 0; | |
22 | ||
23 | textarea { | |
24 | @include peertube-textarea(100%, 60px); | |
f63c03fb | 25 | @include button-focus(pvar(--mainColorLightest)); |
2d9fea16 RK |
26 | |
27 | &:focus::placeholder { | |
28 | opacity: 0; | |
29 | } | |
cf117aaa C |
30 | } |
31 | } | |
4635f59d C |
32 | } |
33 | ||
88adad2d | 34 | .comment-buttons { |
4635f59d | 35 | display: flex; |
bf079b7b | 36 | justify-content: flex-end; |
4635f59d C |
37 | |
38 | button { | |
39 | @include peertube-button; | |
b7e21681 RK |
40 | @include disable-outline; |
41 | @include disable-default-a-behaviour; | |
42 | ||
43 | &:not(:last-child) { | |
44 | margin-right: .5rem; | |
45 | } | |
88adad2d RK |
46 | |
47 | &:last-child { | |
48 | @include orange-button; | |
49 | } | |
4635f59d | 50 | } |
79671021 RK |
51 | |
52 | .cancel-button { | |
53 | @include tertiary-button; | |
54 | ||
55 | font-weight: $font-semibold; | |
56 | display: inline-block; | |
57 | padding: 0 10px 0 10px; | |
58 | white-space: nowrap; | |
59 | background: transparent; | |
60 | } | |
4635f59d | 61 | } |
93ea9c47 | 62 | |
fc641ded | 63 | @media screen and (max-width: 600px) { |
88adad2d | 64 | textarea, .comment-buttons button { |
93ea9c47 C |
65 | font-size: 14px !important; |
66 | } | |
fc641ded C |
67 | |
68 | textarea { | |
69 | padding: 5px !important; | |
70 | } | |
660d11e9 RK |
71 | } |
72 | ||
73 | .modal-body { | |
74 | .btn { | |
75 | @include peertube-button; | |
76 | @include orange-button; | |
77 | } | |
78 | ||
79 | span { | |
80 | float: left; | |
81 | margin-bottom: 20px; | |
82 | } | |
fc641ded | 83 | } |