@import '../../../styles/core.scss';

.EmojiPicker {
  display: flex;
  flex-wrap: wrap;
  font-weight: 400;

  &-Button {
    background: none;
    border: 0;
    border-radius: 3px;
    color: get(color 'shale');
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji'; // needed for emoji; especially this one ☺️
    // min font-size of 26px to center on Chrome on Retina displays
    // https://bugs.chromium.org/p/chromium/issues/detail?id=551420
    font-size: 26px;
    height: 40px;
    margin: 5px;
    padding: 0;
    transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    width: 40px;

    &:not(:disabled):hover,
    &:not(:disabled):focus {
      background: get(color 'ivory');
      cursor: pointer;
    }

    &:not(:disabled):active {
      background: get(color 'chalk');
    }

    &:not(:disabled):focus {
      box-shadow: 0 0 0 3px rgba(147,158,174,0.25);
      outline: none;
    }

    &_none {
      background: get(color 'ivory');
      font-family: 'Proxima Nova', 'proxima-nova', Avenir, Avenir Next, sans-serif;
      font-size: 12px;
      font-weight: 600;

      &:active {
        color: #fff;
      }
    }

    &_active {
      background: get(color 'blue');
      color: #fff;
    }
  }
}
