/*!
 * Copyright 2017 Banco Bilbao Vizcaya Argentaria, S.A.
 *
 * 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.
 */

.bugs {

  .bugs-bar {
    background-color: #8a8a8a;
    border-radius: 10px;
    display: flex;
    height: 10px;
    overflow: hidden;
    width: 100%;
  }

  .bugs-bar-minor {
    background-color: #FEB10F;
  }
  .bugs-bar-medium {
    background-color: #FA830C;
  }
  .bugs-bar-major {
    background-color: #F35500;
  }
  .bugs-bar-critical {
    background-color: #E80B0B;
  }

  ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
    width: 100%;

    li {
      display: block;
      line-height: 1.3em;
      font-size: 1.3em;
      text-align: center;
      width: 100%;

      .bug-number {
        display: block;
        font-size: 1.5em;
      }
    }
  }

}

@media all and (min-width: $l) {
  .bugs{
    .bug-number {
        font-size:  $level-2;
      }

    ul {
      li {
        font-size : $level-3;
      }
    }
  }
}

@media all and (min-width: $xxl) {
  .bugs{
    .bugs-bar {
      height: 20px;
    }
  }
}
