mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 19:02:41 +01:00
7aeefc0cca
Summary: Mostly this is an exercise to clean up our CSS and Celerity processor by making sure all important color decisions are generatable. It's somewhat resonable to use if you don't review code. Posting it up here mostly so I don't lose the work. Test Plan: Visit lots and lots of pages with dark mode on and off. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18227
108 lines
2.2 KiB
CSS
108 lines
2.2 KiB
CSS
/**
|
|
* @provides phabricator-dashboard-css
|
|
*/
|
|
|
|
.dashboard-view {
|
|
margin: 16px;
|
|
}
|
|
|
|
.device-phone .dashboard-view {
|
|
margin: 8px;
|
|
}
|
|
|
|
.dashboard-view .phui-object-box {
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.dashboard-box .phui-header-shell {
|
|
padding-top: 4px;
|
|
padding-bottom: 16px;
|
|
}
|
|
|
|
.dashboard-box .phui-header-header {
|
|
color: {$blacktext};
|
|
}
|
|
|
|
.dashboard-view .phui-oi-empty .phui-info-view {
|
|
padding-top: 16px;
|
|
padding-bottom: 16px;
|
|
font-style: italic;
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.dashboard-view .phui-object-box .phui-object-box {
|
|
margin: 0;
|
|
}
|
|
|
|
.device-desktop .aphront-multi-column-fluid .aphront-multi-column-2-up
|
|
.aphront-multi-column-column-outer.half {
|
|
width: 50%;
|
|
}
|
|
|
|
.device-desktop .aphront-multi-column-fluid .aphront-multi-column-2-up
|
|
.aphront-multi-column-column-outer.third {
|
|
width: 33.34%;
|
|
}
|
|
|
|
.device-desktop .aphront-multi-column-fluid .aphront-multi-column-2-up
|
|
.aphront-multi-column-column-outer.thirds {
|
|
width: 66.66%;
|
|
}
|
|
|
|
.grippable .aphront-multi-column-column .dashboard-box.phui-object-box {
|
|
cursor: move;
|
|
}
|
|
|
|
.grippable .aphront-multi-column-column .dashboard-box.phui-object-box:hover {
|
|
box-shadow: {$dropshadow};
|
|
}
|
|
|
|
.grippable .aphront-multi-column-column .dashboard-box.phui-object-box:hover
|
|
.dashboard-box {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column .drag-ghost {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column
|
|
.dashboard-panel-placeholder {
|
|
display: none;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column.dashboard-column-empty
|
|
.dashboard-panel-placeholder {
|
|
display: block;
|
|
padding: 20px;
|
|
margin: 0 0 12px 0;
|
|
text-decoration: none;
|
|
border: 1px {$greyborder} dashed;
|
|
color: {$greytext};
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column.drag-target-list
|
|
.dashboard-panel-placeholder {
|
|
display: none;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column-outer
|
|
.aphront-multi-column-column .phui-info-view {
|
|
margin: 0;
|
|
}
|
|
|
|
.dashboard-preview-box {
|
|
margin: -16px -16px 16px;
|
|
}
|
|
|
|
.phui-info-view + .dashboard-preview-box {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.drag-frame .phui-object-box {
|
|
box-shadow: {$dropshadow};
|
|
}
|
|
|
|
.drag-frame .phui-object-box .phui-object-box {
|
|
box-shadow: none;
|
|
}
|