2013-09-29 00:55:38 +02:00
|
|
|
/**
|
|
|
|
* @provides phui-object-box-css
|
|
|
|
*/
|
|
|
|
|
2015-04-12 22:29:27 +02:00
|
|
|
.phui-object-box {
|
|
|
|
position: relative;
|
2015-05-07 23:11:44 +02:00
|
|
|
padding: 12px 12px 4px 12px;
|
2015-04-12 22:29:27 +02:00
|
|
|
}
|
|
|
|
|
2014-02-24 19:04:23 +01:00
|
|
|
div.phui-object-box.phui-object-box-flush {
|
2013-09-29 00:55:38 +02:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-box .phui-header-shell {
|
2015-05-07 23:11:44 +02:00
|
|
|
padding: 0 5px 4px 4px;
|
|
|
|
border-bottom: 1px solid {$thinblueborder};
|
2013-09-29 00:55:38 +02:00
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-box .phui-header-image {
|
2015-01-14 01:10:57 +01:00
|
|
|
margin: 1px 8px -7px -7px;
|
2013-09-29 00:55:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-box .phui-header-shell h1 {
|
2015-05-07 23:11:44 +02:00
|
|
|
padding: 0 0 8px 0;
|
2013-09-29 00:55:38 +02:00
|
|
|
}
|
|
|
|
|
2015-03-01 23:45:56 +01:00
|
|
|
.phui-object-box .phui-header-shell + .phui-info-view {
|
2015-05-08 18:38:46 +02:00
|
|
|
margin: 12px 0 0 0;
|
2013-09-29 00:55:38 +02:00
|
|
|
}
|
|
|
|
|
2013-09-29 16:26:39 +02:00
|
|
|
.device-phone .phui-object-box {
|
2014-02-24 19:04:23 +01:00
|
|
|
margin: 8px 8px 0 8px;
|
2013-09-29 16:26:39 +02:00
|
|
|
}
|
2014-06-24 18:39:32 +02:00
|
|
|
|
2015-05-20 01:47:48 +02:00
|
|
|
/* - Object Box Colors ------------------------------------------------------ */
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-green {
|
|
|
|
border: 1px solid {$green};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-green .phui-header-view {
|
|
|
|
color: {$green};
|
2014-06-24 18:39:32 +02:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:47:48 +02:00
|
|
|
.phui-box-border.phui-object-box-green .phui-header-shell {
|
|
|
|
border-bottom-color: {$lightgreen};
|
2014-06-24 18:39:32 +02:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:47:48 +02:00
|
|
|
.phui-box-border.phui-object-box-blue {
|
|
|
|
border: 1px solid {$blue};
|
2014-06-24 18:39:32 +02:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:47:48 +02:00
|
|
|
.phui-box-border.phui-object-box-blue .phui-header-view {
|
|
|
|
color: {$blue};
|
2014-06-24 18:39:32 +02:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:47:48 +02:00
|
|
|
.phui-box-border.phui-object-box-blue .phui-header-shell {
|
|
|
|
border-bottom-color: {$lightblue};
|
2014-06-24 18:39:32 +02:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:47:48 +02:00
|
|
|
.phui-box-border.phui-object-box-red {
|
|
|
|
border: 1px solid {$red};
|
2014-06-24 18:39:32 +02:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:47:48 +02:00
|
|
|
.phui-box-border.phui-object-box-red .phui-header-view {
|
|
|
|
color: {$red};
|
2014-06-24 18:39:32 +02:00
|
|
|
}
|
|
|
|
|
2015-05-20 01:47:48 +02:00
|
|
|
.phui-box-border.phui-object-box-red .phui-header-shell {
|
|
|
|
border-bottom-color: {$lightred};
|
2014-06-24 18:39:32 +02:00
|
|
|
}
|
[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
|
|
|
|
|
|
|
/* - Double Object Box Override --------------------------------------------- */
|
|
|
|
|
|
|
|
.phui-object-box .phui-object-box {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-box .phui-box-border {
|
|
|
|
border-width: 0;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-box .phui-object-box .phui-header-shell h1 {
|
2015-05-18 19:00:15 +02:00
|
|
|
padding: 8px 4px;
|
[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
|
|
|
font-size: 13px;
|
|
|
|
margin: 0;
|
|
|
|
color: {$bluetext};
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-object-box .phui-object-box .phui-header-shell {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border + .phui-box-border {
|
|
|
|
border-top: 1px solid {$thinblueborder};
|
|
|
|
}
|