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