client/src/components/SlateEditor/SlateEditor.scss
author ymh <ymh.work@gmail.com>
Fri, 16 Nov 2018 11:19:13 +0100
changeset 173 0e6703cd0968
parent 168 ea92f4fe783d
permissions -rw-r--r--
Correct the Note editor. Split the source file in sub components. Correct a timing problem on the editor checkbox.

@import 'bootstrap/scss/functions';
@import 'bootstrap/scss/variables';

.toolbar-menu {
      align-items: center;
  .button {
    cursor: pointer;
  }
  .material-icons {
    font-size: 1.3rem;
  }
//   .button[data-active="true"] {
//   }
  > *:last-child {
    margin-left: auto;
    // .checkbox {
    //     display: inline-block;
    //     margin-right: 10px;
    // }
  }
}

#btn-editor {
    padding: .1rem .2rem .1rem .2rem;
    font-size: .8rem;
  }

.hovering-menu {
    position: absolute;
    z-index: 1;
    top: -10000px;
    left: -10000px;
    margin-top: -20px;
    opacity: 0;
    transition: opacity .75s;
}

.categories-tooltip {
    background-color: #efefef;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 5px;
    .buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        button {
            background-color: yellow;
            border: 1px solid #ccc;
        }
        button:not(:last-child) {
            margin-right: 10px;
        }
    }
    .form-group:last-child {
        margin-bottom: 0;
    }
}