phorge/webroot/rsrc/css/core/syntax.css
Chad Little 9e2ab4f80e Scope syntax css rules to direct descendants only in diffs
Summary: Fixes T11641. We're overbroad here (and this may need more scoping?) but this seems to resolve the immediate issue.

Test Plan: Upload a few diffs and ask disabled accounts to comment on them inline.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T11641

Differential Revision: https://secure.phabricator.com/D17565
2017-03-27 10:25:37 -07:00

39 lines
819 B
CSS

/**
* @provides syntax-highlighting-css
* @requires syntax-default-css
*/
.remarkup-code .uu { /* Forbidden Unicode */
color: #aa0066;
}
.remarkup-code .over-the-line {
color: #aa0066;
margin-right: 1px;
}
.remarkup-code td > span {
display: inline;
word-break: break-all;
}
.remarkup-code .rbw_r { color: red; }
.remarkup-code .rbw_o { color: orange; }
.remarkup-code .rbw_y { color: yellow; }
.remarkup-code .rbw_g { color: green; }
.remarkup-code .rbw_b { color: blue; }
.remarkup-code .rbw_i { color: indigo; }
.remarkup-code .rbw_v { color: violet; }
.repository-crossreference .remarkup-code .crossreference-item {
background: lightyellow;
border-bottom: 1px dotted #bbddbb;
}
.crossreference-cursor {
cursor: help;
}
.remarkup-code .invisible {
color: #222222;
background: #dddddd;
}