.editable-base {
  padding: 20px;

  &.focused {
    background: aliceblue;
  }
}

.toolbar-base {
  min-height: 40px;
  border: 1px solid lightgray;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

  .editing-user {
    width: 30px;
    text-align: center;
    margin: 3px;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    font-weight: bold;
  }

  .editing-msg {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    padding: 10px;
    font-size: 0.9em;
  }

  .toolbar-button {
    height: calc(100% - 6px);
    min-width: 30px;
    min-height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3px;

    &:hover {
      background: lightgrey;
      cursor: pointer;
    }
  }

  .toolbar-sep {
    height: 100%;
    min-height: 40px;
    width: 1px;
    border: 1px solid lightgrey;
    margin: 0 5px;
  }
}

.remote-cursors-container {
  padding-left: 20px;

  .remote-cursor {
    min-height: 20px;
    width: 3px;
    position: fixed;
  }
}

.container.dark {
  .editable-base.focused {
    background: #404040 !important;
  }

  .toolbar-base .toolbar-button:hover {
    background: #404040;
  }
}
