1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +01:00

Dashboard display tweaks

Summary: Changes headers to standard light blue, tweaks spacing for uniformity.

Test Plan:
Test editing and using my dashboard.

{F157744}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9228
This commit is contained in:
Chad Little 2014-05-20 16:23:51 -07:00
parent 2f6a865506
commit 76dc959c65
4 changed files with 19 additions and 10 deletions

View file

@ -52,7 +52,7 @@ return array(
'rsrc/css/application/conpherence/widget-pane.css' => 'bf275a6c',
'rsrc/css/application/contentsource/content-source-view.css' => '4b8b05d4',
'rsrc/css/application/countdown/timer.css' => '86b7b0a0',
'rsrc/css/application/dashboard/dashboard.css' => 'fbf815b5',
'rsrc/css/application/dashboard/dashboard.css' => '105b072a',
'rsrc/css/application/diff/inline-comment-summary.css' => '8cfd34e8',
'rsrc/css/application/differential/add-comment.css' => 'c478bcaa',
'rsrc/css/application/differential/changeset-view.css' => 'c45747f0',
@ -114,7 +114,7 @@ return array(
'rsrc/css/font/font-awesome.css' => '73d075c3',
'rsrc/css/font/font-source-sans-pro.css' => '91d53463',
'rsrc/css/font/phui-font-icon-base.css' => '74cfb6a9',
'rsrc/css/layout/phabricator-action-header-view.css' => '4a011b0c',
'rsrc/css/layout/phabricator-action-header-view.css' => '0c333cad',
'rsrc/css/layout/phabricator-action-list-view.css' => 'dcd9875f',
'rsrc/css/layout/phabricator-crumbs-view.css' => '6a23399c',
'rsrc/css/layout/phabricator-filetree-view.css' => 'a8c86ace',
@ -691,7 +691,7 @@ return array(
'paste-css' => 'aa1767d1',
'path-typeahead' => 'f7fc67ec',
'people-profile-css' => 'ba7b2762',
'phabricator-action-header-view-css' => '4a011b0c',
'phabricator-action-header-view-css' => '0c333cad',
'phabricator-action-list-view-css' => 'dcd9875f',
'phabricator-application-launch-view-css' => 'd290ba21',
'phabricator-busy' => '6453c869',
@ -700,7 +700,7 @@ return array(
'phabricator-core-css' => '40151074',
'phabricator-countdown-css' => '86b7b0a0',
'phabricator-crumbs-view-css' => '6a23399c',
'phabricator-dashboard-css' => 'fbf815b5',
'phabricator-dashboard-css' => '105b072a',
'phabricator-drag-and-drop-file-upload' => 'ae6abfba',
'phabricator-draggable-list' => '1681c4d4',
'phabricator-fatal-config-template-css' => '25d446d6',

View file

@ -205,14 +205,14 @@ final class PhabricatorDashboardPanelRenderingEngine extends Phobject {
case self::HEADER_MODE_EDIT:
$header = id(new PhabricatorActionHeaderView())
->setHeaderTitle($panel->getName())
->setHeaderColor(PhabricatorActionHeaderView::HEADER_GREY);
->setHeaderColor(PhabricatorActionHeaderView::HEADER_LIGHTBLUE);
$header = $this->addPanelHeaderActions($header);
break;
case self::HEADER_MODE_NORMAL:
default:
$header = id(new PhabricatorActionHeaderView())
->setHeaderTitle($panel->getName())
->setHeaderColor(PhabricatorActionHeaderView::HEADER_GREY);
->setHeaderColor(PhabricatorActionHeaderView::HEADER_LIGHTBLUE);
break;
}
return $header;

View file

@ -20,7 +20,13 @@
.aphront-multi-column-fluid
.aphront-multi-column-column-outer
.aphront-multi-column-column .dashboard-panel {
margin: 16px 16px 0px 16px;
margin: 16px 0 0 16px;
}
.aphront-multi-column-fluid
.aphront-multi-colum-column-outer-last
.aphront-multi-column-column .dashboard-panel {
margin: 16px 16px 0 16px;
}
.aphront-multi-column-fluid

View file

@ -18,6 +18,10 @@
white-space: nowrap;
}
.gradient-lightblue-header .phabricator-action-header-title {
color: {$bluetext};
}
.phabricator-action-header-icon-list {
float: right;
padding-top: 4px;
@ -65,9 +69,8 @@
/* - Dashboards ------------------------------------------------------------ */
.dashboard-panel .phabricator-action-header.gradient-grey-header {
.dashboard-panel .phabricator-action-header.gradient-grey-header,
.dashboard-panel .phabricator-action-header.gradient-lightblue-header {
border: 1px solid {$lightblueborder};
border-bottom: 1px solid {$thinblueborder};
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}