Path: blob/master/webroot/rsrc/css/layout/phabricator-source-code-view.css
12241 views
/**1* @provides phabricator-source-code-view-css2*/34.phabricator-source-code-container {5overflow-x: auto;6overflow-y: hidden;7border: 1px solid {$paste.border};8}910.phui-oi .phabricator-source-code-container {11margin-left: 8px;12}1314.phabricator-source-code {15white-space: pre-wrap;16padding: 2px 8px 1px;17width: 100%;18background: #ffffff;19}2021.phabricator-source-line {22background-color: {$paste.highlight};23text-align: right;24border-right: 1px solid {$paste.border};25color: {$sh-yellowtext};26white-space: nowrap;27}2829.phabricator-source-line > a::before {30/* Render the line numbers as a pseudo-element so they don't get copied. */31content: attr(data-n);32}3334th.phabricator-source-line a,35th.phabricator-source-line span {36display: block;37padding: 2px 6px 1px 12px;38}3940th.phabricator-source-line a {41color: {$darkbluetext};42}4344th.phabricator-source-line a:hover {45background: {$paste.border};46text-decoration: none;47}4849.phabricator-source-coverage-highlight .phabricator-source-code,50.phabricator-source-highlight .phabricator-source-code {51background: {$paste.highlight};52}5354.phabricator-source-coverage-highlight .phabricator-source-line,55.phabricator-source-highlight .phabricator-source-line {56background: {$paste.border};57}5859.phabricator-source-code-summary {60padding-bottom: 8px;61}6263/* If a Paste has enormously long lines, truncate them in the summary on the64list page. They'll be fully visible on the Paste itself. */65.phabricator-source-code-summary .phabricator-source-code-container {66overflow-x: hidden;67}6869.phabricator-source-code-summary .phabricator-source-code {70white-space: nowrap;71}727374.phabricator-source-blame-skip,75.phabricator-source-blame-info {76-moz-user-select: -moz-none;77-khtml-user-select: none;78-webkit-user-select: none;79-ms-user-select: none;80user-select: none;81}8283.phabricator-source-blame-skip {84min-width: 28px;85border-right: 1px solid {$thinblueborder};86}8788.phabricator-source-blame-info {89white-space: nowrap;90min-width: 130px;91border-right: 1px solid {$paste.border};92padding-right: 8px;9394vertical-align: middle;95color: #ffffff;96}9798.phabricator-source-blame-info a {99color: {$darkbluetext};100text-shadow: 1px 1px rgba(0, 0, 0, 0.05);101}102103.phabricator-source-blame-skip a {104/* Give the user a larger click target. */105display: block;106padding: 2px 8px;107}108109.phabricator-source-blame-skip a .phui-icon-view {110color: {$darkbluetext};111}112113.device-desktop .phabricator-source-blame-skip a:hover {114background: {$bluebackground};115}116117.phabricator-source-blame-author {118display: inline-block;119vertical-align: middle;120padding: 0;121margin: 0 6px 0 8px;122width: 16px;123height: 16px;124background-size: 100% 100%;125background-repeat: no-repeat;126}127128th.phabricator-source-coverage {129padding: 0 8px;130border-left: 1px solid {$thinblueborder};131background: {$lightgreybackground};132cursor: w-resize;133}134135136