Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/css/layout/phabricator-source-code-view.css
Show All 19 Lines | .phabricator-source-code { | ||||
background: #ffffff; | background: #ffffff; | ||||
} | } | ||||
.phabricator-source-line { | .phabricator-source-line { | ||||
background-color: {$paste.highlight}; | background-color: {$paste.highlight}; | ||||
text-align: right; | text-align: right; | ||||
border-right: 1px solid {$paste.border}; | border-right: 1px solid {$paste.border}; | ||||
color: {$sh-yellowtext}; | color: {$sh-yellowtext}; | ||||
} | |||||
/* When the user selects rows of source, don't visibly select the line | .phabricator-source-line > a::before { | ||||
numbers beside them. We use JS to strip the line numbers out when the user | /* Render the line numbers as a pseudo-element so they don't get copied. */ | ||||
copies the text. */ | content: attr(data-n); | ||||
-moz-user-select: -moz-none; | |||||
-khtml-user-select: none; | |||||
-webkit-user-select: none; | |||||
-ms-user-select: none; | |||||
user-select: none; | |||||
white-space: nowrap; | |||||
} | } | ||||
th.phabricator-source-line a, | th.phabricator-source-line a, | ||||
th.phabricator-source-line span { | th.phabricator-source-line span { | ||||
display: block; | display: block; | ||||
padding: 2px 6px 1px 12px; | padding: 2px 6px 1px 12px; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |