Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/application/differential/revision-comment.css
12242 views
1
/**
2
* @provides differential-revision-comment-css
3
*/
4
5
/* Spooky haunted panel which floats on the bottom of the screen.
6
Haunt modes are:
7
8
- Mode 1: Just the comment box.
9
- Mode 2: Comment box, comment preview, and inline comment previews.
10
*/
11
.differential-haunt-mode-1 .differential-add-comment-panel,
12
.differential-haunt-mode-2 .differential-add-comment-panel {
13
background-color: #fff;
14
position: fixed;
15
width: 100%;
16
bottom: 0;
17
right: 0;
18
left: 0;
19
overflow: auto;
20
max-height: 375px;
21
margin: 0;
22
23
box-shadow: 0 0 4px #000;
24
-webkit-box-shadow: 0 0 4px #000;
25
-moz-box-shadow: 0 0 4px #000;
26
}
27
28
.differential-haunt-mode-1 .differential-add-comment-panel .phui-box,
29
.differential-haunt-mode-2 .differential-add-comment-panel .phui-box {
30
margin: 0;
31
border-width: 0;
32
}
33
34
.differential-haunt-mode-2 .differential-add-comment-panel {
35
max-height: 75%;
36
}
37
38
.differential-haunt-mode-1 .differential-add-comment-panel .phui-header-shell,
39
.differential-haunt-mode-2 .differential-add-comment-panel .phui-header-shell {
40
display: none;
41
}
42
43
.differential-haunt-mode-1 .aphront-panel-preview {
44
display: none;
45
}
46
47
.differential-haunt-mode-1 {
48
padding-bottom: 250px;
49
}
50
51