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;
|
|
|
|
font-weight: normal;
|
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
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-lightgreen {
|
|
|
|
border: 1px solid {$lightgreenborder};
|
|
|
|
border-bottom: 1px solid {$greenborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-lightgreen .phui-action-header {
|
|
|
|
border-bottom: 1px solid {$lightgreenborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-lightblue {
|
|
|
|
border: 1px solid {$lightblueborder};
|
|
|
|
border-bottom: 1px solid {$blueborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-lightblue .phui-action-header {
|
|
|
|
border-bottom: 1px solid {$lightblueborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-lightred {
|
|
|
|
border: 1px solid {$lightredborder};
|
|
|
|
border-bottom: 1px solid {$redborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-lightred .phui-action-header {
|
|
|
|
border-bottom: 1px solid {$lightredborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-lightviolet {
|
|
|
|
border: 1px solid {$lightvioletborder};
|
|
|
|
border-bottom: 1px solid {$violetborder};
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-box-border.phui-object-box-lightviolet .phui-action-header {
|
|
|
|
border-bottom: 1px solid {$lightvioletborder};
|
|
|
|
}
|
[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 {
|
|
|
|
background-color: {$lightgreybackground};
|
|
|
|
padding: 8px 12px;
|
|
|
|
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};
|
|
|
|
}
|