1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 15:30:58 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-remarkup-preview.css
epriestley b712905dc1 Add a "document" style to PHUIRemarkupPreviewPanel and use it in Legalpad and Phriction
Summary: Ref T3671. Depends on D6674. Continues work in D6673, D6674 and extends it into Legalpad and Phriction. Then deletes a bunch of dead code.

Test Plan: Edited documents in Legalpad and Phriction, verified I got reasonable looking previews.

Reviewers: btrahan, Firehed

Reviewed By: btrahan

CC: aran, chad

Maniphest Tasks: T3671

Differential Revision: https://secure.phabricator.com/D6675
2013-08-05 10:47:26 -07:00

44 lines
945 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;
}
.phui-remarkup-preview-skin-document {
background: transparent;
border: none;
}
.phui-remarkup-preview-skin-document .phui-preview-header {
padding: 8px;
background: #f3f3f3;
}
.device-phone .aphront-panel-preview {
display: none;
}
.phui-preview-loading-text {
color: #666666;
}
/**
* TODO: Classes implementing PhabricatorMarkupInterface are of differing
* mindsets about whether output should be wrapped in a `phabricator-remarkup`
* <div /> or not. It should probably move to the Engine in all cases, but
* until we do that get rid of the extra spacing generated by the inner div.
*/
.phui-remarkup-preview .phabricator-remarkup .phabricator-remarkup {
padding: 0;
margin: 0;
}