1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-27 07:50:57 +01:00
phorge-phorge/webroot/rsrc/css/application/diff/inline-comment-summary.css
epriestley 6a13b3ea7e Separate the inline comment summary element into a separate view
Summary:
  - Affects the "Inline Comments" summary table which appears in comments that have attached inlines in the discussion threads in Differential.
  - Prepares for inclusion in Diffusion.
  - No application changes (minor CSS), just factors code better.
  - Simplify/separate CSS.

Test Plan: Looked at on-diff and off-diff comment summaries in Differential, display looked correct.

Reviewers: davidreuss, nh, btrahan

Reviewed By: davidreuss

CC: aran, epriestley

Maniphest Tasks: T904

Differential Revision: https://secure.phabricator.com/D1928
2012-03-19 19:45:16 -07:00

55 lines
1.2 KiB
CSS

/**
* @provides inline-comment-summary-css
*/
.phabricator-inline-summary {
margin: .75em 0 .5em;
font-size: 11px;
border-bottom: 1px solid #dddddd;
color: #666666;
}
.phabricator-inline-summary-table {
width: 100%;
}
.phabricator-inline-summary-table th {
padding: 6px 0px;
color: #444444;
}
.phabricator-inline-summary-table td {
padding: 0px 4px 6px;
white-space: nowrap;
}
.phabricator-inline-summary-table td.inline-line-number {
padding-left: 0px;
width: 100px;
}
.phabricator-inline-summary-table td.inline-which-diff {
color: #666666;
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-left: 16px;
display: block;
font-weight: bold;
}
.phabricator-inline-summary-table td.inline-line-number a.num:hover {
background: #3b5998;
color: white;
text-decoration: none;
}