mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 07:12:41 +01:00
7aeefc0cca
Summary: Mostly this is an exercise to clean up our CSS and Celerity processor by making sure all important color decisions are generatable. It's somewhat resonable to use if you don't review code. Posting it up here mostly so I don't lose the work. Test Plan: Visit lots and lots of pages with dark mode on and off. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D18227
81 lines
1.4 KiB
CSS
81 lines
1.4 KiB
CSS
/**
|
|
* @provides diffusion-source-css
|
|
*/
|
|
|
|
.diffusion-source {
|
|
width: 100%;
|
|
background: {$page.content};
|
|
}
|
|
|
|
.diffusion-source tr.phabricator-source-highlight {
|
|
background: {$sh-yellowbackground};
|
|
}
|
|
|
|
.diffusion-source th {
|
|
text-align: right;
|
|
vertical-align: top;
|
|
background: {$lightgreybackground};
|
|
color: {$bluetext};
|
|
border-right: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.diffusion-source td {
|
|
vertical-align: top;
|
|
white-space: pre-wrap;
|
|
padding-top: 1px;
|
|
padding-bottom: 1px;
|
|
padding-left: 8px;
|
|
width: 100%;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.diffusion-browse-type-form {
|
|
float: right;
|
|
}
|
|
|
|
.diffusion-blame-link,
|
|
.diffusion-rev-link {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.diffusion-blame-link {
|
|
min-width: 28px;
|
|
}
|
|
|
|
.diffusion-source th.diffusion-rev-link {
|
|
text-align: left;
|
|
min-width: 130px;
|
|
}
|
|
|
|
.diffusion-blame-link a,
|
|
.diffusion-rev-link a,
|
|
.diffusion-line-link a {
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
.diffusion-rev-link a,
|
|
.diffusion-rev-link span {
|
|
margin: 2px 8px 0;
|
|
display: inline-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: 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;
|
|
}
|