]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/+video-watch/comment/video-comment-add.component.scss
Merge branch 'release/3.1.0' into develop
[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
fe88ca69
C
4$markdown-icon-height: 18px;
5$markdown-icon-width: 30px;
6$peertube-textarea-height: 60px;
7
93ef8a9d
C
8form {
9 margin-bottom: 30px;
10}
11
cf117aaa
C
12.avatar-and-textarea {
13 display: flex;
4635f59d 14 margin-bottom: 10px;
4635f59d 15
fbdcd4ec 16 my-account-avatar {
cf117aaa 17 vertical-align: top;
fc641ded 18 margin-right: 10px;
cf117aaa
C
19 }
20
21 .form-group {
22 flex-grow: 1;
23 margin: 0;
3c176894 24 position: relative;
fe88ca69 25 }
3c176894 26
fe88ca69
C
27 textarea {
28 @include peertube-textarea(100%, $peertube-textarea-height);
29 @include button-focus(pvar(--mainColorLightest));
2d9fea16 30
fe88ca69
C
31 min-height: calc(#{$peertube-textarea-height} - 15px * 2);
32 padding-right: $markdown-icon-width + 15px !important;
3c176894 33
fe88ca69
C
34 @media screen and (max-width: 600px) {
35 padding-right: $markdown-icon-width + 19px !important;
36 }
3c176894 37
fe88ca69
C
38 &:focus::placeholder {
39 opacity: 0;
cf117aaa
C
40 }
41 }
4635f59d
C
42}
43
fe88ca69
C
44.markdown-guide {
45 position: absolute;
46 top: 5px;
47 right: 9px;
4635f59d 48
fe88ca69
C
49 ::ng-deep .help-tooltip-button {
50 my-global-icon {
51 height: $markdown-icon-height;
52 width: $markdown-icon-width;
b7e21681 53
fe88ca69
C
54 svg {
55 color: #C6C6C6;
56 fill: #C6C6C6;
57 border-radius: 3px;
58 }
b7e21681 59 }
88adad2d 60
fe88ca69
C
61 &:focus, &:active, &:hover {
62 my-global-icon svg {
63 background-color: #C6C6C6;
64 color: pvar(--mainBackgroundColor);
65 fill: pvar(--mainBackgroundColor);
66 }
88adad2d 67 }
4635f59d 68 }
fe88ca69 69}
79671021 70
fe88ca69
C
71.comment-buttons {
72 display: flex;
73 justify-content: flex-end;
4635f59d 74}
93ea9c47 75
f34cc2a4
K
76.emoji-flex {
77 display: flex;
78 flex-flow: row wrap;
79 align-items: center;
80
81 .emoji-flex-item {
82 text-align: left;
83 margin: auto;
84 min-width: 227px;
85 flex: 1;
86
87 code {
88 display: inline-block;
89 vertical-align: middle;
90 margin-left: 5px;
ee3bd9db 91 }
ee3bd9db 92 }
93}
94
fc641ded 95@media screen and (max-width: 600px) {
fe88ca69
C
96 textarea,
97 .comment-buttons button {
93ea9c47
C
98 font-size: 14px !important;
99 }
fc641ded
C
100
101 textarea {
102 padding: 5px !important;
103 }
660d11e9
RK
104}
105
106.modal-body {
fe88ca69 107 > span {
660d11e9
RK
108 float: left;
109 margin-bottom: 20px;
110 }
fc641ded 111}