Page MenuHomePhabricator

D9335.diff
No OneTemporary

D9335.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -7,7 +7,7 @@
return array(
'names' =>
array(
- 'core.pkg.css' => 'c94a698c',
+ 'core.pkg.css' => 'c6ff1a89',
'core.pkg.js' => '7db41c19',
'darkconsole.pkg.js' => 'ca8671ce',
'differential.pkg.css' => 'fbf57382',
@@ -115,7 +115,7 @@
'rsrc/css/layout/phabricator-action-header-view.css' => '33a4590a',
'rsrc/css/layout/phabricator-action-list-view.css' => 'dcbfc854',
'rsrc/css/layout/phabricator-crumbs-view.css' => '989a48b6',
- 'rsrc/css/layout/phabricator-filetree-view.css' => 'a8c86ace',
+ 'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
'rsrc/css/layout/phabricator-hovercard-view.css' => '46a13cf0',
'rsrc/css/layout/phabricator-side-menu-view.css' => 'c1986b85',
'rsrc/css/layout/phabricator-source-code-view.css' => '62a99814',
@@ -703,7 +703,7 @@
'phabricator-fatal-config-template-css' => '25d446d6',
'phabricator-feed-css' => 'dd43ce00',
'phabricator-file-upload' => 'a4ae61bf',
- 'phabricator-filetree-view-css' => 'a8c86ace',
+ 'phabricator-filetree-view-css' => 'fccf9f82',
'phabricator-flag-css' => '5337623f',
'phabricator-hovercard' => '4f344388',
'phabricator-hovercard-view-css' => '46a13cf0',
diff --git a/src/applications/differential/view/DifferentialChangesetFileTreeSideNavBuilder.php b/src/applications/differential/view/DifferentialChangesetFileTreeSideNavBuilder.php
--- a/src/applications/differential/view/DifferentialChangesetFileTreeSideNavBuilder.php
+++ b/src/applications/differential/view/DifferentialChangesetFileTreeSideNavBuilder.php
@@ -90,20 +90,15 @@
if ($data) {
$href = '#'.$data->getAnchorName();
$title = $name;
- $icon = 'phabricator-filetree-icon-file';
+ $icon = id(new PHUIIconView())
+ ->setIconFont('fa-file-text-o bluetext');
} else {
$name .= '/';
$title = $path->getFullPath().'/';
- $icon = 'phabricator-filetree-icon-dir';
+ $icon = id(new PHUIIconView())
+ ->setIconFont('fa-folder-open blue');
}
- $icon = phutil_tag(
- 'span',
- array(
- 'class' => 'phabricator-filetree-icon '.$icon,
- ),
- '');
-
$name_element = phutil_tag(
'span',
array(
diff --git a/webroot/rsrc/css/layout/phabricator-filetree-view.css b/webroot/rsrc/css/layout/phabricator-filetree-view.css
--- a/webroot/rsrc/css/layout/phabricator-filetree-view.css
+++ b/webroot/rsrc/css/layout/phabricator-filetree-view.css
@@ -14,6 +14,7 @@
margin: 0;
padding: 0;
display: block;
+ border-left: 4px solid transparent;
}
.phabricator-filetree span.phabricator-filetree-icon {
@@ -28,7 +29,7 @@
.phabricator-filetree span.phabricator-filetree-name {
padding: 0;
margin-left: 4px;
- font-size: 11px;
+ font-size: 12px;
font-weight: normal;
line-height: 20px;
white-space: nowrap;
@@ -36,22 +37,20 @@
.phabricator-filetree span.phabricator-filetree-item
.phabricator-filetree-name {
- color: #a0a0a0;
+ color: {$darkbluetext};
}
.phabricator-filetree a.phabricator-filetree-item
.phabricator-filetree-name {
- color: #fff;
+ color: {$darkbluetext};
}
.phabricator-filetree a.phabricator-filetree-item:hover {
text-decoration: none;
+ background-color: {$hovergrey};
}
-.phabricator-filetree-icon-file {
- background-image: url(/rsrc/image/icon/fatcow/page_white_text.png);
-}
-
-.phabricator-filetree-icon-dir {
- background-image: url(/rsrc/image/icon/fatcow/folder.png);
+.phabricator-filetree .phabricator-active-nav-focus {
+ background-color: {$hovergrey};
+ border-left: 4px solid {$sky};
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 8:53 AM (20 h, 54 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6917968
Default Alt Text
D9335.diff (3 KB)

Event Timeline