mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 23:40:57 +01:00
89d35b98c8
Summary: Various tweaks and fixes. Adds a File Contents view in Diffusion, normalizes spaces, colors. Test Plan: tested differential and diffusion in my sandbox. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, epriestley, aran Maniphest Tasks: T3952 Differential Revision: https://secure.phabricator.com/D7325
84 lines
1.5 KiB
CSS
84 lines
1.5 KiB
CSS
/**
|
|
* @provides diffusion-source-css
|
|
*/
|
|
|
|
.diffusion-source {
|
|
width: 100%;
|
|
font-family: "Monaco", Consolas, monospace;
|
|
font-size: 10px;
|
|
background: #fff;
|
|
}
|
|
|
|
.diffusion-source tr.phabricator-source-highlight {
|
|
background: #ffff00;
|
|
}
|
|
|
|
.diffusion-source th {
|
|
text-align: right;
|
|
vertical-align: top;
|
|
background: {$lightgreybackground};
|
|
color: {$bluetext};
|
|
border-right: 1px solid {$thinblueborder};
|
|
font-size: 11px;
|
|
}
|
|
|
|
.diffusion-source td {
|
|
letter-spacing: 0.0083334px;
|
|
vertical-align: top;
|
|
white-space: pre-wrap;
|
|
padding-bottom: 1px;
|
|
padding-left: 8px;
|
|
line-height: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
.diffusion-browse-type-form {
|
|
float: right;
|
|
}
|
|
|
|
.diffusion-blame-link,
|
|
.diffusion-rev-link,
|
|
.diffusion-author-link {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.diffusion-blame-link {
|
|
min-width: 28px;
|
|
}
|
|
|
|
.diffusion-rev-link {
|
|
min-width: 90px;
|
|
}
|
|
|
|
.diffusion-author-link {
|
|
min-width: 120px;
|
|
}
|
|
|
|
.diffusion-blame-link a,
|
|
.diffusion-rev-link a,
|
|
.diffusion-author-link a,
|
|
.diffusion-line-link a {
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
.diffusion-rev-link a,
|
|
.diffusion-author-link span,
|
|
.diffusion-author-link a {
|
|
margin: 2px 8px 0;
|
|
display: block;
|
|
}
|
|
|
|
.diffusion-blame-link a,
|
|
.diffusion-line-link a {
|
|
/* Give the user a larger click target. */
|
|
display: block;
|
|
padding: 2px 8px;
|
|
}
|
|
|
|
.diffusion-line-link {
|
|
-moz-user-select: -moz-none;
|
|
-khtml-user-select: none;
|
|
-webkit-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|