/*
 * Copyright (c) 2008-2016 Haulmont.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

@mixin cuba-log-control {

  .v-label.c-log-content,
  .v-textarea.c-exception-dialog-log-content {
    line-height: $v-font-size;
    font-family: monospace;
    border-radius: 0;
  }

  .v-label {
    span.c-log-lowered-attention {
      opacity: .5;
    }

    span.c-log-level {
      font-weight: bold;
    }

    span.c-log-level-DEBUG {
      color: #000000;
    }

    span.c-log-level-INFO {
      color: blue;
    }

    span.c-log-level-ERROR {
      color: red;
    }

    span.c-log-level-SEVERE,
    span.c-log-level-WARNING,
    span.c-log-level-WARN {
      color: orange;
    }

    span.c-log-level-TRACE {
      color: #c0c0c0;
    }

    span.c-log-level-FATAL {
      color: red;
    }
  }
}