/**
 *
 * This file may have been modified by Bytedance Inc. (“Bytedance Inc.'s Modifications”). 
 * All Bytedance Inc.'s Modifications are Copyright (year) Bytedance Inc..  
 * 
 * This source code is licensed under the Apache license.
 * See LICENSE file in the project root for license information.
 *
 */
@tooltip-prefix-cls: ~'@{ant-prefix}-tooltip';

// padding
.@{tooltip-prefix-cls}:not(.sp-null) {
  font-size: 12px;
  line-height: 16px;
  .@{tooltip-prefix-cls}-inner {
    padding: 8px;
    a {
      color: @tooltip-link;
      &:hover {
        color: @tooltip-link-hover;
      }
      &:active {
        color: @tooltip-link;
      }
    }
  }
}
// 箭头圆角
.@{tooltip-prefix-cls} {
  &-placement-topLeft,
  &-placement-top,
  &-placement-topRight {
    .@{tooltip-prefix-cls}-arrow-content {
      border-radius: 0 0 1px 0;
    }
  }

  &-placement-rightTop,
  &-placement-right,
  &-placement-rightBottom {
    .@{tooltip-prefix-cls}-arrow-content {
      border-radius: 0 0 0 1px;
    }
  }

  &-placement-bottomLeft,
  &-placement-bottom,
  &-placement-bottomRight {
    .@{tooltip-prefix-cls}-arrow-content {
      border-radius: 1px 0 0 0;
    }
  }

  &-placement-leftTop,
  &-placement-left,
  &-placement-leftBottom {
    .@{tooltip-prefix-cls}-arrow-content {
      border-radius: 0 1px 0 0;
    }
  }
}
