@import (reference) '../../../IconButton.less';

.ListManager-edit {
  display: inline-block;
}

.ListManager-widget {
  background: var(--color-white);
  border: solid 1px var(--color-gray3);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  position: absolute;
  z-index: 8;

  .Widget-title {
    position: relative;
  }

  .Widget-close {
    .IconButton;

    position: absolute;
    right: var(--gap-xs);
    top: var(--gap-xs);
    z-index: 10;

    --IconButton-name: 'close';
  }

  .Widget-container {
    margin: 0 var(--gap-l);
  }

  .Widget-controls {
    position: initial;

    button {
      white-space: nowrap;
    }
  }
}
