Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/application/conpherence/message-pane.css
12242 views
1
/**
2
* @provides conpherence-message-pane-css
3
*/
4
5
.conpherence-message-pane,
6
.loading .messages-loading-mask,
7
.loading .messages-loading-icon,
8
.conpherence-layout .conpherence-no-threads {
9
position: fixed;
10
left: 240px;
11
right: 240px;
12
top: 106px;
13
bottom: 0px;
14
min-width: 300px;
15
width: auto;
16
}
17
18
.device .conpherence-message-pane,
19
.device .loading .messages-loading-mask,
20
.device .loading .messages-loading-icon,
21
.device .conpherence-layout .conpherence-no-threads {
22
left: 0;
23
}
24
25
.conpherence-layout .conpherence-content-pane .conpherence-no-threads {
26
top: 44px;
27
right: 0;
28
background: {$page.content};
29
z-index: 26;
30
}
31
32
.conpherence-layout .phui-big-info-view {
33
margin: 16px;
34
}
35
36
.conpherence-layout .conpherence-no-threads .phui-box-border {
37
border: none;
38
margin: 0;
39
}
40
41
.conpherence-show-more-messages {
42
display: block;
43
background: #e0e3ec;
44
margin: 10px;
45
text-align: center;
46
padding: 10px;
47
color: {$bluetext};
48
}
49
50
.conpherence-show-more-messages-loading {
51
font-style: italic;
52
}
53
54
.conpherence-message-pane .conpherence-messages {
55
position: fixed;
56
left: 240px;
57
right: 240px;
58
top: 106px;
59
bottom: 142px;
60
overflow-x: hidden;
61
overflow-y: auto;
62
-webkit-overflow-scrolling: touch;
63
}
64
65
.conpherence-messages.jx-scrollbar-frame {
66
overflow-y: hidden;
67
}
68
69
.conpherence-messages .jx-scrollbar-content > .conpherence-edited:first-child,
70
.conpherence-messages > .conpherence-edited:first-child {
71
padding-top: 20px;
72
}
73
74
.conpherence-messages .conpherence-edited:last-child {
75
padding-bottom: 20px;
76
}
77
78
.conpherence-message-pane .conpherence-edited + .date-marker {
79
margin-top: 24px;
80
}
81
82
.device .conpherence-message-pane .conpherence-messages {
83
left: 0;
84
bottom: 44px;
85
box-shadow: none;
86
}
87
88
.device-phone .conpherence-message-pane .conpherence-messages {
89
left: 0;
90
right: 0;
91
bottom: 44px;
92
width: 100%;
93
box-shadow: none;
94
}
95
96
.conpherence-message-pane .phui-form-view {
97
border-width: 0;
98
height: 130px;
99
padding: 0 20px 12px;
100
position: fixed;
101
bottom: 0;
102
left: 240px;
103
right: 241px;
104
}
105
106
.conpherence-room-status {
107
font-size: {$smallerfontsize};
108
color: {$lightgreytext};
109
font-style: italic;
110
position: absolute;
111
bottom: 2px;
112
left: 24px;
113
}
114
115
.device .conpherence-room-status {
116
display: none;
117
}
118
119
.conpherence-no-pontificate .conpherence-message-pane .phui-form-view {
120
border-top: 1px solid {$thinblueborder};
121
text-align: center;
122
}
123
124
.conpherence-no-pontificate .conpherence-message-pane
125
.aphront-form-control-submit button,
126
.conpherence-no-pontificate .conpherence-message-pane
127
.aphront-form-control-submit a.button {
128
margin: 4px 0 0 0;
129
float: none;
130
}
131
132
.conpherence-no-pontificate .phui-form-view .aphront-form-instructions {
133
margin: 24px 0 16px;
134
width: 100%;
135
padding: 0;
136
color: {$bluetext};
137
font-size: {$biggestfontsize};
138
}
139
140
.device .conpherence-message-pane .phui-form-view {
141
padding: 8px 8px;
142
}
143
144
.conpherence-message-pane .aphront-form-control-submit button,
145
.conpherence-message-pane .aphront-form-control-submit a.button {
146
margin-top: 6px;
147
}
148
149
.device .conpherence-message-pane .aphront-form-control-submit button,
150
.device .conpherence-message-pane .aphront-form-control-submit a.button {
151
margin-top: 13px;
152
}
153
154
/**
155
* When entering "Fullscreen Mode" in the remarkup control, we need to drop
156
* all of the "position: fixed" on parent elements or Chrome doesn't put the
157
* textarea on top.
158
*/
159
.remarkup-fullscreen-mode .conpherence-message-pane,
160
.remarkup-fullscreen-mode .conpherence-message-pane .conpherence-messages,
161
.remarkup-fullscreen-mode .conpherence-message-pane .phui-form-view,
162
.remarkup-fullscreen-mode .conpherence-layout {
163
position: static;
164
}
165
166
.conpherence-message-pane .remarkup-assist-bar {
167
border-bottom: none;
168
border-top-left-radius: 3px;
169
border-top-right-radius: 3px;
170
}
171
172
.device .conpherence-message-pane .remarkup-assist-bar {
173
position: absolute;
174
top: 9px;
175
left: 9px;
176
width: 24px;
177
background: {$bluebackground};
178
border-radius: 3px;
179
border: none;
180
}
181
182
.device .conpherence-message-pane .remarkup-assist-button,
183
.device .conpherence-message-pane .remarkup-assist-separator {
184
display: none;
185
}
186
187
.device .conpherence-message-pane
188
.remarkup-assist-button.remarkup-assist-upload {
189
display: block;
190
}
191
192
.device .conpherence-message-pane .phui-form-view {
193
left: 0;
194
height: 34px;
195
width: auto;
196
}
197
198
.device-phone .conpherence-message-pane .phui-form-view {
199
left: 0;
200
right: 0;
201
height: 34px;
202
width: auto;
203
}
204
205
.conpherence-layout .conpherence-message-pane .phui-form-view
206
div.aphront-form-input {
207
margin: 0;
208
width: 100%;
209
}
210
211
.conpherence-transaction-view {
212
padding: 2px 0px;
213
margin: 4px 20px;
214
background-size: 100%;
215
min-height: auto;
216
}
217
218
.device-phone .conpherence-transaction-view {
219
margin: 0 8px;
220
}
221
222
.conpherence-transaction-image {
223
float: left;
224
border-radius: 3px;
225
height: 35px;
226
width: 35px;
227
background-size: 35px;
228
position: absolute;
229
top: 5px;
230
}
231
232
.device-phone .conpherence-transaction-image {
233
height: 25px;
234
width: 25px;
235
background-size: 25px;
236
}
237
238
.conpherence-transaction-view.conpherence-comment.anchor-target,
239
.conpherence-transaction-view.conpherence-edited.anchor-target {
240
background: {$lightyellow};
241
}
242
243
.cconpherence-transaction-view.conpherence-comment.anchor-target {
244
margin: 4px 8px 4px 8px;
245
padding: 2px 4px 2px 4px;
246
}
247
248
.conpherence-transaction-view.conpherence-edited.anchor-target {
249
margin: 0px 8px 0px 8px;
250
padding: 0px 4px 0px 4px;
251
}
252
253
.conpherence-transaction-view .conpherence-transaction-detail {
254
border-width: 0;
255
margin-left: 45px;
256
}
257
258
.device-phone .conpherence-transaction-view .conpherence-transaction-detail {
259
margin-left: 32px;
260
}
261
262
.conpherence-transaction-view.date-marker {
263
padding: 0;
264
margin: 20px 20px 4px;
265
min-height: auto;
266
}
267
268
.device-phone .conpherence-transaction-view.date-marker {
269
margin: 12px 0 4px;
270
}
271
272
.device-tablet .conpherence-transaction-view.date-marker {
273
padding-left: 37px;
274
}
275
276
.conpherence-transaction-view.date-marker .date {
277
left: 40px;
278
font-size: {$normalfontsize};
279
padding: 0px 4px;
280
}
281
282
.device .conpherence-transaction-view.date-marker .date {
283
left: 4px;
284
}
285
286
.device-phone .conpherence-transaction-view.conpherence-edited {
287
min-height: none;
288
color: {$lightgreytext};
289
margin: 0 8px;
290
}
291
292
.conpherence-transaction-view.conpherence-edited
293
.conpherence-transaction-content {
294
color: {$lightgreytext};
295
font-size: {$biggerfontsize};
296
font-style: italic;
297
margin: 0;
298
padding: 0;
299
float: left;
300
line-height: 20px;
301
}
302
303
.conpherence-transaction-view.conpherence-edited {
304
padding: 0;
305
margin-top: 0;
306
margin-bottom: 0;
307
min-height: inherit;
308
}
309
310
.conpherence-transaction-view.conpherence-edited + .conpherence-comment {
311
margin-top: 16px;
312
}
313
314
.conpherence-transaction-view.conpherence-edited +
315
.conpherence-transaction-view.date-marker {
316
margin-top: 24px;
317
}
318
319
.conpherence-transaction-view.conpherence-edited
320
.conpherence-transaction-header {
321
float: right;
322
}
323
324
.conpherence-transaction-view.conpherence-edited
325
.conpherence-transaction-content a {
326
color: {$darkbluetext};
327
}
328
329
.conpherence-transaction-view .conpherence-transaction-info {
330
margin: 0 8px;
331
}
332
333
.conpherence-transaction-view .conpherence-transaction-info,
334
.conpherence-transaction-view .transaction-date,
335
.conpherence-transaction-view .phabricator-content-source-view {
336
color: {$lightgreytext};
337
line-height: 16px;
338
font-size: {$smallerfontsize};
339
}
340
341
.conpherence-transaction-view .conpherence-transaction-content {
342
padding: 2px 0 8px 0;
343
}
344
345
body .conpherence-message-pane .aphront-form-control {
346
padding: 0;
347
}
348
349
.conpherence-message-pane .remarkup-assist-textarea {
350
height: 88px;
351
padding: 8px;
352
box-sizing: border-box;
353
-moz-box-sizing: border-box;
354
-webkit-box-sizing: border-box;
355
border-bottom-left-radius: 3px;
356
border-bottom-right-radius: 3px;
357
}
358
359
.device .conpherence-message-pane .remarkup-assist-textarea {
360
margin: 0;
361
padding: 7px 8px 6px 38px;
362
width: 100%;
363
height: 34px;
364
resize: none;
365
border-color: {$greyborder};
366
border-top-left-radius: 3px;
367
border-top-right-radius: 3px;
368
}
369
370
.device .conpherence-message-pane .aphront-form-control-submit {
371
padding: 0;
372
position: absolute;
373
top: -2px;
374
right: 12px;
375
}
376
377
.device .conpherence-message-pane .aphront-form-control-textarea {
378
float: left;
379
height: 24px;
380
width: 100%;
381
}
382
383
.conpherence-message .phabricator-remarkup .remarkup-code-block pre {
384
max-height: 200px;
385
}
386
387
.conpherence-transaction-collapsed .conpherence-transaction-image,
388
.conpherence-transaction-collapsed .conpherence-transaction-header {
389
display: none;
390
}
391
392
.conpherence-message-pane
393
.conpherence-transaction-collapsed.conpherence-transaction-view {
394
margin-top: 0;
395
margin-bottom: 0;
396
}
397
398
/* this causes scrolling issues on iDevices */
399
.device .conpherence-layout + .phabricator-standard-page-footer {
400
display: none;
401
}
402
403
/***** Thread Loading *********************************************************/
404
405
.conpherence-layout .conpherence-loading-mask {
406
height: 0;
407
opacity: 0;
408
top: 0;
409
right: 0;
410
left: 240px;
411
bottom: 0;
412
transition: all 0.3s;
413
position: fixed;
414
background-color: {$page.content};
415
}
416
417
.conpherence-layout.loading .conpherence-loading-mask {
418
opacity: 1;
419
height: auto;
420
}
421
422
423
/***** Thread Search **********************************************************/
424
425
.conpherence-search-main {
426
opacity: 0;
427
transition: all 0.2s;
428
position: absolute;
429
top: 0;
430
left: 0;
431
right: 0;
432
bottom: 0;
433
height: 0;
434
}
435
436
.show-searchbar .conpherence-search-main {
437
opacity: 1;
438
height: auto;
439
}
440
441
.conpherence-search-form-view {
442
display: none;
443
}
444
445
.show-searchbar .conpherence-search-form-view {
446
display: block;
447
height: 54px;
448
background: {$page.content};
449
position: absolute;
450
top: 0;
451
left: 0;
452
right: 0;
453
}
454
455
.conpherence-search-form-view input.conpherence-search-input {
456
padding-left: 8px;
457
width: calc(100% - 24px);
458
border-radius: 20px;
459
margin: 12px;
460
}
461
462
.conpherence-search-results {
463
position: absolute;
464
background: {$page.content};
465
top: 54px;
466
left: 0;
467
right: 0;
468
bottom: 0;
469
overflow-y: auto;
470
}
471
472