1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00
phorge-phorge/webroot/rsrc/css/phui/phui-document-summary.css
Chad Little 7aeefc0cca Add an Experimental Dark Mode to Phabricator
Summary: Mostly this is an exercise to clean up our CSS and Celerity processor by making sure all important color decisions are generatable. It's somewhat resonable to use if you don't review code. Posting it up here mostly so I don't lose the work.

Test Plan: Visit lots and lots of pages with dark mode on and off.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D18227
2017-07-18 06:44:32 -07:00

54 lines
1,015 B
CSS

/**
* @provides phui-document-summary-view-css
*/
.phui-document-summary-view {
margin-top: 8px;
border-bottom: 1px solid rgba({$alphagrey},.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: {$blacktext};
}
.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};
}