]>
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 | |
fbdcd4ec | 12 | my-account-avatar { |
cf117aaa | 13 | vertical-align: top; |
fc641ded | 14 | margin-right: 10px; |
cf117aaa C |
15 | } |
16 | ||
17 | .form-group { | |
18 | flex-grow: 1; | |
19 | margin: 0; | |
3c176894 | 20 | position: relative; |
21 | ||
22 | $peertube-textarea-height: 60px; | |
23 | $markdown-icon-height: 18px; | |
24 | $markdown-icon-width: 30px; | |
25 | ||
26 | .markdown-guide { | |
27 | position: absolute; | |
28 | top: 5px; | |
438c256b | 29 | right: 9px; |
3c176894 | 30 | |
31 | ::ng-deep .help-tooltip-button { | |
32 | my-global-icon { | |
33 | height: $markdown-icon-height; | |
34 | width: $markdown-icon-width; | |
35 | ||
36 | svg { | |
438c256b | 37 | color: #C6C6C6; |
38 | fill: #C6C6C6; | |
39 | border-radius: 3px; | |
3c176894 | 40 | } |
41 | } | |
42 | ||
43 | &:focus, &:active, &:hover { | |
44 | my-global-icon svg { | |
438c256b | 45 | background-color: #C6C6C6; |
46 | color: pvar(--mainBackgroundColor); | |
47 | fill: pvar(--mainBackgroundColor); | |
3c176894 | 48 | } |
49 | } | |
50 | } | |
51 | } | |
cf117aaa C |
52 | |
53 | textarea { | |
3c176894 | 54 | @include peertube-textarea(100%, $peertube-textarea-height); |
f63c03fb | 55 | @include button-focus(pvar(--mainColorLightest)); |
2d9fea16 | 56 | |
438c256b | 57 | min-height: calc(#{$peertube-textarea-height} - 15px * 2); |
58 | padding-right: $markdown-icon-width + 15px !important; | |
3c176894 | 59 | |
60 | @media screen and (max-width: 600px) { | |
438c256b | 61 | padding-right: $markdown-icon-width + 19px !important; |
3c176894 | 62 | } |
63 | ||
2d9fea16 RK |
64 | &:focus::placeholder { |
65 | opacity: 0; | |
66 | } | |
cf117aaa C |
67 | } |
68 | } | |
4635f59d C |
69 | } |
70 | ||
88adad2d | 71 | .comment-buttons { |
4635f59d | 72 | display: flex; |
bf079b7b | 73 | justify-content: flex-end; |
4635f59d C |
74 | |
75 | button { | |
76 | @include peertube-button; | |
b7e21681 RK |
77 | @include disable-outline; |
78 | @include disable-default-a-behaviour; | |
79 | ||
80 | &:not(:last-child) { | |
81 | margin-right: .5rem; | |
82 | } | |
88adad2d RK |
83 | |
84 | &:last-child { | |
85 | @include orange-button; | |
86 | } | |
4635f59d | 87 | } |
79671021 RK |
88 | |
89 | .cancel-button { | |
90 | @include tertiary-button; | |
91 | ||
92 | font-weight: $font-semibold; | |
93 | display: inline-block; | |
94 | padding: 0 10px 0 10px; | |
95 | white-space: nowrap; | |
96 | background: transparent; | |
97 | } | |
4635f59d | 98 | } |
93ea9c47 | 99 | |
f34cc2a4 K |
100 | .emoji-flex { |
101 | display: flex; | |
102 | flex-flow: row wrap; | |
103 | align-items: center; | |
104 | ||
105 | .emoji-flex-item { | |
106 | text-align: left; | |
107 | margin: auto; | |
108 | min-width: 227px; | |
109 | flex: 1; | |
110 | ||
111 | code { | |
112 | display: inline-block; | |
113 | vertical-align: middle; | |
114 | margin-left: 5px; | |
ee3bd9db | 115 | } |
ee3bd9db | 116 | } |
117 | } | |
118 | ||
fc641ded | 119 | @media screen and (max-width: 600px) { |
88adad2d | 120 | textarea, .comment-buttons button { |
93ea9c47 C |
121 | font-size: 14px !important; |
122 | } | |
fc641ded C |
123 | |
124 | textarea { | |
125 | padding: 5px !important; | |
126 | } | |
660d11e9 RK |
127 | } |
128 | ||
129 | .modal-body { | |
130 | .btn { | |
131 | @include peertube-button; | |
132 | @include orange-button; | |
133 | } | |
134 | ||
135 | span { | |
136 | float: left; | |
137 | margin-bottom: 20px; | |
138 | } | |
fc641ded | 139 | } |