Page MenuHomePhabricator

D9739.diff
No OneTemporary

D9739.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -146,7 +146,7 @@
'rsrc/css/phui/phui-text.css' => '23e9b4b7',
'rsrc/css/phui/phui-timeline-view.css' => 'bbd990d0',
'rsrc/css/phui/phui-workboard-view.css' => '2bf82d00',
- 'rsrc/css/phui/phui-workpanel-view.css' => 'a8d0273b',
+ 'rsrc/css/phui/phui-workpanel-view.css' => 'ed2a2162',
'rsrc/css/sprite-apps-large.css' => '12ea1ced',
'rsrc/css/sprite-apps.css' => '37ee4f4e',
'rsrc/css/sprite-conpherence.css' => '3b4a0487',
@@ -791,7 +791,7 @@
'phui-text-css' => '23e9b4b7',
'phui-timeline-view-css' => 'bbd990d0',
'phui-workboard-view-css' => '2bf82d00',
- 'phui-workpanel-view-css' => 'a8d0273b',
+ 'phui-workpanel-view-css' => 'ed2a2162',
'phuix-action-list-view' => 'b5c256b8',
'phuix-action-view' => '6e8cefa4',
'phuix-dropdown-menu' => 'bd4c8dca',
diff --git a/src/view/phui/PHUIWorkpanelView.php b/src/view/phui/PHUIWorkpanelView.php
--- a/src/view/phui/PHUIWorkpanelView.php
+++ b/src/view/phui/PHUIWorkpanelView.php
@@ -48,6 +48,8 @@
public function getTagContent() {
require_celerity_resource('phui-workpanel-view-css');
+ $classes = array();
+ $classes[] = 'phui-workpanel-view-inner';
$footer = '';
if ($this->footerAction) {
$footer_tag = $this->footerAction;
@@ -75,6 +77,8 @@
$header->addAction($this->headerAction);
}
+ $classes[] = 'phui-workpanel-'.$this->headerColor;
+
$body = phutil_tag(
'div',
array(
@@ -85,7 +89,7 @@
$view = phutil_tag(
'div',
array(
- 'class' => 'phui-workpanel-view-inner',
+ 'class' => implode(' ', $classes),
),
array(
$header,
diff --git a/webroot/rsrc/css/phui/phui-workpanel-view.css b/webroot/rsrc/css/phui/phui-workpanel-view.css
--- a/webroot/rsrc/css/phui/phui-workpanel-view.css
+++ b/webroot/rsrc/css/phui/phui-workpanel-view.css
@@ -90,6 +90,12 @@
background: rgba(255,255,255,.7);
}
+.phui-workpanel-view .phui-workpanel-lightred .phui-action-header {
+ border-top: 1px solid {$redborder};
+ border-left: 1px solid {$redborder};
+ border-right: 1px solid {$redborder};
+}
+
/* - Workpanel Cards -----------------------------------------------------------
Slight display changes for how cards work in tight spaces

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 3:30 AM (22 m, 47 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6909816
Default Alt Text
D9739.diff (2 KB)

Event Timeline