Clean up some card issues

Summary:
Ref T2826.

  - Adds a min height (arbitrarily, height of the gradient; other choices are 60px [title + avatar], or 70px [title + projects + closed + avatar]).
  - Color bars 4px -> 6px.
  - Fixes profile image clipping in Firefox, etc.
  - Removes background color from avatars, for transparent GIFs and such.
  - Fixes shift-click to select tasks in views that can't be grabbed.

Test Plan: {F37535}

Reviewers: chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T2826

Differential Revision: https://secure.phabricator.com/D5436
This commit is contained in:
epriestley
2013-03-23 18:38:03 -07:00
parent dcfe011fc7
commit 58a15ad250
4 changed files with 48 additions and 42 deletions

View File

@@ -326,7 +326,6 @@
width: 28px;
height: 28px;
display: inline-block;
background: #f3f3f3;
background-size: 28px 28px;
background-repeat: no-repeat;
}
@@ -341,10 +340,15 @@
/* Hard to sprite since we can't have other sprites appearing in tall cells */
.phabricator-object-list-cards .phabricator-object-item {
border-radius: 3px;
border-left-width: 4px;
border-left-width: 6px;
background: #e8e8e8 url('/rsrc/image/texture/card-gradient.png') repeat-x;
}
.phabricator-object-list-cards .phabricator-object-item-frame {
min-height: 47px;
}
.phabricator-object-list-cards .phabricator-object-item-name {
font-size: 13px;
white-space: nowrap;