1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/webroot/rsrc/css/phui/phui-document-summary.css
Chad Little 9d1ba9c038 Add a Read More link to PHUIDocumentSummaryView
Summary: Currently it's difficult to notice posts may be much longer than the summary (in most cases, actually), Adds a consistent "Read More" link to the full post. Also made sure "violet" was more consistantly used.

Test Plan:
Review summaries in Phame

{F1031799}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14827
2015-12-19 12:49:23 -08:00

54 lines
1,003 B
CSS

/**
* @provides phui-document-summary-view-css
*/
.phui-document-summary-view {
margin-top: 8px;
border-bottom: 1px solid rgba(55,55,55,.1);
}
.phui-document-summary-view.is-draft {
opacity: 0.5;
}
body .phui-document-view .phui-document-summary-view h2.remarkup-header {
margin: 0;
padding: 0;
}
.phui-document-summary-view h2.remarkup-header a {
color: #000;
}
.phui-document-summary-view h2.remarkup-header a:hover {
color: {$violet};
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};
display: block;
padding-bottom: 12px;
}
a.phui-document-read-more:hover {
color: {$violet};
}
.phui-document-summary-subtitle {
color: {$lightgreytext};
font-size: {$normalfontsize};
}
.phui-document-summary-subtitle a {
color: {$darkbluetext};
}
.phui-document-summary-subtitle a:hover {
color: {$violet};
}