1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 18:28:47 +02:00
phorge-phorge/webroot/rsrc/css/application/diffusion/diffusion-source.css
Chad Little ac91ab1ef9 Update blame view in Diffusion
Summary: Ref T12824, adds more information to the blame view, exposes date, commit summary, lighter colors.

Test Plan:
Review many diffs with and without blame on.

{F5111758}

{F5111759}

Reviewers: epriestley

Reviewed By: epriestley

Spies: Korvin

Maniphest Tasks: T12824

Differential Revision: https://secure.phabricator.com/D18452
2017-08-23 09:47:35 -07:00

108 lines
1.9 KiB
CSS

/**
* @provides diffusion-source-css
*/
.diffusion-source {
width: 100%;
background: {$page.content};
}
.diffusion-source tr.phabricator-source-highlight th,
.diffusion-source tr.phabricator-source-highlight td {
background: {$gentle.highlight};
}
.diffusion-source th {
text-align: right;
vertical-align: top;
color: {$darkbluetext};
border-right: 1px solid {$thinblueborder};
}
.diffusion-source td {
vertical-align: top;
white-space: pre-wrap;
padding: 3px 12px;
width: 100%;
word-break: break-all;
}
.diffusion-browse-type-form {
float: right;
}
.diffusion-blame-link,
.diffusion-rev-link,
.diffusion-blame-date {
white-space: nowrap;
}
.diffusion-blame-date {
background: {$lightgreybackground};
font: {$basefont};
font-size: {$smallestfontsize};
}
.diffusion-blame-link,
.diffusion-line-link {
background: {$lightgreybackground};
}
.diffusion-source th.diffusion-rev-link {
text-align: left;
min-width: 130px;
background: {$lightgreybackground};
font: {$basefont};
font-size: {$smallestfontsize};
}
.diffusion-source a {
color: {$darkbluetext};
}
.diffusion-rev-link a {
max-width: 340px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.diffusion-rev-link a,
.diffusion-rev-link span,
.diffusion-blame-date a {
margin: 3px 8px;
display: block;
}
.diffusion-rev-link span {
margin-right: -4px;
margin-left: -4px;
color: {$lightgreytext};
}
.diffusion-blame-link a,
.diffusion-line-link a {
/* Give the user a larger click target. */
display: block;
padding: 4px 8px 3px;
}
.diffusion-line-link a {
color: {$lightgreytext};
}
.diffusion-blame-link a .phui-icon-view {
color: {$bluetext};
}
.diffusion-blame-link a:hover .phui-icon-view {
color: {$sky};
}
.diffusion-line-link {
-moz-user-select: -moz-none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}