src/components/SignatureStylePopup/SignatureStylePopup.scss
@import '../../constants/styles';
@import '../../constants/overlay';
@import '../../constants/tabs.scss';

.add-btn {
  border-radius: 4px;
  border: 1px solid var(--primary-button);
  color: var(--ribbon-active-color);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  &.disabled {
    border: 1px solid var(--disabled-text);
    color: var(--disabled-text);
    cursor: auto;
  }

  @include mobile {
    height: 40px;
    width: 90%;
    margin: 0;
  }

  &.signature-row-content .btn-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 130px;
  }
}

.signature-row {
  display: flex;
  flex-direction: row;
  height: 26px;
  justify-content: space-between;

  @include mobile {
    justify-content: center;
  }

  .icon-button {
    @include button-reset;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    border-radius: 4px;
    cursor: pointer;

    &:hover {
      background: var(--tools-overlay-button-hover);
    }
  }
}

.signature-style-popup {
  width: 100%;
  padding-inline-start: 8px;
  padding-inline-end: 4px;
  max-height: 300px;
  overflow-y: scroll;

  @extend %tab-panel;

  .tab-list {
    font-size: 14px; // hack for extra area in the tab list. 13px looks bad.
    margin: 0px 0px 12px 0px;

    .tab-options-button {
      @include button-reset;
    }
  }

  @extend %tab-list;

  @include mobile {
    width: auto;
    padding: 0;
    margin-top: 12px;
    height: 236px;
  }

  .signature-row {
    margin-bottom: 12px;

    @include mobile {
      margin-bottom: 16px;
    }
  }

  .add-btn {
    margin-bottom: 8px;
    width: 100%;
    margin-inline-end: 0px;

    @include mobile {
      margin: 0;
      margin-top: 32px;
    }
  }

  @include tab-border-defaults;
}
