1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-15 10:00:55 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-remarkup-preview.css
Chad Little 5b4825cf1e Use new DocumentView for Legalpad previews
Summary: Moves to showing Legalpad previews using PHUIDocumentViewPro

Test Plan: Create a new document, edit an existing document

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14550
2015-11-24 10:07:39 -08:00

47 lines
1 KiB
CSS

/**
* @provides phui-remarkup-preview-css
*/
.phui-remarkup-preview .phui-object-box {
padding: 0;
}
.phui-preview-header {
font-size: {$smallerfontsize};
font-weight: bold;
color: {$bluetext};
text-transform: uppercase;
padding: 8px;
background-color: {$lightgreybackground};
border-bottom: 1px solid {$thinblueborder};
display: block;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
.phui-preview-body {
padding: 16px;
}
.phui-document-inner .phui-preview-header {
padding: 16px 0 0 16px;
}
.device-phone .phui-panel-preview {
display: none;
}
.phui-preview-loading-text {
color: {$lightgreytext};
}
/**
* 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.
*/
body .phui-remarkup-preview .phabricator-remarkup .phabricator-remarkup {
padding: 0;
margin: 0;
}