Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/css/application/differential/changeset-view.css
| Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | .prose-diff span.new { | ||||
| padding: 0 2px; | padding: 0 2px; | ||||
| } | } | ||||
| .prose-diff span.old, | .prose-diff span.old, | ||||
| .prose-diff span.new { | .prose-diff span.new { | ||||
| color: {$darkgreytext}; | color: {$darkgreytext}; | ||||
| } | } | ||||
| .differential-changeset-immutable .differential-diff th { | .differential-changeset-immutable .differential-diff td { | ||||
| cursor: auto; | cursor: auto; | ||||
| } | } | ||||
| .differential-diff td.old { | .differential-diff td.old { | ||||
| background: {$old-background}; | background: {$old-background}; | ||||
| } | } | ||||
| .differential-diff td.new { | .differential-diff td.new { | ||||
| ▲ Show 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | .differential-diff td.n { | ||||
| border-right: 1px solid {$thinblueborder}; | border-right: 1px solid {$thinblueborder}; | ||||
| overflow: hidden; | overflow: hidden; | ||||
| } | } | ||||
| .differential-diff td.n::before { | .differential-diff td.n::before { | ||||
| content: attr(data-n); | content: attr(data-n); | ||||
| } | } | ||||
| .differential-diff td.show-context-line.n { | |||||
| cursor: auto; | |||||
| } | |||||
| .differential-diff td.cov { | .differential-diff td.cov { | ||||
| padding: 0; | padding: 0; | ||||
| } | } | ||||
| td.cov-U { | td.cov-U { | ||||
| background: #dd8866; | background: #dd8866; | ||||
| } | } | ||||
| Show All 24 Lines | |||||
| } | } | ||||
| .differential-diff td.source-cov-N, | .differential-diff td.source-cov-N, | ||||
| .differential-diff td.source-cov-N span.bright { | .differential-diff td.source-cov-N span.bright { | ||||
| background: #f3f6ff; | background: #f3f6ff; | ||||
| } | } | ||||
| .differential-diff td.show-more, | .differential-diff td.show-more, | ||||
| .differential-diff th.show-context-line, | .differential-diff td.show-context-line, | ||||
| .differential-diff td.show-context, | .differential-diff td.show-context, | ||||
| .differential-diff td.differential-shield { | .differential-diff td.differential-shield { | ||||
| background: {$lightbluebackground}; | background: {$lightbluebackground}; | ||||
| padding: 12px 0; | padding: 12px 0; | ||||
| border-top: 1px solid {$thinblueborder}; | border-top: 1px solid {$thinblueborder}; | ||||
| border-bottom: 1px solid {$thinblueborder}; | border-bottom: 1px solid {$thinblueborder}; | ||||
| } | } | ||||
| .device .differential-diff td.show-more, | .device .differential-diff td.show-more, | ||||
| .device .differential-diff th.show-context-line, | .device .differential-diff td.show-context-line, | ||||
| .device .differential-diff td.show-context, | .device .differential-diff td.show-context, | ||||
| .device .differential-diff td.differential-shield { | .device .differential-diff td.differential-shield { | ||||
| padding: 6px 0; | padding: 6px 0; | ||||
| } | } | ||||
| .differential-diff td.show-more, | .differential-diff td.show-more, | ||||
| .differential-diff td.differential-shield { | .differential-diff td.differential-shield { | ||||
| font: {$basefont}; | font: {$basefont}; | ||||
| font-size: {$smallerfontsize}; | font-size: {$smallerfontsize}; | ||||
| white-space: normal; | white-space: normal; | ||||
| } | } | ||||
| .differential-diff td.show-more { | .differential-diff td.show-more { | ||||
| text-align: center; | text-align: center; | ||||
| color: {$bluetext}; | color: {$bluetext}; | ||||
| } | } | ||||
| .differential-diff th.show-context-line { | .differential-diff td.show-context-line { | ||||
| padding-right: 6px; | padding-right: 6px; | ||||
| } | } | ||||
| .differential-diff td.show-context-line.left-context { | |||||
| border-right: none; | |||||
| } | |||||
| .differential-diff td.show-context { | .differential-diff td.show-context { | ||||
| padding-left: 14px; | padding-left: 14px; | ||||
| } | } | ||||
| .differential-diff td.differential-shield { | .differential-diff td.differential-shield { | ||||
| text-align: center; | text-align: center; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| /* In Firefox, making the table unselectable and then making cells selectable | /* In Firefox, making the table unselectable and then making cells selectable | ||||
| does not work: the cells remain unselectable. Narrowly mark the cells as | does not work: the cells remain unselectable. Narrowly mark the cells as | ||||
| unselectable. */ | unselectable. */ | ||||
| .differential-diff.copy-l > tbody > tr > td, | .differential-diff.copy-l > tbody > tr > td, | ||||
| .differential-diff.copy-r > tbody > tr > td { | .differential-diff.copy-r > tbody > tr > td { | ||||
| -moz-user-select: -moz-none; | -moz-user-select: none; | ||||
| -khtml-user-select: none; | |||||
| -ms-user-select: none; | -ms-user-select: none; | ||||
| -webkit-user-select: none; | -webkit-user-select: none; | ||||
| user-select: none; | user-select: none; | ||||
| } | } | ||||
| .differential-diff.copy-l > tbody > tr > td, | .differential-diff.copy-l > tbody > tr > td, | ||||
| .differential-diff.copy-r > tbody > tr > td { | .differential-diff.copy-r > tbody > tr > td { | ||||
| opacity: 0.5; | opacity: 0.5; | ||||
| } | } | ||||
| .differential-diff.copy-l > tbody > tr > td:nth-child(2) { | .differential-diff.copy-l > tbody > tr > td:nth-child(2) { | ||||
| -moz-user-select: auto; | |||||
| -ms-user-select: auto; | |||||
| -webkit-user-select: auto; | -webkit-user-select: auto; | ||||
| user-select: auto; | user-select: auto; | ||||
| opacity: 1; | opacity: 1; | ||||
| } | } | ||||
| .differential-diff.copy-l > tbody > tr > td.show-more:nth-child(2) { | |||||
| -moz-user-select: none; | |||||
| -ms-user-select: none; | |||||
| -webkit-user-select: none; | |||||
| user-select: none; | |||||
| opacity: 0.25; | |||||
| } | |||||
| .differential-diff.copy-r > tbody > tr > td:nth-child(5) { | .differential-diff.copy-r > tbody > tr > td:nth-child(5) { | ||||
| -moz-user-select: auto; | |||||
| -ms-user-select: auto; | |||||
| -webkit-user-select: auto; | -webkit-user-select: auto; | ||||
| user-select: auto; | user-select: auto; | ||||
| opacity: 1; | opacity: 1; | ||||
| } | } | ||||