1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/webroot/rsrc/css/application/dashboard/dashboard.css
Chad Little d1c253de94 Touch up basic usability of Dashboards
Summary: Ref T10390. This mostly shuffles layout into "View" and keepts "Manage" around for Edit/Copy/History. This feels better to me overall. Also tweaked some spacing and color.

Test Plan:
New Dashboard, edit Dashboard, shuffle panels. Create new panels.

{F2684043}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T10390

Differential Revision: https://secure.phabricator.com/D17326
2017-02-09 14:20:47 -08:00

122 lines
2.5 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-view .phui-header-shell {
padding-top: 4px;
padding-bottom: 16px;
}
.dashboard-view .phui-header-header {
color: #000;
}
.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-pane .phui-object-box {
cursor: move;
}
.grippable .aphront-multi-column-column .dashboard-pane .phui-object-box:hover {
box-shadow: {$dropshadow};
}
.grippable .aphront-multi-column-column .dashboard-pane .phui-object-box:hover
.phui-object-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;
}
/*** Footer *******************************************************************/
.dashboard-footer-view {
background-color: {$page.sidenav};
padding: 8px 16px;
border-radius: 3px;
}
.dashboard-footer-name {
color: {$darkbluetext};
font-weight: bold;
-webkit-font-smoothing: antialiased;
}