@import "variables.less";
@import "mixins.less";

.br-theme-bars-horizontal {

  .br-widget {
    width: 120px;
    white-space: nowrap;

    a {
      display: block;
      width: 120px;
      height: 5px;
      background-color: lighten(@orange-color, 25%);
      margin: 1px;

      &.br-active,
      &.br-selected {
        background-color: @orange-color;
      }
    }

    .br-current-rating {
      width: 120px;
      font-size: 18px;
      font-weight: 600;
      line-height: 2;
      text-align: center;
      color: @orange-color;
    }
  }

  .br-readonly {
    a {
      cursor: default;

      &.br-active, &.br-selected {
        background-color: lighten(@orange-color, 10%);
      }
    }

    .br-current-rating {
      color: lighten(@orange-color, 10%);
    }
  }

}

@media print {
  .br-theme-bars-horizontal {

    .br-widget {
      a {
        border: 1px solid lighten(black, 70%);
        background: white;
        .box-sizing(border-box);

        &.br-active,
        &.br-selected {
          border: 1px solid black;
          background: white;
        }
      }

      .br-current-rating {
        color: black;
      }
    }

  }
}
