Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/css/application/differential/changeset-view.css
Show First 20 Lines • Show All 170 Lines • ▼ Show 20 Lines | .differential-diff td.n { | ||||
text-align: right; | text-align: right; | ||||
padding: 1px 6px 1px 0; | padding: 1px 6px 1px 0; | ||||
vertical-align: top; | vertical-align: top; | ||||
background: {$lightbluebackground}; | background: {$lightbluebackground}; | ||||
color: {$bluetext}; | color: {$bluetext}; | ||||
cursor: pointer; | cursor: pointer; | ||||
border-right: 1px solid {$thinblueborder}; | border-right: 1px solid {$thinblueborder}; | ||||
overflow: hidden; | overflow: hidden; | ||||
-moz-user-select: -moz-none; | |||||
-khtml-user-select: none; | |||||
-webkit-user-select: none; | |||||
-ms-user-select: none; | |||||
user-select: none; | |||||
} | } | ||||
.differential-diff td.n::before { | .differential-diff td.n::before { | ||||
content: attr(data-n); | content: attr(data-n); | ||||
} | } | ||||
.differential-diff td.cov { | .differential-diff td.cov { | ||||
padding: 0; | padding: 0; | ||||
▲ Show 20 Lines • Show All 232 Lines • ▼ Show 20 Lines | |||||
.diff-banner-has-unsubmitted, | .diff-banner-has-unsubmitted, | ||||
.diff-banner-has-draft-done { | .diff-banner-has-draft-done { | ||||
background: {$gentle.highlight}; | background: {$gentle.highlight}; | ||||
} | } | ||||
.diff-banner-buttons { | .diff-banner-buttons { | ||||
float: right; | float: right; | ||||
} | } | ||||
/* In Firefox, making the table unselectable and then making cells selectable | |||||
does not work: the cells remain unselectable. Narrowly mark the cells as | |||||
unselectable. */ | |||||
.differential-diff.copy-l > tbody > tr > td, | |||||
.differential-diff.copy-r > tbody > tr > td { | |||||
-moz-user-select: -moz-none; | |||||
-khtml-user-select: none; | |||||
-ms-user-select: none; | |||||
-webkit-user-select: none; | |||||
user-select: none; | |||||
} | |||||
.differential-diff.copy-l > tbody > tr > td, | |||||
.differential-diff.copy-r > tbody > tr > td { | |||||
opacity: 0.5; | |||||
} | |||||
.differential-diff.copy-l > tbody > tr > td:nth-child(2) { | |||||
-webkit-user-select: auto; | |||||
user-select: auto; | |||||
opacity: 1; | |||||
} | |||||
.differential-diff.copy-r > tbody > tr > td:nth-child(5) { | |||||
-webkit-user-select: auto; | |||||
user-select: auto; | |||||
opacity: 1; | |||||
} |