@import (reference) '../theme/variables/antdVariables.less';
@floating-button-prefix-cls: ~'@{ant-prefix}-floating-button';

.ued-floating-button {
  position: fixed;
  cursor: pointer;
  width: fit-content;
  z-index: 999;

  .@{floating-button-prefix-cls} {

    &-btn-text {
      font-size: 12px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    &-floatgroup-square {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-color: #fff;
      border-radius: 12px;
      padding: 2px 0;

      &-item {
        display: flex;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid #F2F3F5;

        &:last-child {
          border-bottom: none;
        }
      }
    }
  }
  .@{ant-prefix}-badge-count {
    height: 18px;
    min-width: 18px;
    line-height: 18px;
  }
}

.@{floating-button-prefix-cls}-popover {
  .@{ant-prefix}-popover-arrow {
    display: none
  }
  
  .@{ant-prefix}-popover-inner {
   background-color: transparent;
   box-shadow: none;
  }

  .@{ant-prefix}-popover-inner-content {
    padding: 0;
  }
}