.SlateEditor {
  padding: 1rem;
  border: 1px solid $medium-gray;
  border-radius: 8px;
}

.SlateEditor.Markdown {
  a {border-bottom: 1px dotted #00f;}
}

.SlateEditor > * > * + * {
  margin-top: 1em;
}

.SlateEditor__menu > * {
  display: inline-block;
}

.SlateEditor__menu > * + * {
  margin-left: 4px;
}

.SlateEditor__menu-button {
  font-family: 'Georgia', serif;
  color: #FFF;
  cursor: pointer;
  > span {
    display: inline-block;
    width: 1.5rem;
    text-align: center;
    background: #555;
    border-radius: 2px;
    code {
      border: none;
      background: transparent;
      color: inherit;
    }
  }
}

.SlateEditor__menu-button[data-active="false"] {
  > span:hover {
    color: #333;
    background: #CCC;
  }
}
.SlateEditor__menu-button[data-active="true"] {
  > span {
    color: #333;
    background: #EEE;
  }
}

/*
.toolbar-menu {
  padding: 1px 0 17px 18px;
  margin: 0 -20px;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}
*/

.SlateEditor__hover-menu {
  font-size: 90%;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: -10000px;
  left: -10000px;
  margin-top: -6px;
  opacity: 0;
  background-color: #222;
  border-radius: 4px;
  transition: opacity .75s;
}
