Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/phui/phui-document-pro.css
12241 views
1
/**
2
* @provides phui-document-view-pro-css
3
*/
4
5
.phui-document-view.phui-document-view-pro {
6
max-width: 800px;
7
padding: 16px 16px 32px 16px;
8
margin: 0 auto;
9
}
10
11
.phui-document-view.phui-document-view-pro.has-curtain {
12
max-width: 1132px;
13
}
14
15
.printable .phui-document-view.phui-document-view-pro.has-curtain {
16
max-width: none;
17
}
18
19
.device-desktop .phui-document-inner {
20
overflow: hidden;
21
}
22
23
.device-desktop .has-curtain .phui-document-content-view {
24
display: table-cell;
25
}
26
27
.printable .phui-document-content-view {
28
padding-right: 0;
29
}
30
31
.device-desktop .phui-document-content-outer {
32
display: table;
33
width: 100%;
34
layout: fixed;
35
}
36
37
/* Force very wide content, like tables with many columns, to scroll inside
38
the frame. See T13202. */
39
.phui-document-content-view {
40
max-width: 800px;
41
}
42
43
.device-desktop .phui-document-content-inner {
44
display: table-row;
45
}
46
47
.device-desktop .phui-document-curtain {
48
display: table-cell;
49
width: 300px;
50
}
51
52
.printable .phui-document-curtain {
53
display: none;
54
}
55
56
.phui-document-container {
57
background-color: {$page.content};
58
position: relative;
59
border-bottom: 1px solid {$document.border};
60
}
61
62
.phui-document-view-pro-box,
63
.phui-document-properties {
64
max-width: 800px;
65
margin: 0 auto;
66
}
67
68
body.printable {
69
background-color: #fff;
70
}
71
72
.printable .phui-document-view-pro-box {
73
display: none;
74
}
75
76
.printable .phui-document-container {
77
border: none;
78
}
79
80
.printable .phui-document-container .phui-header-view .phui-header-subheader {
81
display: none;
82
}
83
84
.printable .phui-document-container .phui-header-view .phui-header-col3 {
85
display: none;
86
}
87
88
.device .phui-document-view-pro-box {
89
margin: 0 8px;
90
}
91
92
.phui-document-view-pro-box .phui-property-list-section {
93
margin: 16px auto;
94
}
95
96
.device .phui-document-view-pro-box .phui-property-list-section {
97
margin: 0 8px 16px;
98
}
99
100
.device .phui-document-view-pro-box .phui-property-list-container {
101
padding: 24px 0 0 0;
102
}
103
104
.device-phone .phui-document-view.phui-document-view-pro {
105
padding: 0 12px;
106
margin: 0 auto;
107
}
108
109
.phui-document-view-pro .phui-document-toc {
110
position: absolute;
111
top: 34px;
112
left: -44px;
113
}
114
115
.printable .phui-document-view-pro a.phui-document-toc {
116
display: none;
117
}
118
119
.phui-document-view-pro .phui-document-toc-list {
120
margin: 8px;
121
border: 1px solid {$lightgreyborder};
122
border-radius: 3px;
123
box-shadow: {$dropshadow};
124
width: 260px;
125
position: absolute;
126
z-index: 30;
127
background-color: {$page.content};
128
top: 52px;
129
left: -40px;
130
}
131
132
.device .phui-document-view-pro .phui-document-toc {
133
display: none;
134
}
135
136
.phui-document-toc-list {
137
display: none;
138
}
139
140
.phui-document-toc-open .phui-document-toc-list {
141
display: block;
142
}
143
144
.phui-document-toc-open .phui-document-toc {
145
border-color: {$blueborder};
146
}
147
148
.phui-document-view-pro .phui-document-toc-content {
149
margin: 8px 16px;
150
}
151
152
.phui-document-view-pro .phui-document-toc-header {
153
font-weight: bold;
154
color: {$bluetext};
155
margin-bottom: 8px;
156
text-transform: uppercase;
157
font-size: {$smallerfontsize};
158
}
159
160
.phui-document-view-pro .phui-document-toc-content li {
161
margin: 4px 8px 4px 0;
162
}
163
164
.phui-document-view-pro .phui-document-toc-content a {
165
padding: 2px 0;
166
display: block;
167
text-decoration: none;
168
color: {$darkbluetext};
169
text-overflow: ellipsis;
170
overflow: hidden;
171
white-space: nowrap;
172
}
173
174
.phui-document-view-pro .phui-document-toc-content a:hover {
175
color: {$anchor};
176
text-decoration: underline;
177
}
178
179
.phui-document-view-pro .phui-document-toc-content li + ul {
180
margin: 4px 0 4px 8px;
181
}
182
183
.phui-document-view-pro .phui-document-content .phabricator-remarkup {
184
padding: 16px 0;
185
line-height: 1.7em;
186
}
187
188
.device-desktop .phui-document-view.phui-document-view-pro {
189
border: 0;
190
}
191
192
.phui-document-view.phui-document-view-pro .phui-header-shell {
193
background: transparent;
194
border-bottom: 1px solid {$thinblueborder};
195
}
196
197
.phui-document-view.phui-document-view-pro .phui-header-shell {
198
margin: 0;
199
padding: 16px 0 32px;
200
}
201
202
.device-phone .phui-document-view.phui-document-view-pro .phui-header-shell {
203
margin: 0;
204
padding: 16px 0 20px;
205
}
206
207
.phui-document-view.phui-document-view-pro .phui-header-tall
208
.phui-header-header {
209
font-size: 24px;
210
line-height: 30px;
211
color: {$blacktext};
212
}
213
214
.device-phone .phui-document-view.phui-document-view-pro .phui-header-tall
215
.phui-header-header {
216
font-size: 18px;
217
}
218
219
.device-phone .phui-document-view-pro .phui-header-subheader {
220
display: block;
221
padding: 8px 0 0 0;
222
}
223
224
.phui-document-view-pro .phui-info-view {
225
margin: 16px 0;
226
}
227
228
.phui-document-view-pro .phabricator-remarkup-embed-image-wide {
229
margin-left: -200px;
230
margin-right: -200px;
231
width: auto;
232
}
233
234
.phui-document-view-pro .phabricator-remarkup-embed-image-wide img {
235
max-width: 1200px;
236
}
237
238
@media (max-width: 1200px) {
239
.phui-document-view-pro .phabricator-remarkup-embed-image-wide {
240
margin-left: 0;
241
margin-right: 0;
242
width: auto;
243
}
244
245
.phui-document-view-pro .phabricator-remarkup-embed-image-wide img {
246
max-width: inherit;
247
}
248
}
249
250
.phui-document-view-pro-box {
251
margin-bottom: 24px;
252
}
253
254
.phui-document-view-pro-box .phui-timeline-view {
255
padding: 16px 0 0 0;
256
background: none;
257
}
258
259
.phui-document-view-pro-box .phui-timeline-wedge {
260
display: none;
261
}
262
263
.phui-document-view-pro-box .phui-timeline-major-event .phui-timeline-group {
264
border: none;
265
}
266
267
.phui-document-view-pro-box .phui-timeline-major-event .phui-timeline-content {
268
border: none;
269
}
270
271
.device-desktop .phui-document-view-pro-box
272
.phui-timeline-event-view.phui-timeline-minor-event {
273
margin-left: 62px;
274
}
275
276
.phui-document-view-pro-box .phui-timeline-title {
277
border-top-right-radius: 3px;
278
border-top-left-radius: 3px;
279
background-color: {$page.content};
280
border-bottom: 1px solid #F1F1F4;
281
}
282
283
.phui-document-view-pro-box .phui-timeline-title-with-icon {
284
padding-left: 12px;
285
}
286
287
.phui-document-view-pro-box .phui-timeline-icon-fill {
288
display: none;
289
}
290
291
.phui-document-view-pro-box .phui-object-box {
292
margin: 0;
293
}
294
295
.phui-document-view-pro-box .phui-object-box .remarkup-assist-textarea {
296
height: 9em;
297
}
298
299
.document-has-foot .phui-document-view-pro {
300
padding-bottom: 0;
301
}
302
303
.phui-document-foot-content {
304
margin: 64px 0 32px;
305
}
306
307