]>
Commit | Line | Data |
---|---|---|
1 | @import '_variables'; | |
2 | @import '_mixins'; | |
3 | ||
4 | $markdown-icon-height: 18px; | |
5 | $markdown-icon-width: 30px; | |
6 | $peertube-textarea-height: 60px; | |
7 | ||
8 | form { | |
9 | margin-bottom: 30px; | |
10 | } | |
11 | ||
12 | .avatar-and-textarea { | |
13 | display: flex; | |
14 | margin-bottom: 10px; | |
15 | ||
16 | my-account-avatar { | |
17 | vertical-align: top; | |
18 | margin-right: 10px; | |
19 | } | |
20 | ||
21 | .form-group { | |
22 | flex-grow: 1; | |
23 | margin: 0; | |
24 | position: relative; | |
25 | } | |
26 | ||
27 | textarea { | |
28 | @include peertube-textarea(100%, $peertube-textarea-height); | |
29 | @include button-focus(pvar(--mainColorLightest)); | |
30 | ||
31 | min-height: calc(#{$peertube-textarea-height} - 15px * 2); | |
32 | padding-right: $markdown-icon-width + 15px !important; | |
33 | ||
34 | @media screen and (max-width: 600px) { | |
35 | padding-right: $markdown-icon-width + 19px !important; | |
36 | } | |
37 | ||
38 | &:focus::placeholder { | |
39 | opacity: 0; | |
40 | } | |
41 | } | |
42 | } | |
43 | ||
44 | .markdown-guide { | |
45 | position: absolute; | |
46 | top: 5px; | |
47 | right: 9px; | |
48 | ||
49 | ::ng-deep .help-tooltip-button { | |
50 | my-global-icon { | |
51 | height: $markdown-icon-height; | |
52 | width: $markdown-icon-width; | |
53 | ||
54 | svg { | |
55 | color: #C6C6C6; | |
56 | fill: #C6C6C6; | |
57 | border-radius: 3px; | |
58 | } | |
59 | } | |
60 | ||
61 | &:focus, &:active, &:hover { | |
62 | my-global-icon svg { | |
63 | background-color: #C6C6C6; | |
64 | color: pvar(--mainBackgroundColor); | |
65 | fill: pvar(--mainBackgroundColor); | |
66 | } | |
67 | } | |
68 | } | |
69 | } | |
70 | ||
71 | .comment-buttons { | |
72 | display: flex; | |
73 | justify-content: flex-end; | |
74 | } | |
75 | ||
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; | |
91 | } | |
92 | } | |
93 | } | |
94 | ||
95 | @media screen and (max-width: 600px) { | |
96 | textarea, | |
97 | .comment-buttons button { | |
98 | font-size: 14px !important; | |
99 | } | |
100 | ||
101 | textarea { | |
102 | padding: 5px !important; | |
103 | } | |
104 | } | |
105 | ||
106 | .modal-body { | |
107 | > span { | |
108 | float: left; | |
109 | margin-bottom: 20px; | |
110 | } | |
111 | } |