mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
0e5cd478c4
Summary: Should make it simpler here to have more `rgba` rules in CSS for things like hovers, selected states. Maybe only use `rgb` colors? Color pallette probably needs an overhaul. Test Plan: Bounce around random pages, buttons, menus. Everything appears normal. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15273
200 lines
3.8 KiB
CSS
200 lines
3.8 KiB
CSS
/**
|
|
* @provides phui-document-view-pro-css
|
|
*/
|
|
|
|
.phui-document-view.phui-document-view-pro {
|
|
max-width: 800px;
|
|
padding: 16px 16px 64px 16px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.phui-document-container {
|
|
background-color: #fff;
|
|
position: relative;
|
|
border-bottom: 1px solid #dedee1;
|
|
}
|
|
|
|
.phui-document-view-pro-box,
|
|
.phui-document-properties {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.phui-property-list-section {
|
|
max-width: 800px;
|
|
margin: 16px auto;
|
|
}
|
|
|
|
.device .phui-property-list-section {
|
|
margin: 0 8px 16px;
|
|
}
|
|
|
|
.device-phone .phui-document-view.phui-document-view-pro {
|
|
padding: 0 8px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.phui-document-view-pro .phui-document-toc {
|
|
position: absolute;
|
|
top: 34px;
|
|
left: -36px;
|
|
}
|
|
|
|
a.button.phui-document-toc {
|
|
display: inline-block;
|
|
height: 16px;
|
|
width: 16px;
|
|
padding: 3px 8px 4px 8px;
|
|
}
|
|
|
|
.phui-document-view-pro .phui-document-toc-list {
|
|
margin: 8px;
|
|
border: 1px solid {$blueborder};
|
|
border-radius: 3px;
|
|
box-shadow: {$dropshadow};
|
|
width: 200px;
|
|
position: absolute;
|
|
z-index: 30;
|
|
background-color: #fff;
|
|
top: 52px;
|
|
left: -44px;
|
|
}
|
|
|
|
.device .phui-document-view-pro .phui-document-toc {
|
|
display: none;
|
|
}
|
|
|
|
.phui-document-toc-list {
|
|
display: none;
|
|
}
|
|
|
|
.phui-document-toc-open .phui-document-toc-list {
|
|
display: block;
|
|
}
|
|
|
|
.phui-document-toc-open .phui-document-toc {
|
|
background-color: {$blue};
|
|
}
|
|
|
|
.phui-document-toc-open .phui-document-toc .phui-icon-view {
|
|
color: #fff;
|
|
}
|
|
|
|
.phui-document-view-pro .phui-document-toc-content {
|
|
margin: 4px 12px;
|
|
}
|
|
|
|
.phui-document-view-pro .phui-document-toc-header {
|
|
font-weight: bold;
|
|
color: {$bluetext};
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.phui-document-view-pro .phui-document-toc-content li {
|
|
margin: 4px 8px;
|
|
}
|
|
|
|
.phui-document-view-pro .phui-document-content .phabricator-remarkup {
|
|
padding: 16px 0;
|
|
line-height: 1.7em;
|
|
}
|
|
|
|
.device-desktop .phui-document-view.phui-document-view-pro {
|
|
border: 0;
|
|
}
|
|
|
|
.phui-document-view.phui-document-view-pro .phui-header-shell {
|
|
background: transparent;
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.phui-document-view.phui-document-view-pro .phui-header-shell {
|
|
margin: 0;
|
|
padding: 16px 0 32px;
|
|
}
|
|
|
|
.device-phone .phui-document-view.phui-document-view-pro .phui-header-shell {
|
|
margin: 8px 0 0 0;
|
|
padding: 8px 0 20px;
|
|
}
|
|
|
|
.phui-document-view.phui-document-view-pro .phui-header-tall
|
|
.phui-header-header {
|
|
font-size: 24px;
|
|
line-height: 30px;
|
|
color: #000;
|
|
}
|
|
|
|
.device-phone .phui-document-view-pro .phui-header-subheader {
|
|
display: block;
|
|
padding: 8px 0 0 0;
|
|
}
|
|
|
|
.phui-document-view-pro .phui-info-view {
|
|
margin: 16px 0 0 0;
|
|
}
|
|
|
|
|
|
|
|
|
|
.phui-document-view-pro-box .phui-timeline-view {
|
|
padding: 16px 0 0 0;
|
|
background: none;
|
|
border-top: 1px solid rgba({$alphablue}, 0.20);
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-timeline-image {
|
|
border-radius: 25px;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-timeline-wedge {
|
|
display: none;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-timeline-major-event .phui-timeline-group {
|
|
border: none;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-timeline-major-event .phui-timeline-content {
|
|
border: none;
|
|
}
|
|
|
|
.device-desktop .phui-document-view-pro-box
|
|
.phui-timeline-event-view.phui-timeline-minor-event {
|
|
margin-left: 62px;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-timeline-title {
|
|
border-top-right-radius: 3px;
|
|
border-top-left-radius: 3px;
|
|
background-color: #fff;
|
|
border-bottom: 1px solid #F1F1F4;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-timeline-title-with-icon {
|
|
padding-left: 12px;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-timeline-icon-fill {
|
|
display: none;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-object-box {
|
|
margin: 0;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-object-box .phui-form-view {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.phui-document-view-pro-box .phui-object-box .remarkup-assist-textarea {
|
|
height: 9em;
|
|
}
|
|
|
|
.document-has-foot .phui-document-view-pro {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.phui-document-foot-content {
|
|
margin: 64px 0 32px;
|
|
}
|