@use 'global/common' as global;

/* ------------------------------
  アイコンピッカー
------------------------------- */

.acms-icon-picker-preview {
  box-sizing: border-box;
  display: inline-block;
  width: 50px;
  padding: 6px 8px;
  margin-right: 0;
  line-height: 1;
  vertical-align: middle;
  color: global.$acms-color-black-dark;
  text-align: center;
  text-decoration: none;
  background-color: global.$acms-color-system-gray10;
  border: 1px solid rgb(0 0 0 / 20%);
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.acms-icon-picker-list-inner {
  max-height: 200px;
  overflow-y: scroll;
}

.acms-icon-picker-list {
  padding: 0;
  margin: 0;
  white-space: normal;
  list-style: none;

  li {
    display: inline-block;
    margin: 0;
  }
}

.acms-icon-picker-btn {
  padding: 8px;
  color: global.$acms-color-black-dark;
  cursor: pointer;
  background-color: global.$acms-color-white;
  border: 1px solid global.$acms-color-white;
  border-radius: 4px;
  transition: background-color linear 0.15s;

  @include global.font-size(18);

  &:hover {
    text-decoration: none;
    background: global.$acms-color-info20;
  }
}
