mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-18 02:31:10 +01:00
Touch up hidden panel colors
Summary: Adds a red border, panels love borders. Test Plan: Hide/Unhide {F170300} Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9739
This commit is contained in:
parent
390abb7452
commit
e4d38592ce
3 changed files with 13 additions and 3 deletions
|
@ -146,7 +146,7 @@ return array(
|
|||
'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 @@ return array(
|
|||
'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',
|
||||
|
|
|
@ -48,6 +48,8 @@ final class PHUIWorkpanelView extends AphrontTagView {
|
|||
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 @@ final class PHUIWorkpanelView extends AphrontTagView {
|
|||
$header->addAction($this->headerAction);
|
||||
}
|
||||
|
||||
$classes[] = 'phui-workpanel-'.$this->headerColor;
|
||||
|
||||
$body = phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
|
@ -85,7 +89,7 @@ final class PHUIWorkpanelView extends AphrontTagView {
|
|||
$view = phutil_tag(
|
||||
'div',
|
||||
array(
|
||||
'class' => 'phui-workpanel-view-inner',
|
||||
'class' => implode(' ', $classes),
|
||||
),
|
||||
array(
|
||||
$header,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue