@include export-module('co-level-indicator-layout') {
  .co-level-indicator {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.25);
    width: 50px;
    height: 50px;
    > div > div {
      width: 10px;
      height: 10px;
      flex-shrink: 0;
      flex-grow: 0;
      margin-right: 2px;
    }
    &.small {
      width: 30px;
      height: 20px;
      > div > div {
        width: 5px;
        height: 5px;
      }
    }
    > div {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
    }

    /* square graphics for level low */
    > div.low > div.square-1 {
      background-color: $cc-color-input-indicator-mandatory;
    }

    > div.low > div.square-2,
    > div.low > div.square-3 {
      background-color: #DAD9D9;
    }

    /* square graphics for level medium */
    > div.medium > div.square-1,
    > div.medium > div.square-2 {
      background-color: #DF7C2A;
    }

    > div.medium > div.square-3 {
      background-color: #DAD9D9;
    }

    /* square graphics for level high */
    > div.high > div.square-1,
    > div.high > div.square-2,
    > div.high > div.square-3 {
      background-color: $cc-color-valid;
    }
  }
}

