1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 17:58:47 +02:00
phorge-phorge/webroot/rsrc/css/application/differential/revision-detail.css
Nick Harper fa2911b2b8 Allow word wrapping differential revision property labels
Summary:
Because D1028 caused the column containing differential revision property
labels to have a fixed width, some custom labels are longer than what fits
(and it makes more sense to word wrap them instead of making the column
wider).
I also updated the corresponding maniphest css for consistency.

Test Plan:
Used firebug to remove css property and visually check that is the intended
effect; loaded a page after the revision and saw that the css property is
no longer set, allowing the labels to wrap.

Reviewers: epriestley, jungejason

Reviewed By: jungejason

CC: aran, jungejason, epriestley

Differential Revision: 1066
2011-11-01 15:22:40 -07:00

91 lines
1.5 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-table th {
white-space: nowrap;
padding: 4px 8px;
}
.differential-unit-table th.unit-test-result {
padding: 0;
}
.differential-unit-table .result-fail {
background: #ff3333;
padding: 4px 8px;
}
.differential-unit-table .result-unsound {
background: #cc33cc;
padding: 4px 8px;
}
.differential-unit-table td {
width: 100%;
padding: 4px 8px;
color: #666666;
}
.differential-keyboard-shortcuts {
float: right;
}