mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +01:00
5b4825cf1e
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
47 lines
1 KiB
CSS
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;
|
|
}
|