1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/webroot/rsrc/css/phui/phui-remarkup-preview.css
epriestley 193a9611e4 Partially generalize Remarkup previews and add support to Differential
Summary:
Ref T3671. A lot of applications have pretty ad-hoc preview code. Clean it up a bit and add Summary preview to Differential.

After ApplicationTransactions we might want to try to serialize the whole form and show a preview of all the transactions, but this seems not very useful in most cases (I'd guess that Remarkup previews are 99% of the value) and tricky to get right (e.g., adding images which don't exist yet to Pholio mocks).

I think I can add this in a few other places, too.

Test Plan:
Edited Maniphest Tasks and Differential Revisions, mashed some buttons. Verified previews rendered correctly. Grepped for removed CSS classes (no hits).

{F52907}

Reviewers: btrahan, Firehed

Reviewed By: btrahan

CC: aran, chad

Maniphest Tasks: T3671

Differential Revision: https://secure.phabricator.com/D6673
2013-08-05 10:46:39 -07:00

23 lines
346 B
CSS

/**
* @provides phui-remarkup-preview-css
*/
.phui-preview-header {
color: #666666;
margin-bottom: 12px;
font-size: 11px;
}
.phui-remarkup-preview {
background: #fbfbfb;
border-bottom: 1px solid #aaaaaa;
padding: 12px;
}
.device-phone .aphront-panel-preview {
display: none;
}
.phui-preview-loading-text {
color: #666666;
}