Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14788755
D16918.id40730.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D16918.id40730.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -9,7 +9,7 @@
'names' => array(
'conpherence.pkg.css' => '0b64e988',
'conpherence.pkg.js' => '6249a1cf',
- 'core.pkg.css' => '92233377',
+ 'core.pkg.css' => '11a10b44',
'core.pkg.js' => '519f84e8',
'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => 'a4ba74b5',
@@ -108,7 +108,7 @@
'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
'rsrc/css/application/uiexample/example.css' => '528b19de',
'rsrc/css/core/core.css' => 'd0801452',
- 'rsrc/css/core/remarkup.css' => 'e70ca862',
+ 'rsrc/css/core/remarkup.css' => '53ad4a87',
'rsrc/css/core/syntax.css' => '769d3498',
'rsrc/css/core/z-index.css' => 'd1270942',
'rsrc/css/diviner/diviner-shared.css' => 'aa3656aa',
@@ -803,7 +803,7 @@
'phabricator-object-selector-css' => '85ee8ce6',
'phabricator-phtize' => 'd254d646',
'phabricator-prefab' => '8d40ae75',
- 'phabricator-remarkup-css' => 'e70ca862',
+ 'phabricator-remarkup-css' => '53ad4a87',
'phabricator-search-results-css' => '7dea472c',
'phabricator-shaped-request' => '7cbe244b',
'phabricator-slowvote-css' => 'a94b7230',
diff --git a/src/view/layout/PhabricatorFileLinkView.php b/src/view/layout/PhabricatorFileLinkView.php
--- a/src/view/layout/PhabricatorFileLinkView.php
+++ b/src/view/layout/PhabricatorFileLinkView.php
@@ -97,6 +97,9 @@
$class = $this->getCustomClass();
}
+ $icon = id(new PHUIIconView())
+ ->setIcon('fa-file-text-o');
+
return javelin_tag(
'a',
array(
@@ -106,6 +109,9 @@
'meta' => $meta,
'mustcapture' => $mustcapture,
),
- $this->getFileName());
+ array(
+ $icon,
+ $this->getFileName(),
+ ));
}
}
diff --git a/webroot/rsrc/css/core/remarkup.css b/webroot/rsrc/css/core/remarkup.css
--- a/webroot/rsrc/css/core/remarkup.css
+++ b/webroot/rsrc/css/core/remarkup.css
@@ -370,8 +370,23 @@
}
.phabricator-remarkup-embed-layout-link {
- padding-left: 20px;
- background: url(/rsrc/image/icon/fatcow/page_white_put.png) 0 0 no-repeat;
+ padding: 2px 0;
+ border-radius: 3px;
+ margin: 0;
+ display: inline-block;
+ font-weight: bold;
+ color: {$anchor};
+ -webkit-font-smoothing: antialiased;
+}
+
+.phabricator-remarkup-embed-layout-link .phui-icon-view {
+ margin-right: 8px;
+
+}
+
+.phabricator-remarkup-embed-layout-link:hover,
+.phabricator-remarkup-embed-layout-link:hover .phui-icon-view {
+
}
.phabricator-remarkup-embed-float-left {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 25, 6:02 PM (13 h, 57 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7052060
Default Alt Text
D16918.id40730.diff (2 KB)
Attached To
Mode
D16918: Restyle remarkup file links
Attached
Detach File
Event Timeline
Log In to Comment