RSS Git Download  Clone
Raw Blame History
#p3x-gitlist-file-codemirror-exceeded {
  display: none;
  margin-bottom: @padding-base-horizontal;
}


.p3x-gitlist-light {

}

.p3x-gitlist-dark {
  .source-view {


    .CodeMirror {
      border: 1px solid @navbar-default-bg;
    }

    .source-diff {
      border: 1px solid @navbar-default-bg;

      pre {
        color: @navbar-inverse-color;
        background-color: @navbar-inverse-bg;
        &:hover {
          filter: brightness(1.1);
        }
      }
      table {
      }
      table td {
        background-color: @navbar-inverse-bg;
      }
      .new {
        background-color: fade(@alert-success-bg, 80%);
        color: darken(@alert-success-text, 50%);
      }
      .old {
        background-color: fade(@alert-danger-bg, 80%);
        color: darken(@alert-danger-text, 50%);
      }
      .chunk {
        background-color: @navbar-inverse-bg;
        color: @navbar-inverse-color;
      }
      .lineNo {
        background-color: @navbar-inverse-bg !important;
        color: @navbar-default-color !important;
        border-right: 1px solid @navbar-default-border !important;;
      }
      .lineNo a {
        color: @navbar-inverse-color !important;
      }
    }

    #sourcecode {
    }

    .image-blob {
    }
  }
}

.source-view {
  width: 100%;
  display: block;


  .source-header {
    .meta {
      font-weight: bold;
      font-size: 125%;
      padding-top: 5px;
      padding-bottom: 5px;
      padding-right: 5px;
      width: 100%;
      text-align: left;
    }
  }

  a, a:hover {
    text-decoration: none !important;
  }

  .CodeMirror {
    border: 1px solid @gray-lighter;
  }

  .source-diff {

    border: 1px solid @gray-lighter;


    max-width: 100%;
    min-width: 100%;
    overflow-x: auto;
    pre {
      margin: 0;
      padding: 0 0 0 6px;
      border-radius: 0;
      overflow: hidden;
      border: 1px solid transparent;

      &:hover {
        filter: brightness(0.9);
      }
    }
    table {
    }
    table td {
      padding: 0;
    }
    .new {
      background-color: @alert-success-bg;
      color: @alert-success-text;
    }
    .old {
      background-color: @alert-danger-bg;
      color: @alert-danger-text;
    }
    .chunk {
      background-color: @alert-info-bg;
      color: @alert-info-text;
    }
    .lineNo {
      background-color: @navbar-default-bg !important;
      color: @navbar-default-color !important;
      padding: 0 6px;
      text-align: right;
      border-right: 1px solid @navbar-default-border !important;;
      font-family: monospace;
    }
    .lineNo a {
      color: @navbar-default-color !important;
    }
  }

  #sourcecode {

    width: 100%;
  }

  .image-blob {
    padding: 10px;
    max-width: 100%;
  }
}