mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 00:10:57 +01:00
Update diff changeset icons
Summary: Fix size and spacing of file icons in diffs, update with new types, consistency. Test Plan: Tested a diff in differential Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9372
This commit is contained in:
parent
40e2a1c800
commit
d7ffe97857
3 changed files with 25 additions and 11 deletions
|
@ -10,7 +10,7 @@ return array(
|
|||
'core.pkg.css' => '2920014c',
|
||||
'core.pkg.js' => '639b2433',
|
||||
'darkconsole.pkg.js' => 'ca8671ce',
|
||||
'differential.pkg.css' => 'fbf57382',
|
||||
'differential.pkg.css' => '4a93db37',
|
||||
'differential.pkg.js' => 'eca39a2c',
|
||||
'diffusion.pkg.css' => '3783278d',
|
||||
'diffusion.pkg.js' => '077e3ad0',
|
||||
|
@ -54,7 +54,7 @@ return array(
|
|||
'rsrc/css/application/dashboard/dashboard.css' => 'f593f8c2',
|
||||
'rsrc/css/application/diff/inline-comment-summary.css' => '8cfd34e8',
|
||||
'rsrc/css/application/differential/add-comment.css' => 'c478bcaa',
|
||||
'rsrc/css/application/differential/changeset-view.css' => 'f234b888',
|
||||
'rsrc/css/application/differential/changeset-view.css' => 'ff8eacf8',
|
||||
'rsrc/css/application/differential/core.css' => '7ac3cabc',
|
||||
'rsrc/css/application/differential/results-table.css' => '239924f9',
|
||||
'rsrc/css/application/differential/revision-comment.css' => '48186045',
|
||||
|
@ -510,7 +510,7 @@ return array(
|
|||
'conpherence-notification-css' => '04a6e10a',
|
||||
'conpherence-update-css' => '1099a660',
|
||||
'conpherence-widget-pane-css' => 'bf275a6c',
|
||||
'differential-changeset-view-css' => 'f234b888',
|
||||
'differential-changeset-view-css' => 'ff8eacf8',
|
||||
'differential-core-view-css' => '7ac3cabc',
|
||||
'differential-inline-comment-editor' => 'f2441746',
|
||||
'differential-results-table-css' => '239924f9',
|
||||
|
|
|
@ -104,16 +104,19 @@ final class DifferentialChangesetDetailView extends AphrontView {
|
|||
case 'wav':
|
||||
case 'mp3':
|
||||
case 'aiff':
|
||||
$icon = 'fa-music';
|
||||
$icon = 'fa-file-sound-o';
|
||||
break;
|
||||
case 'm4v':
|
||||
case 'mov':
|
||||
$icon = 'fa-film';
|
||||
$icon = 'fa-file-movie-o';
|
||||
break;
|
||||
case 'sql';
|
||||
case 'sql':
|
||||
case 'db':
|
||||
$icon = 'fa-database';
|
||||
break;
|
||||
case 'xls':
|
||||
case 'csv':
|
||||
$icon = 'fa-table';
|
||||
$icon = 'fa-file-excel-o';
|
||||
break;
|
||||
case 'ics':
|
||||
$icon = 'fa-calendar';
|
||||
|
@ -123,16 +126,26 @@ final class DifferentialChangesetDetailView extends AphrontView {
|
|||
case 'bz':
|
||||
case 'tgz':
|
||||
case 'gz':
|
||||
$icon = 'fa-archive';
|
||||
$icon = 'fa-file-archive-o';
|
||||
break;
|
||||
case 'png':
|
||||
case 'jpg':
|
||||
case 'bmp':
|
||||
case 'gif':
|
||||
$icon = 'fa-picture-o';
|
||||
$icon = 'fa-file-picture-o';
|
||||
break;
|
||||
case 'txt':
|
||||
$icon = 'fa-file-text-o';
|
||||
break;
|
||||
case 'doc':
|
||||
case 'docx':
|
||||
$icon = 'fa-file-word-o';
|
||||
break;
|
||||
case 'pdf':
|
||||
$icon = 'fa-file-pdf-o';
|
||||
break;
|
||||
default:
|
||||
$icon = 'fa-file';
|
||||
$icon = 'fa-file-code-o';
|
||||
break;
|
||||
}
|
||||
return $icon;
|
||||
|
|
|
@ -470,8 +470,9 @@ tr.differential-inline-loading {
|
|||
|
||||
.differential-file-icon-header .phui-icon-view {
|
||||
display: inline-block;
|
||||
margin: 0 4px 2px 0;
|
||||
margin: 0 6px 2px 0;
|
||||
vertical-align: middle;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.device-phone .differential-file-icon-header .phui-icon-view {
|
||||
|
|
Loading…
Reference in a new issue