1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 23:40:57 +01:00
phorge-phorge/webroot/rsrc/css/application/diff/inline-comment-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

71 lines
1.7 KiB
CSS

/**
* @provides inline-comment-summary-css
*/
.transaction-comment + .phabricator-inline-summary-table {
margin-top: 8px;
}
.phabricator-inline-summary-table {
border-collapse: collapse;
border-style: hidden;
width: 100%;
margin-top: -16px;
}
.phabricator-inline-summary-table .inline-comment-summary-table-header {
font-weight: bold;
padding: 16px 1px 8px;
color: {$blacktext};
border-bottom: 1px solid {$thinblueborder};
}
.phabricator-inline-summary-table .inline-table-dolumn {
padding: 4px 8px;
white-space: nowrap;
color: {$darkbluetext};
background: {$page.content};
}
.phabricator-inline-summary-table td.inline-line-number {
padding: 0;
width: 100px;
white-space: nowrap;
background: {$lightgreybackground};
font-family: "Menlo", "Consolas", monospace;
font-size: {$smallestfontsize};
color: {$bluetext};
border-right: 1px solid {$thinblueborder};
}
.phabricator-inline-summary-table td.inline-which-diff {
color: {$greytext};
width: 120px;
}
.phabricator-inline-summary-table td.inline-summary-content {
vertical-align: top;
white-space: normal;
}
/* NOTE: These two rules provide a larger hit target for clicking line numbers
(by letting you click the entire cell) and a visual indicator that you're on
target (by highlighting the entire cell). */
.phabricator-inline-summary-table td.inline-line-number a.num {
padding: 4px 8px;
display: block;
color: {$bluetext};
}
.phabricator-inline-summary-table td.inline-line-number:hover a.num {
background: rgba(150,150,150,.1);
text-decoration: none;
color: {$darkbluetext};
}
.phui-timeline-core-content .phabricator-inline-summary:first-child {
border: none;
margin-top: 0;
padding-top: 0;
}