2014-05-16 04:12:40 +02:00
|
|
|
/**
|
|
|
|
* @provides phabricator-dashboard-css
|
|
|
|
*/
|
|
|
|
|
2014-05-23 22:44:51 +02:00
|
|
|
.dashboard-view {
|
|
|
|
margin: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.device-phone .dashboard-view {
|
|
|
|
margin: 8px;
|
|
|
|
}
|
|
|
|
|
[Redesign] Convert Dashboard Panels to ObjectBox
Summary: Moves Dashboard Panels to use PHUIObjectBoxView and PHUIHeaderView
Test Plan:
Tested the most common dashboards, Differential, Maniphest, Projects, Feed, Audit. Some edge cases (Legalpad, Macro) still are in progress. Tested laying out a new Dashboard, removing panels, moving panels.
{F406170}
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: Korvin, epriestley
Maniphest Tasks: T8099
Differential Revision: https://secure.phabricator.com/D12873
2015-05-17 16:05:14 +02:00
|
|
|
.dashboard-view .phui-object-box {
|
|
|
|
margin: 0 0 16px 0;
|
|
|
|
}
|
|
|
|
|
2017-02-14 23:08:56 +01:00
|
|
|
.dashboard-box .phui-header-shell {
|
2017-02-05 21:45:27 +01:00
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
2017-02-14 23:08:56 +01:00
|
|
|
.dashboard-box .phui-header-header {
|
2017-07-17 20:08:17 +02:00
|
|
|
color: {$blacktext};
|
2017-02-05 21:45:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.dashboard-view .phui-oi-empty .phui-info-view {
|
|
|
|
padding-top: 16px;
|
|
|
|
padding-bottom: 16px;
|
|
|
|
font-style: italic;
|
|
|
|
color: {$lightgreytext};
|
|
|
|
}
|
|
|
|
|
[Redesign] Convert Dashboard Panels to ObjectBox
Summary: Moves Dashboard Panels to use PHUIObjectBoxView and PHUIHeaderView
Test Plan:
Tested the most common dashboards, Differential, Maniphest, Projects, Feed, Audit. Some edge cases (Legalpad, Macro) still are in progress. Tested laying out a new Dashboard, removing panels, moving panels.
{F406170}
Reviewers: btrahan, epriestley
Reviewed By: epriestley
Subscribers: Korvin, epriestley
Maniphest Tasks: T8099
Differential Revision: https://secure.phabricator.com/D12873
2015-05-17 16:05:14 +02:00
|
|
|
.dashboard-view .phui-object-box .phui-object-box {
|
|
|
|
margin: 0;
|
2014-05-23 22:44:51 +02:00
|
|
|
}
|
|
|
|
|
2014-05-21 21:08:14 +02:00
|
|
|
.device-desktop .aphront-multi-column-fluid .aphront-multi-column-2-up
|
2017-02-09 23:17:54 +01:00
|
|
|
.aphront-multi-column-column-outer.half {
|
|
|
|
width: 50%;
|
2014-05-16 04:12:40 +02:00
|
|
|
}
|
|
|
|
|
2014-05-21 21:08:14 +02:00
|
|
|
.device-desktop .aphront-multi-column-fluid .aphront-multi-column-2-up
|
2017-02-09 23:17:54 +01:00
|
|
|
.aphront-multi-column-column-outer.third {
|
|
|
|
width: 33.34%;
|
2014-05-16 04:12:40 +02:00
|
|
|
}
|
|
|
|
|
2014-05-21 21:08:14 +02:00
|
|
|
.device-desktop .aphront-multi-column-fluid .aphront-multi-column-2-up
|
2017-02-09 23:17:54 +01:00
|
|
|
.aphront-multi-column-column-outer.thirds {
|
|
|
|
width: 66.66%;
|
2014-05-16 04:12:40 +02:00
|
|
|
}
|
|
|
|
|
2017-02-14 23:08:56 +01:00
|
|
|
.grippable .aphront-multi-column-column .dashboard-box.phui-object-box {
|
2014-05-16 04:12:40 +02:00
|
|
|
cursor: move;
|
|
|
|
}
|
|
|
|
|
2017-02-14 23:08:56 +01:00
|
|
|
.grippable .aphront-multi-column-column .dashboard-box.phui-object-box:hover {
|
2017-02-09 23:17:54 +01:00
|
|
|
box-shadow: {$dropshadow};
|
|
|
|
}
|
|
|
|
|
2017-02-14 23:08:56 +01:00
|
|
|
.grippable .aphront-multi-column-column .dashboard-box.phui-object-box:hover
|
|
|
|
.dashboard-box {
|
2017-02-09 23:17:54 +01:00
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column .drag-ghost {
|
2014-05-16 04:12:40 +02:00
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
2017-02-09 23:17:54 +01:00
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column
|
|
|
|
.dashboard-panel-placeholder {
|
|
|
|
display: none;
|
2014-05-16 04:12:40 +02:00
|
|
|
}
|
|
|
|
|
2017-02-09 23:17:54 +01:00
|
|
|
.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};
|
2014-05-16 04:12:40 +02:00
|
|
|
}
|
|
|
|
|
2017-02-09 23:17:54 +01:00
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column.drag-target-list
|
|
|
|
.dashboard-panel-placeholder {
|
|
|
|
display: none;
|
2014-05-16 04:12:40 +02:00
|
|
|
}
|
2014-05-19 23:04:26 +02:00
|
|
|
|
2017-02-09 23:17:54 +01:00
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-column-outer
|
|
|
|
.aphront-multi-column-column .phui-info-view {
|
|
|
|
margin: 0;
|
2014-05-19 23:04:26 +02:00
|
|
|
}
|
2016-04-03 01:02:13 +02:00
|
|
|
|
|
|
|
.dashboard-preview-box {
|
2017-02-09 23:17:54 +01:00
|
|
|
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;
|
|
|
|
}
|