remirror/remirror

View on GitHub
packages/remirror__styles/extension-emoji.css

Summary

Maintainability
Test Coverage
/**
 * Styles extracted from: packages/remirror__theme/src/extension-emoji-theme.ts
 */
.remirror-emoji-image {
  object-fit: contain;
  width: 1.375em;
  height: 1.375em;
  vertical-align: bottom;
}

.remirror-emoji-wrapper {
  text-indent: -99999px;
}

.remirror-emoji-popup-item {
  padding: 8px;
  text-overflow: ellipsis;
  max-width: 250px;
  width: 250px;
  overflow: hidden;
  white-space: nowrap;
  color: white;
}

.remirror-emoji-popup-hovered {
  background-color: var(--rmr-hue-gray-2);
}

.remirror-emoji-popup-highlight {
  background-color: var(--rmr-hue-gray-3);
}

.remirror-emoji-popup-wrapper {
  position: absolute;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  padding-top: 8px;
  padding-bottom: 8px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: hsla(205, 70%, 15%, 0.25) 0 4px 8px, hsla(205, 70%, 15%, 0.31) 0px 0px 1px;
  background-color: white;
  z-index: 10;
  max-height: 250px;
  overflow-y: scroll;
}

.remirror-emoji-popup-name {
  color: rgb(121, 129, 134);
}

.remirror-emoji-popup-char {
  font-size: 1.25em;
  padding-right: 5px;
}