// control

@mixin create-point-level($level, $color) {
  &.point-#{$level} {
    color: $color;

    .sub-control-item-dot {
      background: $color;
    }
  }
}

.sub-control-item {
  @include create-point-level('level_0', $point-color-level-0);
  @include create-point-level('level_1', $point-color-level-1);
  @include create-point-level('level_2', $point-color-level-2);
  @include create-point-level('level_3', $point-color-level-3);
  @include create-point-level('level_4', $point-color-level-4);
  @include create-point-level('level_5', $point-color-level-5);
  @include create-point-level('risk_0', $risk-color-level-0);
  @include create-point-level('risk_1', $risk-color-level-1);
  @include create-point-level('risk_2', $risk-color-level-2);
  @include create-point-level('risk_3', $risk-color-level-3);
  @include create-point-level('danger_1', $danger-color-level-1);
  @include create-point-level('danger_2', $danger-color-level-2);
  @include create-point-level('taskWork_5', $taskwork-color-level-1);
  @include create-point-level('taskWork_6', $taskwork-color-level-2);
  @include create-point-level('impEqu_01', $equ-color-type-1);
  @include create-point-level('impEqu_02', $equ-color-type-2);
  @include create-point-level('impEqu_03', $equ-color-type-3);
  @include create-point-level('dynamicRingData_01', $dynamic-color-type-1);
  @include create-point-level('dynamicRingData_02', $dynamic-color-type-2);
}
