1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 17:52:43 +01:00
phorge-phorge/webroot/rsrc/css/application/dashboard/dashboard.css
epriestley a1a89589b1 Make the Dashboard dropshadow a little lighter and turn panel management into a menu
Summary:
Depends on D20372. Ref T13272.

  - There's a very heavy dropshadow on panels right now that looks out of place. Reduce it a bit.
  - Panels currently have unlabeled pencil and trash icons. Turn this into a menu. I'm likely planning to add options like "Change Query..." to this menu to make managing some types of panels easier.

Test Plan: {F6332838}

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13272

Differential Revision: https://secure.phabricator.com/D20373
2019-04-09 13:58:38 -07:00

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: 0 2px 4px rgba(0, 0, 0, 0.10);
}
.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;
}