/*!
 * 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.
 */

.team {
  svg text {
    fill: $headers-color;
    text-anchor: middle;
    font-size: 71px;
  }

  svg span {
    font-size: 40px;
  }

  svg p > span {
    text-align: center;
    display: block;
  }

  .story-name {
    font-size: 40px;
    line-height: 55px;
    max-height: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
  }

  .story-estimate {
    padding-top: 20px;
    font-size: 30px;
  }

  .story-points {
    margin: 0px;
    padding: 0px;
    font-size: 200px;
    line-height: 180px;
  }

  .dimmed path {
    fill-opacity: 0.3;
    stroke-opacity: 0.3;
  }

  .dimmed path:hover {
    fill-opacity: 1;
    stroke-opacity: 1;
    cursor: pointer;
  }
}

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

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

  .progress__bar {
    height: 20px;
  }

  .next-sprint {
    .velocity-line {
      height: 40px;
    }
  }
}

.next-sprint {
  font-size: 1.5rem;

  .backlog-status {
    position: relative;
  }

  .velocity-line {
    background-color: invert($background-color);
    height: 33px;
    left: 70%;
    position: absolute;
    top: -10px;
    width: 1px;
  }

  .velocity-info {
    color: $dark-grey;
    font-size: $level-5;
    margin: 15px 15px 0 15px;
    text-align: right;
  }

  .backlog-bar {
    background-color: $neutral;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    width: 100%;
  }

  .backlog__bar {
    height: 10px;
    float: left;
  }

  .backlog__bar-success {
    background-color: $green;
  }
}
