Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/webroot/rsrc/css/phui/phui-property-list-view.css
12241 views
1
/**
2
* @provides phui-property-list-view-css
3
*/
4
5
.phui-property-list-view .keyboard-shortcuts-available {
6
float: right;
7
height: 16px;
8
margin: 12px 10px -28px 0px;
9
padding: 0px 20px 0px 0px;
10
vertical-align: middle;
11
color: {$greytext};
12
text-align: right;
13
font-size: {$smallestfontsize};
14
background:
15
url('/rsrc/image/icon/fatcow/key_question.png') right center no-repeat;
16
}
17
18
.device .keyboard-shortcuts-available {
19
display: none;
20
}
21
22
.phui-property-group-noninitial,
23
.phui-property-list-section-noninitial {
24
border-color: {$thinblueborder};
25
border-style: solid;
26
border-width: 1px 0 0;
27
}
28
29
.device-desktop .phui-property-list-container {
30
padding: 12px 0 12px 0;
31
width: 100%;
32
}
33
34
.device .phui-property-list-container {
35
padding: 12px 0 4px 0;
36
}
37
38
.phui-property-list-key {
39
color: {$bluetext};
40
font-weight: bold;
41
overflow: hidden;
42
white-space: nowrap;
43
}
44
45
.device-desktop .phui-property-list-key {
46
width: 12%;
47
margin-left: 1%;
48
text-align: right;
49
float: left;
50
clear: left;
51
margin-bottom: 4px;
52
}
53
54
.device-desktop .phui-property-list-has-actions .phui-property-list-key {
55
width: 18%;
56
}
57
58
.phui-property-list-properties-wrap.phui-property-list-stacked {
59
width: auto;
60
float: none;
61
}
62
63
.device .phui-property-list-key,
64
div.phui-property-list-stacked .phui-property-list-properties
65
.phui-property-list-key {
66
padding-left: 4px;
67
text-align: left;
68
margin-left: 0;
69
width: auto;
70
float: none;
71
}
72
73
.phui-property-list-value {
74
color: {$darkgreytext};
75
}
76
77
.device-desktop .phui-property-list-value {
78
width: 84%;
79
margin-left: 1%;
80
float: left;
81
margin-bottom: 4px;
82
word-wrap: break-word;
83
}
84
85
.device-desktop .phui-property-list-has-actions .phui-property-list-value {
86
width: 78%;
87
}
88
89
.device .phui-property-list-value,
90
.phui-property-list-stacked .phui-property-list-properties
91
.phui-property-list-value {
92
padding: 0 8px;
93
margin-bottom: 8px;
94
width: auto;
95
word-break: break-word;
96
float: none;
97
}
98
99
.phui-property-list-section-header {
100
color: {$bluetext};
101
padding: 16px 4px 0px;
102
text-transform: uppercase;
103
font-weight: 700;
104
border-color: {$thinblueborder};
105
border-style: solid;
106
border-width: 1px 0 0;
107
}
108
109
.phui-property-list-container + .phui-property-list-text-content {
110
border-color: {$thinblueborder};
111
border-style: solid;
112
border-width: 1px 0 0;
113
}
114
115
.phui-property-list-section-noninitial .phui-property-list-section-header {
116
border-top: none;
117
}
118
119
.device .phui-property-list-section-header {
120
padding-left: 4px;
121
}
122
123
.phui-property-list-section-header-icon .phui-icon-view {
124
display: inline-block;
125
margin: -2px 4px -2px 0;
126
}
127
128
.phui-property-list-text-content {
129
padding: 16px 4px;
130
overflow: hidden;
131
}
132
133
.phui-property-list-raw-content {
134
padding: 0px;
135
overflow: hidden;
136
}
137
138
/* In the common case where we immediately follow a header, move back up 30px
139
so we snuggle next to the header. */
140
.device-desktop .phui-header-view
141
+ .phabricator-action-list-view {
142
margin-top: -30px;
143
}
144
145
.device-desktop .phui-header-view
146
+ .phabricator-action-list-view
147
+ .phui-property-list-view {
148
margin-top: 0px;
149
}
150
151
152
/* When tags appear in property lists, give them a little more vertical
153
spacing. */
154
.phui-property-list-value .phui-tag-view {
155
margin: 2px 0;
156
white-space: pre-wrap;
157
}
158
159
.phui-property-list-has-actions .phui-property-list-properties-wrap {
160
float: left;
161
width: 78%;
162
}
163
164
.device .phui-property-list-properties-wrap {
165
width: auto;
166
border: none;
167
float: none;
168
overflow: auto;
169
}
170
171
.phui-property-list-actions {
172
width: 20%;
173
float: right;
174
margin-right: 12px;
175
border-left: 1px solid {$thinblueborder};
176
}
177
178
!print .phui-property-list-actions {
179
display: none;
180
}
181
182
.device .phui-property-list-actions {
183
float: none;
184
width: auto;
185
margin: -12px 0 12px 0;
186
border: none;
187
}
188
189
.phui-property-list-image-content img {
190
margin: 20px auto;
191
background: url('/rsrc/image/checker_light.png');
192
}
193
194
.device-desktop .phui-property-list-image-content img:hover {
195
background: url('/rsrc/image/checker_dark.png');
196
}
197
198
/* - Dashboards ------------------------------------------------------------ */
199
200
.dashboard-panel .phui-property-list-section {
201
border-left: 1px solid {$lightblueborder};
202
border-right: 1px solid {$lightblueborder};
203
border-bottom: 1px solid {$blueborder};
204
}
205
206
207
.document-engine-image img {
208
margin: 20px auto;
209
background: url('/rsrc/image/checker_light.png');
210
max-width: 100%;
211
}
212
213
.device-desktop .document-engine-image img:hover {
214
background: url('/rsrc/image/checker_dark.png');
215
}
216
217
.document-engine-video video {
218
margin: 20px auto;
219
display: block;
220
max-width: 95%;
221
}
222
223
.document-engine-audio audio {
224
display: block;
225
margin: 16px auto;
226
width: 50%;
227
min-width: 240px;
228
}
229
230
.document-engine-message {
231
margin: 20px auto;
232
text-align: center;
233
color: {$greytext};
234
}
235
236
.document-engine-error {
237
margin: 20px;
238
padding: 12px;
239
text-align: center;
240
color: {$redtext};
241
background: {$sh-redbackground};
242
}
243
244
.document-engine-hexdump {
245
margin: 20px;
246
white-space: pre;
247
}
248
249
.document-engine-remarkup {
250
margin: 20px;
251
}
252
253
.document-engine-pdf {
254
margin: 20px;
255
text-align: center;
256
}
257
258
.document-engine-pdf .phabricator-remarkup-embed-layout-link {
259
text-align: left;
260
}
261
262
.document-engine-text .phabricator-source-code-container {
263
border: none;
264
}
265
266
.document-engine-jupyter {
267
overflow: hidden;
268
margin: 20px;
269
}
270
271
.document-engine-jupyter.document-engine-diff {
272
margin: 0;
273
}
274
275
.document-engine-in-flight {
276
opacity: 0.25;
277
}
278
279
.document-engine-loading {
280
margin: 20px;
281
text-align: center;
282
color: {$lightgreytext};
283
}
284
285
.document-engine-loading .phui-icon-view {
286
display: block;
287
font-size: 48px;
288
color: {$lightgreyborder};
289
padding: 8px;
290
}
291
292
.jupyter-cell-raw {
293
white-space: pre-wrap;
294
background: {$lightgreybackground};
295
color: {$greytext};
296
padding: 8px;
297
}
298
299
.jupyter-cell-code {
300
white-space: pre-wrap;
301
word-break: break-word;
302
background: {$lightgreybackground};
303
border-radius: 2px;
304
border-color: {$lightgreyborder};
305
border-style: solid;
306
}
307
308
.jupyter-cell-code-block {
309
padding: 8px;
310
border-width: 1px;
311
}
312
313
.jupyter-cell-code-line {
314
padding: 2px 8px;
315
border-width: 0 1px;
316
}
317
318
td.new .jupyter-cell-code-line {
319
background: rgba(255, 255, 255, 0.5);
320
border-color: {$new-bright};
321
}
322
323
td.old .jupyter-cell-code-line {
324
background: rgba(255, 255, 255, 0.5);
325
border-color: {$old-bright};
326
}
327
328
.jupyter-cell-code-head {
329
border-top-width: 1px;
330
margin-top: 4px;
331
padding-top: 8px;
332
}
333
334
.jupyter-cell-code-last {
335
border-bottom-width: 1px;
336
margin-bottom: 4px;
337
padding-bottom: 8px;
338
}
339
340
.jupyter-notebook > tbody > tr > td {
341
padding: 8px;
342
}
343
344
.jupyter-notebook > tbody > tr > td.jupyter-cell-flush {
345
padding-top: 0;
346
padding-bottom: 0;
347
}
348
349
.jupyter-notebook,
350
.jupyter-notebook > tbody > tr > td {
351
width: 100%;
352
}
353
354
.jupyter-notebook > tbody > tr > td.jupyter-label {
355
white-space: nowrap;
356
text-align: right;
357
min-width: 56px;
358
font-weight: bold;
359
width: auto;
360
padding: 8px 8px 0;
361
}
362
363
.jupyter-output {
364
margin: 4px 0;
365
padding: 8px;
366
white-space: pre-wrap;
367
line-break: anywhere;
368
}
369
370
.jupyter-output-stderr {
371
background: {$sh-redbackground};
372
}
373
374
.jupyter-output-html {
375
background: {$sh-indigobackground};
376
}
377
378
.jupyter-cell-markdown {
379
white-space: pre-wrap;
380
}
381
382