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

.SlateEditor.Markdown {
  a {border-bottom: 1px dotted #00f;}
  img.active {box-shadow: 0 0 0 2px blue;}
}

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

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

.SlateEditor__menu > * + * {
  margin: 0;
}

.SlateEditor__menu-button {
  font-family: 'Georgia', serif;
  color: #FFF;
  cursor: pointer;
  > span {
    display: inline-block;
    width: 2rem;
    text-align: center;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    code {
      border: none;
      background: transparent;
      color: inherit;
      padding: 0;
      font-size: 90%;
      vertical-align: top;
    }
  }
}

.SlateEditor__menu-button[data-active="false"]:hover,
.SlateEditor__menu-button[data-active="true"] {
  > span {
    color: #32cd32;
    background: rgba(0,0,0,0.5);
  }
}

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

.SlateEditor__hover-menu {
  font-size: 110%;
  padding: 1px;
  position: absolute;
  z-index: 1;
  top: -10000px;
  left: -10000px;
  margin-top: -6px;
  opacity: 0;
  background-color: #222;
  border-radius: 4px;
  transition: opacity .75s;
  background-image: linear-gradient(180deg,#464646,#151515);
}

.SlateEditor__hover-menu:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: #151515;
    border-width: 5px;
    margin-left: -5px;
}
