Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13978748
D14827.id35848.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D14827.id35848.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
@@ -82,7 +82,7 @@
'rsrc/css/application/owners/owners-path-editor.css' => '2f00933b',
'rsrc/css/application/paste/paste.css' => 'a5157c48',
'rsrc/css/application/people/people-profile.css' => '25970776',
- 'rsrc/css/application/phame/phame.css' => '164515da',
+ 'rsrc/css/application/phame/phame.css' => '09a39e8d',
'rsrc/css/application/pholio/pholio-edit.css' => '3ad9d1ee',
'rsrc/css/application/pholio/pholio-inline-comments.css' => '8e545e49',
'rsrc/css/application/pholio/pholio.css' => '95174bdd',
@@ -127,7 +127,7 @@
'rsrc/css/phui/phui-button.css' => '16020a60',
'rsrc/css/phui/phui-crumbs-view.css' => '414406b5',
'rsrc/css/phui/phui-document-pro.css' => 'e0fad431',
- 'rsrc/css/phui/phui-document-summary.css' => '8c1e0aca',
+ 'rsrc/css/phui/phui-document-summary.css' => 'dfcb2886',
'rsrc/css/phui/phui-document.css' => 'a4a1c3b9',
'rsrc/css/phui/phui-feed-story.css' => 'b7b26d23',
'rsrc/css/phui/phui-fontkit.css' => '9cda225e',
@@ -780,7 +780,7 @@
'phabricator-uiexample-reactor-sendclass' => '1def2711',
'phabricator-uiexample-reactor-sendproperties' => 'b1f0ccee',
'phabricator-zindex-css' => '57ddcaa2',
- 'phame-css' => '164515da',
+ 'phame-css' => '09a39e8d',
'pholio-css' => '95174bdd',
'pholio-edit-css' => '3ad9d1ee',
'pholio-inline-comments-css' => '8e545e49',
@@ -798,7 +798,7 @@
'phui-calendar-list-css' => 'c1c7f338',
'phui-calendar-month-css' => '476be7e0',
'phui-crumbs-view-css' => '414406b5',
- 'phui-document-summary-view-css' => '8c1e0aca',
+ 'phui-document-summary-view-css' => 'dfcb2886',
'phui-document-view-css' => 'a4a1c3b9',
'phui-document-view-pro-css' => 'e0fad431',
'phui-feed-story-css' => 'b7b26d23',
diff --git a/src/view/phui/PHUIDocumentSummaryView.php b/src/view/phui/PHUIDocumentSummaryView.php
--- a/src/view/phui/PHUIDocumentSummaryView.php
+++ b/src/view/phui/PHUIDocumentSummaryView.php
@@ -90,7 +90,15 @@
),
$this->summary);
- return array($header, $subtitle, $body);
+ $read_more = phutil_tag(
+ 'a',
+ array(
+ 'class' => 'phui-document-read-more',
+ 'href' => $this->href,
+ ),
+ pht('Read more...'));
+
+ return array($header, $subtitle, $body, $read_more);
}
}
diff --git a/webroot/rsrc/css/application/phame/phame.css b/webroot/rsrc/css/application/phame/phame.css
--- a/webroot/rsrc/css/application/phame/phame.css
+++ b/webroot/rsrc/css/application/phame/phame.css
@@ -85,7 +85,7 @@
}
.phame-blog-list-title:hover {
- color: {$indigo};
+ color: {$violet};
text-decoration: none;
}
@@ -120,12 +120,12 @@
}
.phame-blog-list-new-post:hover {
- color: {$indigo};
+ color: {$violet};
text-decoration: none;
}
.phame-blog-list-new-post:hover .phame-blog-list-icon {
- color: {$indigo};
+ color: {$violet};
}
.phame-blog-list-icon {
diff --git a/webroot/rsrc/css/phui/phui-document-summary.css b/webroot/rsrc/css/phui/phui-document-summary.css
--- a/webroot/rsrc/css/phui/phui-document-summary.css
+++ b/webroot/rsrc/css/phui/phui-document-summary.css
@@ -25,6 +25,19 @@
text-decoration: none;
}
+.phui-document-view .phui-document-summary-body div.phabricator-remarkup {
+ padding-bottom: 4px;
+}
+
+a.phui-document-read-more {
+ color: {$lightgreytext};
+ font-size: {$smallerfontsize};
+}
+
+a.phui-document-read-more:hover {
+ color: {$violet};
+}
+
.phui-document-summary-subtitle {
color: {$lightgreytext};
font-size: {$normalfontsize};
@@ -33,3 +46,7 @@
.phui-document-summary-subtitle a {
color: {$darkbluetext};
}
+
+.phui-document-summary-subtitle a:hover {
+ color: {$violet};
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 20, 12:48 AM (4 w, 21 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6734500
Default Alt Text
D14827.id35848.diff (3 KB)
Attached To
Mode
D14827: Add a Read More link to PHUIDocumentSummaryView
Attached
Detach File
Event Timeline
Log In to Comment