/**
 *
 * @ai-apps/angular v2.152.0 | _hotspot-text-style-tab.scss
 *
 * Copyright 2014, 2023 IBM
 *
 * 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.
 */


@import '../../../globals/vars';
@import '../mixins';

$border-radius: 5px;

.#{$iot-prefix}--hotspot-text-style-tab {
  &__form {
    @include vertical-form();
    .#{$prefix}--number input[type='number'] {
      padding-right: 5rem;
    }
  }

  &__text-style {
    @include content-switcher-border-radius($border-radius, left, right);
  }

  html[dir='rtl'] &__text-style {
    @include content-switcher-border-radius($border-radius, right, left);
  }

  &__dropdown {
    width: 100%;
  }

  &__row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: $spacing-06;

    .#{$prefix}--dropdown__wrapper.#{$prefix}--list-box__wrapper {
      width: 100%;
    }

    .#{$prefix}--form-item {
      min-width: 10rem;
    }
  }
}

.#{$iot-prefix}--hotspot-editor--text-info-message {
  @include info-message();
}

.#{$iot-prefix}--hotspot-text-style-tab__delete-button-container {
  display: flex;
  justify-content: flex-end;
}
