[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/webroot/rsrc/css/layout/ -> phabricator-source-code-view.css (source)

   1  /**
   2   * @provides phabricator-source-code-view-css
   3   */
   4  
   5  .phabricator-source-code-container {
   6    background: #ffffff;
   7    overflow-x: auto;
   8    overflow-y: hidden;
   9  }
  10  
  11  .phui-object-item .phabricator-source-code-container {
  12    margin-left: 8px;
  13    border: 1px solid #d7d7d7;
  14  }
  15  
  16  .phabricator-source-code-view tr:first-child * {
  17    padding-top: 8px;
  18  }
  19  
  20  .phabricator-source-code-view tr:last-child * {
  21    padding-bottom: 8px;
  22  }
  23  
  24  .phabricator-source-code {
  25    white-space: pre-wrap;
  26    padding: 2px 8px 1px;
  27    width: 100%;
  28  }
  29  
  30  .phabricator-source-line {
  31    text-align: right;
  32    padding: 2px 6px 1px 12px;
  33  
  34    border-right: 1px solid #dbdbdb;
  35    font-weight: bold;
  36    color: #555555;
  37  
  38    /* When the user selects rows of source, don't visibly select the line
  39       numbers beside them. We use JS to strip the line numbers out when the user
  40       copies the text. */
  41    -moz-user-select: -moz-none;
  42    -khtml-user-select: none;
  43    -webkit-user-select: none;
  44    -ms-user-select: none;
  45    user-select: none;
  46  }
  47  
  48  .phabricator-source-highlight {
  49    background: #ff0;
  50  }
  51  
  52  .phabricator-source-code-summary {
  53    padding-bottom: 8px;
  54  }
  55  
  56  /* If a Paste has enormously long lines, truncate them in the summary on the
  57     list page. They'll be fully visible on the Paste itself. */
  58  .phabricator-source-code-summary .phabricator-source-code-container {
  59    overflow-x: hidden;
  60  }
  61  
  62  .phabricator-source-code-summary .phabricator-source-code {
  63    white-space: nowrap;
  64  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1