Skip to content

Commit 58a15ad

Browse files
author
epriestley
committedMar 24, 2013
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
1 parent dcfe011 commit 58a15ad

File tree

4 files changed

+48
-42
lines changed

4 files changed

+48
-42
lines changed
 

‎src/__celerity_resource_map__.php

+39-39
Original file line numberDiff line numberDiff line change
@@ -2996,7 +2996,7 @@
29962996
),
29972997
'phabricator-object-item-list-view-css' =>
29982998
array(
2999-
'uri' => '/res/527ed374/rsrc/css/layout/phabricator-object-item-list-view.css',
2999+
'uri' => '/res/c5d7eb5b/rsrc/css/layout/phabricator-object-item-list-view.css',
30003000
'type' => 'css',
30013001
'requires' =>
30023002
array(
@@ -3694,7 +3694,7 @@
36943694
), array(
36953695
'packages' =>
36963696
array(
3697-
'2f159460' =>
3697+
'5d5de6ec' =>
36983698
array(
36993699
'name' => 'core.pkg.css',
37003700
'symbols' =>
@@ -3736,7 +3736,7 @@
37363736
34 => 'phabricator-object-item-list-view-css',
37373737
35 => 'global-drag-and-drop-css',
37383738
),
3739-
'uri' => '/res/pkg/2f159460/core.pkg.css',
3739+
'uri' => '/res/pkg/5d5de6ec/core.pkg.css',
37403740
'type' => 'css',
37413741
),
37423742
'95ceba95' =>
@@ -3927,16 +3927,16 @@
39273927
'reverse' =>
39283928
array(
39293929
'aphront-attached-file-view-css' => '6b1fccc6',
3930-
'aphront-dialog-view-css' => '2f159460',
3931-
'aphront-error-view-css' => '2f159460',
3932-
'aphront-form-view-css' => '2f159460',
3933-
'aphront-list-filter-view-css' => '2f159460',
3934-
'aphront-pager-view-css' => '2f159460',
3935-
'aphront-panel-view-css' => '2f159460',
3936-
'aphront-table-view-css' => '2f159460',
3937-
'aphront-tokenizer-control-css' => '2f159460',
3938-
'aphront-tooltip-css' => '2f159460',
3939-
'aphront-typeahead-control-css' => '2f159460',
3930+
'aphront-dialog-view-css' => '5d5de6ec',
3931+
'aphront-error-view-css' => '5d5de6ec',
3932+
'aphront-form-view-css' => '5d5de6ec',
3933+
'aphront-list-filter-view-css' => '5d5de6ec',
3934+
'aphront-pager-view-css' => '5d5de6ec',
3935+
'aphront-panel-view-css' => '5d5de6ec',
3936+
'aphront-table-view-css' => '5d5de6ec',
3937+
'aphront-tokenizer-control-css' => '5d5de6ec',
3938+
'aphront-tooltip-css' => '5d5de6ec',
3939+
'aphront-typeahead-control-css' => '5d5de6ec',
39403940
'differential-changeset-view-css' => '8aaacd1b',
39413941
'differential-core-view-css' => '8aaacd1b',
39423942
'differential-inline-comment-editor' => '322728f3',
@@ -3950,7 +3950,7 @@
39503950
'differential-table-of-contents-css' => '8aaacd1b',
39513951
'diffusion-commit-view-css' => 'c8ce2d88',
39523952
'diffusion-icons-css' => 'c8ce2d88',
3953-
'global-drag-and-drop-css' => '2f159460',
3953+
'global-drag-and-drop-css' => '5d5de6ec',
39543954
'inline-comment-summary-css' => '8aaacd1b',
39553955
'javelin-aphlict' => '95ceba95',
39563956
'javelin-behavior' => 'fe22443b',
@@ -4022,48 +4022,48 @@
40224022
'javelin-util' => 'fe22443b',
40234023
'javelin-vector' => 'fe22443b',
40244024
'javelin-workflow' => 'fe22443b',
4025-
'lightbox-attachment-css' => '2f159460',
4025+
'lightbox-attachment-css' => '5d5de6ec',
40264026
'maniphest-task-summary-css' => '6b1fccc6',
40274027
'maniphest-transaction-detail-css' => '6b1fccc6',
40284028
'phabricator-busy' => '95ceba95',
40294029
'phabricator-content-source-view-css' => '8aaacd1b',
4030-
'phabricator-core-buttons-css' => '2f159460',
4031-
'phabricator-core-css' => '2f159460',
4032-
'phabricator-crumbs-view-css' => '2f159460',
4033-
'phabricator-directory-css' => '2f159460',
4030+
'phabricator-core-buttons-css' => '5d5de6ec',
4031+
'phabricator-core-css' => '5d5de6ec',
4032+
'phabricator-crumbs-view-css' => '5d5de6ec',
4033+
'phabricator-directory-css' => '5d5de6ec',
40344034
'phabricator-drag-and-drop-file-upload' => '322728f3',
40354035
'phabricator-dropdown-menu' => '95ceba95',
40364036
'phabricator-file-upload' => '95ceba95',
4037-
'phabricator-filetree-view-css' => '2f159460',
4038-
'phabricator-flag-css' => '2f159460',
4039-
'phabricator-form-view-css' => '2f159460',
4040-
'phabricator-header-view-css' => '2f159460',
4041-
'phabricator-jump-nav' => '2f159460',
4037+
'phabricator-filetree-view-css' => '5d5de6ec',
4038+
'phabricator-flag-css' => '5d5de6ec',
4039+
'phabricator-form-view-css' => '5d5de6ec',
4040+
'phabricator-header-view-css' => '5d5de6ec',
4041+
'phabricator-jump-nav' => '5d5de6ec',
40424042
'phabricator-keyboard-shortcut' => '95ceba95',
40434043
'phabricator-keyboard-shortcut-manager' => '95ceba95',
4044-
'phabricator-main-menu-view' => '2f159460',
4044+
'phabricator-main-menu-view' => '5d5de6ec',
40454045
'phabricator-menu-item' => '95ceba95',
4046-
'phabricator-nav-view-css' => '2f159460',
4046+
'phabricator-nav-view-css' => '5d5de6ec',
40474047
'phabricator-notification' => '95ceba95',
4048-
'phabricator-notification-css' => '2f159460',
4049-
'phabricator-notification-menu-css' => '2f159460',
4050-
'phabricator-object-item-list-view-css' => '2f159460',
4048+
'phabricator-notification-css' => '5d5de6ec',
4049+
'phabricator-notification-menu-css' => '5d5de6ec',
4050+
'phabricator-object-item-list-view-css' => '5d5de6ec',
40514051
'phabricator-object-selector-css' => '8aaacd1b',
40524052
'phabricator-paste-file-upload' => '95ceba95',
40534053
'phabricator-prefab' => '95ceba95',
40544054
'phabricator-project-tag-css' => '6b1fccc6',
4055-
'phabricator-remarkup-css' => '2f159460',
4055+
'phabricator-remarkup-css' => '5d5de6ec',
40564056
'phabricator-shaped-request' => '322728f3',
4057-
'phabricator-side-menu-view-css' => '2f159460',
4058-
'phabricator-standard-page-view' => '2f159460',
4057+
'phabricator-side-menu-view-css' => '5d5de6ec',
4058+
'phabricator-standard-page-view' => '5d5de6ec',
40594059
'phabricator-textareautils' => '95ceba95',
40604060
'phabricator-tooltip' => '95ceba95',
4061-
'phabricator-transaction-view-css' => '2f159460',
4062-
'phabricator-zindex-css' => '2f159460',
4063-
'sprite-apps-large-css' => '2f159460',
4064-
'sprite-gradient-css' => '2f159460',
4065-
'sprite-icon-css' => '2f159460',
4066-
'sprite-menu-css' => '2f159460',
4067-
'syntax-highlighting-css' => '2f159460',
4061+
'phabricator-transaction-view-css' => '5d5de6ec',
4062+
'phabricator-zindex-css' => '5d5de6ec',
4063+
'sprite-apps-large-css' => '5d5de6ec',
4064+
'sprite-gradient-css' => '5d5de6ec',
4065+
'sprite-icon-css' => '5d5de6ec',
4066+
'sprite-menu-css' => '5d5de6ec',
4067+
'syntax-highlighting-css' => '5d5de6ec',
40684068
),
40694069
));

‎src/applications/maniphest/view/ManiphestTaskListView.php

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ public function render() {
7979

8080
if ($this->showSubpriorityControls) {
8181
$item->setGrippable(true);
82+
}
83+
if ($this->showSubpriorityControls || $this->showBatchControls) {
8284
$item->addSigil('maniphest-task');
8385
}
8486

‎src/view/layout/PhabricatorObjectItemView.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ private function renderHandleIcon(PhabricatorObjectHandle $handle, $label) {
373373

374374
$options = array(
375375
'class' => 'phabricator-object-item-handle-icon',
376-
'style' => 'background: url('.$handle->getImageURI().')',
376+
'style' => 'background-image: url('.$handle->getImageURI().')',
377377
);
378378

379379
if (strlen($label)) {

‎webroot/rsrc/css/layout/phabricator-object-item-list-view.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@
326326
width: 28px;
327327
height: 28px;
328328
display: inline-block;
329-
background: #f3f3f3;
330329
background-size: 28px 28px;
331330
background-repeat: no-repeat;
332331
}
@@ -341,10 +340,15 @@
341340
/* Hard to sprite since we can't have other sprites appearing in tall cells */
342341
.phabricator-object-list-cards .phabricator-object-item {
343342
border-radius: 3px;
344-
border-left-width: 4px;
343+
border-left-width: 6px;
345344
background: #e8e8e8 url('/rsrc/image/texture/card-gradient.png') repeat-x;
346345
}
347346

347+
.phabricator-object-list-cards .phabricator-object-item-frame {
348+
min-height: 47px;
349+
}
350+
351+
348352
.phabricator-object-list-cards .phabricator-object-item-name {
349353
font-size: 13px;
350354
white-space: nowrap;

0 commit comments

Comments
 (0)
Failed to load comments.