Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18621579
D9454.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D9454.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -111,7 +111,7 @@
'rsrc/css/font/font-awesome.css' => '73d075c3',
'rsrc/css/font/font-source-sans-pro.css' => '91d53463',
'rsrc/css/font/phui-font-icon-base.css' => 'eb84f033',
- 'rsrc/css/layout/phabricator-action-header-view.css' => 'ad0d8f42',
+ 'rsrc/css/layout/phabricator-action-header-view.css' => 'e464b159',
'rsrc/css/layout/phabricator-action-list-view.css' => 'dcbfc854',
'rsrc/css/layout/phabricator-crumbs-view.css' => '7fbf25b8',
'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
@@ -683,7 +683,7 @@
'paste-css' => 'aa1767d1',
'path-typeahead' => 'f7fc67ec',
'people-profile-css' => 'ba7b2762',
- 'phabricator-action-header-view-css' => 'ad0d8f42',
+ 'phabricator-action-header-view-css' => 'e464b159',
'phabricator-action-list-view-css' => 'dcbfc854',
'phabricator-application-launch-view-css' => '81bebcff',
'phabricator-busy' => '6453c869',
diff --git a/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php b/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
--- a/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
+++ b/src/applications/dashboard/engine/PhabricatorDashboardPanelRenderingEngine.php
@@ -206,14 +206,14 @@
case self::HEADER_MODE_EDIT:
$header = id(new PhabricatorActionHeaderView())
->setHeaderTitle($panel->getName())
- ->setHeaderColor(PhabricatorActionHeaderView::HEADER_LIGHTBLUE);
+ ->setHeaderColor(PhabricatorActionHeaderView::HEADER_WHITE);
$header = $this->addPanelHeaderActions($header);
break;
case self::HEADER_MODE_NORMAL:
default:
$header = id(new PhabricatorActionHeaderView())
->setHeaderTitle($panel->getName())
- ->setHeaderColor(PhabricatorActionHeaderView::HEADER_LIGHTBLUE);
+ ->setHeaderColor(PhabricatorActionHeaderView::HEADER_WHITE);
break;
}
return $header;
diff --git a/src/view/layout/PhabricatorActionHeaderView.php b/src/view/layout/PhabricatorActionHeaderView.php
--- a/src/view/layout/PhabricatorActionHeaderView.php
+++ b/src/view/layout/PhabricatorActionHeaderView.php
@@ -9,6 +9,7 @@
const HEADER_RED = 'red';
const HEADER_YELLOW = 'yellow';
const HEADER_LIGHTBLUE ='lightblue';
+ const HEADER_WHITE = 'white';
private $headerTitle;
private $headerHref;
diff --git a/webroot/rsrc/css/layout/phabricator-action-header-view.css b/webroot/rsrc/css/layout/phabricator-action-header-view.css
--- a/webroot/rsrc/css/layout/phabricator-action-header-view.css
+++ b/webroot/rsrc/css/layout/phabricator-action-header-view.css
@@ -64,6 +64,23 @@
background: {$red};
}
+.phabricator-action-header.gradient-white-header {
+ background: #fff;
+}
+
+.dashboard-panel .phabricator-action-header.gradient-white-header {
+ border: 1px solid {$lightblueborder};
+ border-bottom: 1px solid {$thinblueborder};
+ border-top-right-radius: 3px;
+ border-top-left-radius: 3px;
+}
+
+.phabricator-action-header.gradient-white-header .phabricator-action-header-title {
+ color: {$darkbluetext};
+ padding: 12px 0 12px 4px;
+}
+
+
.gradient-green-header .phabricator-action-header-title,
.gradient-red-header .phabricator-action-header-title,
.gradient-blue-header .phabricator-action-header-title,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sep 16 2025, 8:51 AM (10 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8501979
Default Alt Text
D9454.diff (3 KB)
Attached To
Mode
D9454: Add white as ActionHeader color, use on Dashboards
Attached
Detach File
Event Timeline
Log In to Comment