@cls-prefix: larkmap-legend-ramp;

.@{cls-prefix} {
  width: 100%;

  &__dis-continuous {
    width: 100%;

    &__colors {
      display: flex;
      align-items: center;
      padding: 4px 0;
    }

    &__color {
      height: 10px;

      &:first-child {
        border-radius: 5px 0 0 5px;
      }

      &:last-child {
        border-radius: 0 5px 5px 0;
      }
    }

    &__labels {
      display: flex;
      align-items: center;
      width: 100%;
    }

    &__label {
      flex-basis: 0;
      flex-grow: 1;
      max-width: 100%;
      font-size: 12px;
      text-align: center;
    }
  }

  &__continuous {
    height: 10px;
    margin: 4px 0;
    border-radius: 5px;
  }

  &__continuous-labelbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
  }
}
