1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 14:30:56 +01:00
phorge-phorge/webroot/rsrc/css/application/differential/revision-detail.css
Natthu Bharambe ed1928eee2 Show lint/unit failure explanation in Phabricator
Summary:
Tweaked lint/unit field specifications to introduce the failure
explanation read from arc:[lint|unit]-excuse.

Task ID: #

Blame Rev:

Test Plan:
Create dumb diffs with errors - run modified 'arc' and change
conduit_url to http://phabricator.dev1020.facebook.com/api/ - verified
that explanation shows up with proper formatting.

Revert Plan:

Tags:

Reviewers: epriestley, nh

Reviewed By: epriestley

CC: Girish, akramer, blair, aran, epriestley, andreygoder

Differential Revision: https://secure.phabricator.com/D1689
2012-02-24 15:28:06 -08:00

98 lines
1.7 KiB
CSS

/**
* @provides differential-revision-detail-css
*/
.differential-revision-properties {
font-size: 12px;
width: 100%;
table-layout: fixed;
}
.differential-revision-properties tt {
letter-spacing: 1.1px;
}
.differential-revision-properties th {
font-weight: bold;
width: 120px;
text-align: right;
padding: 3px 4px 3px 3px;
color: #333333;
}
.differential-revision-properties td {
padding: 3px 2px;
}
.differential-revision-detail-core {
margin-right: 265px;
}
.differential-unit-block,
.differential-lint-block {
padding: .5em;
background: #fcfcec;
margin: .5em 0;
font-size: 11px;
line-height: 1.5em;
}
.differential-lint-block .lint-severity-warning {
background: #ffff66;
padding: 0 0.5em;
font-weight: bold;
}
.differential-lint-block .lint-severity-error {
background: #ff3333;
padding: 0 0.5em;
font-weight: bold;
}
.differential-lint-block .lint-file-block {
}
.differential-lint-block li li {
margin-left: 1.5em;
}
.differential-lint-block li li p {
margin-left: 1em;
color: #666666;
}
.differential-unit-block li {
margin-left: 1.5em;
}
.differential-unit-block li p {
margin-left: 1em;
color: #666666;
}
.differential-unit-block .unit-test-result {
padding: 0;
}
.differential-unit-block .unit-result-fail {
background: #ff3333;
padding: 0 0.5em;
font-weight: bold;
}
.differential-unit-block .unit-result-unsound {
background: #cc33cc;
padding: 0 0.5em;
font-weight: bold;
}
.differential-lint-block .lint-excuse,
.differential-unit-block .unit-excuse {
background: #808080;
color: #ffff66;
font-size: 12px;
}
.differential-keyboard-shortcuts {
float: right;
}