]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss
Lazy load all routes
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / comment / video-comment-add.component.scss
CommitLineData
4635f59d
C
1@import '_variables';
2@import '_mixins';
3
93ef8a9d
C
4form {
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);
2d9fea16
RK
25
26 &:focus::placeholder {
27 opacity: 0;
28 }
cf117aaa
C
29 }
30 }
4635f59d
C
31}
32
88adad2d 33.comment-buttons {
4635f59d 34 display: flex;
bf079b7b 35 justify-content: flex-end;
4635f59d
C
36
37 button {
38 @include peertube-button;
b7e21681
RK
39 @include disable-outline;
40 @include disable-default-a-behaviour;
41
42 &:not(:last-child) {
43 margin-right: .5rem;
44 }
88adad2d
RK
45
46 &:last-child {
47 @include orange-button;
48 }
4635f59d 49 }
79671021
RK
50
51 .cancel-button {
52 @include tertiary-button;
53
54 font-weight: $font-semibold;
55 display: inline-block;
56 padding: 0 10px 0 10px;
57 white-space: nowrap;
58 background: transparent;
59 }
4635f59d 60}
93ea9c47 61
fc641ded 62@media screen and (max-width: 600px) {
88adad2d 63 textarea, .comment-buttons button {
93ea9c47
C
64 font-size: 14px !important;
65 }
fc641ded
C
66
67 textarea {
68 padding: 5px !important;
69 }
660d11e9
RK
70}
71
72.modal-body {
73 .btn {
74 @include peertube-button;
75 @include orange-button;
76 }
77
78 span {
79 float: left;
80 margin-bottom: 20px;
81 }
fc641ded 82}