1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 02:32:42 +01:00

Update pinboard view

Summary: Updates the pinboard layout with less shadow and more standard border colors.

Test Plan: Reload pinboard

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: Korvin, aran

Differential Revision: https://secure.phabricator.com/D6829
This commit is contained in:
Chad Little 2013-08-28 08:55:43 -07:00
parent 2ce3c5235b
commit 9acddd7722
3 changed files with 7 additions and 8 deletions

View file

@ -3829,7 +3829,7 @@ celerity_register_resource_map(array(
), ),
'phui-pinboard-view-css' => 'phui-pinboard-view-css' =>
array( array(
'uri' => '/res/3b961aa1/rsrc/css/phui/phui-pinboard-view.css', 'uri' => '/res/c1972bac/rsrc/css/phui/phui-pinboard-view.css',
'type' => 'css', 'type' => 'css',
'requires' => 'requires' =>
array( array(

View file

@ -42,7 +42,8 @@ final class PHUIPinboardItemView extends AphrontView {
$header = phutil_tag( $header = phutil_tag(
'div', 'div',
array( array(
'class' => 'phui-pinboard-item-header', 'class' => 'phui-pinboard-item-header '.
'sprite-gradient gradient-lightblue-header',
), ),
phutil_tag('a', array('href' => $this->uri), $this->header)); phutil_tag('a', array('href' => $this->uri), $this->header));
} }

View file

@ -13,14 +13,13 @@
} }
.phui-pinboard-item-view { .phui-pinboard-item-view {
margin: 0 8px 16px 0; margin: 0 12px 16px 0;
border: 1px solid #d5d9df;
background: #ffffff; background: #ffffff;
border-radius: 3px; border-radius: 3px;
border: 1px solid #bfcfda;
border-bottom: 1px solid #95a6c5;
float: left; float: left;
width: 288px; width: 288px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
text-align: left; text-align: left;
} }
@ -38,11 +37,10 @@
.phui-pinboard-item-header { .phui-pinboard-item-header {
padding: 5px 10px; padding: 5px 10px;
display: block; display: block;
background: #edf0f4;
font-weight: bold; font-weight: bold;
border-top-left-radius: 3px; border-top-left-radius: 3px;
border-top-right-radius: 3px; border-top-right-radius: 3px;
border-bottom: 1px solid #d5d9df; border-bottom: 1px solid #bfcfda;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }