mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
3005b7a7b1
Summary: This does two things - Modernizes Table of Contents - Makes Differential reasonable on mobile I say resonable, as you still have to scroll horizontal to see the entire diff. This is minor as the rest of the page is 100x more useful. A 1-up view would be preferred, but this is still an improvement. Test Plan: Used iOS simulator for browsing diffs. Reviewers: btrahan, epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin, chad Differential Revision: https://secure.phabricator.com/D8681
85 lines
1.4 KiB
CSS
85 lines
1.4 KiB
CSS
/**
|
|
* @provides differential-table-of-contents-css
|
|
*/
|
|
|
|
.differential-toc-meta {
|
|
color: {$lightgreytext};
|
|
padding-top: 2px;
|
|
}
|
|
|
|
table.aphront-table-view td.differential-toc-char {
|
|
padding-right: 0;
|
|
font-weight: bold;
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
table.aphront-table-view td.differential-toc-prop {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
font-weight: bold;
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
table.aphront-table-view td.differential-toc-ftype {
|
|
padding-left: 0;
|
|
font-weight: bold;
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
.differential-toc-file {
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.device-phone .differential-toc-file {
|
|
word-break: break-word;
|
|
}
|
|
|
|
.differential-toc-cov {
|
|
color: {$darkbluetext};
|
|
font-weight: bold;
|
|
}
|
|
|
|
.differential-toc-reveal-all,
|
|
.differential-toc-edit-all {
|
|
float: right;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.diff-star-none {
|
|
color: {$greytext};
|
|
}
|
|
|
|
.diff-star-okay {
|
|
color: {$orange};
|
|
}
|
|
|
|
/* TODO: 'warn' and 'fail' are both red, but we can't make 'warn' yellow since
|
|
'okay' is a "gold star". */
|
|
.diff-star-warn {
|
|
color: {$red};
|
|
}
|
|
|
|
.diff-star-fail {
|
|
color: {$red};
|
|
}
|
|
|
|
.diff-star-skip {
|
|
color: {$indigo};
|
|
}
|
|
|
|
.differential-toc table td em {
|
|
color: {$greytext};
|
|
}
|
|
|
|
.differential-toc .button {
|
|
margin: 8px 0px 0px 8px;
|
|
}
|
|
|
|
.differential-mcoverage-loading {
|
|
color: {$lightgreytext};
|
|
}
|
|
|
|
.differential-toc-buttons {
|
|
border-top: 1px solid {$thinblueborder};
|
|
padding: 8px;
|
|
}
|