mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
9170e90112
Summary: Working towards a more unified look and feel. This brings in Lato as a complete base font over Helvetica Neue, as well as removing Source Sans Pro from DocumentView and Conpherence. Design-wise Lato provides the nice readability at larger font sizes that Source Sans Pro did, with the ability to scale down to tables and UI widgets with ease. This gives us one font instead of two, and now Object descriptions and Timeline posts all can benefit from a consistent, readable font. Test Plan: Test main UI, smaller elements like tables, menus, DocumentViews, Previews, Conpherence. {F498135} {F498136} Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13276
168 lines
3.3 KiB
CSS
168 lines
3.3 KiB
CSS
/**
|
|
* @provides phui-document-view-css
|
|
*/
|
|
|
|
.phui-document-view {
|
|
margin-bottom: 16px;
|
|
border-radius: 3px;
|
|
position: relative;
|
|
}
|
|
|
|
.phui-document-view .phui-header-shell {
|
|
padding: 16px;
|
|
background-color: #F5F7FA;
|
|
}
|
|
|
|
.phui-document-content {
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.device-desktop .phui-document-view {
|
|
border: 1px solid {$lightblueborder};
|
|
max-width: 960px;
|
|
margin: 16px auto;
|
|
}
|
|
|
|
.device-desktop .phui-document-box {
|
|
max-width: 996px;
|
|
margin: 24px auto;
|
|
}
|
|
|
|
.device-desktop .phui-document-fluid .phui-document-view {
|
|
max-width: none;
|
|
margin: 16px;
|
|
}
|
|
|
|
.phui-crumbs-view + .phui-document-fluid .phui-document-view {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.device-desktop .phui-document-view.phui-offset-view {
|
|
max-width: 800px;
|
|
}
|
|
|
|
/* Fix so that Phriction Document preview is the same width as the document */
|
|
.device-desktop .phui-remarkup-preview .phui-document-view {
|
|
width: 800px;
|
|
}
|
|
|
|
.phui-document-sidenav {
|
|
position:absolute;
|
|
width: 200px;
|
|
text-overflow: ellipsis;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.device-phone .phui-document-sidenav {
|
|
position: static;
|
|
width: auto;
|
|
border-top: 1px solid {$thinblueborder};
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.device-phone .phui-sidenav-view .phui-document-inner {
|
|
margin: 0;
|
|
}
|
|
|
|
.phui-sidenav-view .phui-document-inner {
|
|
margin-right: 200px;
|
|
border-right: 1px solid {$thinblueborder};
|
|
background: #fff;
|
|
}
|
|
|
|
.phui-document-content .phui-header-shell {
|
|
border-top: none;
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.phui-document-content
|
|
.phui-header-shell.phui-header-no-backgound {
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.phui-document-content
|
|
.phui-header-shell.phui-header-no-backgound
|
|
.phui-header-view {
|
|
padding: 8px 0 4px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.phui-document-content .phui-property-list-container {
|
|
border-color: {$thinblueborder};
|
|
}
|
|
|
|
.phui-document-content .phui-property-list-view {
|
|
border: none;
|
|
box-shadow: none;
|
|
margin: 0;
|
|
background-color: {$lightgreybackground};
|
|
}
|
|
|
|
.phui-document-content {
|
|
background: #fff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.phui-document-content .phabricator-remarkup {
|
|
padding: 16px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.phui-document-view .phui-header-action-links .phui-mobile-menu {
|
|
display: block;
|
|
}
|
|
|
|
.device-phone .phui-document-content .phabricator-remarkup {
|
|
padding: 8px;
|
|
}
|
|
|
|
.device-desktop .phui-document-content .phabricator-action-list-view {
|
|
display: none;
|
|
}
|
|
|
|
.device-phone .phui-document-content .phabricator-remarkup-toc {
|
|
width: 120px;
|
|
}
|
|
|
|
.phui-document-content .phabricator-remarkup .remarkup-code-block {
|
|
clear: both;
|
|
margin: 16px 0;
|
|
}
|
|
|
|
.device-desktop .phui-document-offset {
|
|
padding-right: 120px;
|
|
}
|
|
|
|
.phui-document-view .phui-property-list-view {
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.phui-document-view .phui-info-severity-nodata {
|
|
background-color: {$lightgreybackground};
|
|
}
|
|
|
|
.phui-document-view .phabricator-remarkup.remarkup-has-toc {
|
|
position: relative;
|
|
margin-right: 192px;
|
|
}
|
|
|
|
.phui-document-view .remarkup-has-toc .phabricator-remarkup-toc {
|
|
position: absolute;
|
|
top: 0;
|
|
right: -186px;
|
|
bottom: 0;
|
|
border-left: 1px solid {$thinblueborder};
|
|
padding: 16px 12px;
|
|
margin: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.device-phone .phui-document-view .phabricator-remarkup.remarkup-has-toc {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.device-phone .phui-document-view .remarkup-has-toc .phabricator-remarkup-toc {
|
|
display: none;
|
|
}
|