1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00

Lightblue Hovercards

Summary: The blue cards were still pretty strong for me, tested out some light blue ones and they of course look fantastic.

Test Plan: UIExamples, Feed

Reviewers: epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9366
This commit is contained in:
Chad Little 2014-06-03 14:36:31 -07:00
parent 052a68bfab
commit 8827854ff8
3 changed files with 27 additions and 9 deletions

View file

@ -116,7 +116,7 @@ return array(
'rsrc/css/layout/phabricator-action-list-view.css' => 'dcbfc854',
'rsrc/css/layout/phabricator-crumbs-view.css' => '989a48b6',
'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
'rsrc/css/layout/phabricator-hovercard-view.css' => '41c2de04',
'rsrc/css/layout/phabricator-hovercard-view.css' => '92b1cb9b',
'rsrc/css/layout/phabricator-side-menu-view.css' => 'a2ccd7bd',
'rsrc/css/layout/phabricator-source-code-view.css' => '62a99814',
'rsrc/css/phui/calendar/phui-calendar-day.css' => 'de035c8a',
@ -706,7 +706,7 @@ return array(
'phabricator-filetree-view-css' => 'fccf9f82',
'phabricator-flag-css' => '5337623f',
'phabricator-hovercard' => '4f344388',
'phabricator-hovercard-view-css' => '41c2de04',
'phabricator-hovercard-view-css' => '92b1cb9b',
'phabricator-keyboard-shortcut' => '1ae869f2',
'phabricator-keyboard-shortcut-manager' => 'ad7a69ca',
'phabricator-main-menu-view' => '72d1d2ef',

View file

@ -17,7 +17,7 @@ final class PhabricatorHovercardView extends AphrontView {
private $fields = array();
private $actions = array();
private $color = 'blue';
private $color = 'lightblue';
public function setObjectHandle(PhabricatorObjectHandle $handle) {
$this->handle = $handle;
return $this;

View file

@ -25,6 +25,20 @@
background-color: #fff;
}
.phabricator-hovercard-head {
border-bottom: 1px solid {$thinblueborder};
}
.phabricator-hovercard-head .phabricator-action-header {
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
.phabricator-hovercard-head .phui-tag-type-state {
color: {$bluetext};
text-shadow: none;
}
.phabricator-hovercard-tags {
float: right;
white-space: normal;
@ -39,15 +53,19 @@
border-bottom-left-radius: 3px;
}
.phabricator-hovercard-body-header,
.phabricator-hovercard-body-item {
.phabricator-hovercard-body-header {
margin: 0 0 0 8px;
}
.phabricator-hovercard-body-item {
margin: 2px 0 0 8px;
}
.phabricator-hovercard-body-header {
font-size: 14px;
padding-bottom: 4px;
color: {$darkgreytext};
line-height: 18px;
}
.phabricator-hovercard-body .phabricator-hovercard-body-image {
@ -74,10 +92,10 @@
.phabricator-hovercard-tail {
width: 396px;
float: left;
padding: 3px 2px;
background-color: #eeeeee;
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
padding: 2px;
border-top: 1px solid {$thinblueborder};
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
.phabricator-hovercard-tail button,