client/src/scss/components/_SlateEditor.scss
author ymh <ymh.work@gmail.com>
Wed, 05 Dec 2018 19:00:08 +0100
changeset 193 99e342f9fb0c
parent 191 3f71ad81a5a9
permissions -rw-r--r--
Display protocol graphically

@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;
    }
}