// Cubert view

.log-requests {
  .trace-detail div, .trace-detail pre {
    line-height: normal;
    margin: 10px 0 0 0;
  }

  .trace-detail td {
    padding: 24px 0 48px 0;
  }

  dt {
    width: 19.2%;
    float: left;
    color: $label-color;
    text-align: right;
    padding-right: 2.1%;
    margin-top: 12px;
  }

  dd {
    width: 78.7%;
    float: left;
    margin-top: 12px;
  }

  pre {
    display: block;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-all;
    word-wrap: break-word;
  }

  .showing td {
    border-bottom: none;
  }

  .showing .elipsis {
    display: none;
  }

  .usage span {
    margin-right: 5px;
  }

  .trace-detail pre {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 3px;
  }

  .request {
    //color: $link-color;
  }

  .success {
    color: $success-color;
  }

  .client-error {
    color: $warning-color;
  }

  .server-error {
    color: $error-color;
  }

  .unknown {
    color: $disabled-color;
  }
}
// Old view
$log-requests-background-color: rgba(0,0,0,0.03);

$log-requests-success-bg-color: lighten($success-color, 40%);
$log-requests-success-color: darken($success-color, 20%);

$log-requests-error-bg-color: lighten($error-color, 40%);
$log-requests-error-color: $error-color;


#log-requests-container {
  .log-requests-transaction {
    margin-top: 0.5em;
    background-color: $log-requests-background-color;

    &.success { background-color: $log-requests-success-bg-color; }
    &.error { background-color: $log-requests-error-bg-color; }
  }

  .log-requests-transaction {
    padding: 5px 0px;
  }

  ul {
    margin-left: 2em;
   }

  th {
    vertical-align: top;
    text-align: right;
  }

  td {
    &.success { color: $log-requests-success-color; }
    &.error { color: $log-requests-error-color; }
    overflow: auto;
    max-width: 621px;
  }
}
