kai-jacobsen/kontentblocks

View on GitHub
css/sass/partials/_frontend/_admin-bar.scss

Summary

Maintainability
Test Coverage
.kb-edit-on {
  background-color: $grey-900 !important;
  a {
    color: $blue !important;

  }
}

.kb-area__empty-placeholder{
  display: none;
}

body.kb-editcontrols-show {
  .kb-area__empty{
    outline: 1px dashed $blue;
    display: block !important;
  }

  .kb-area__empty-placeholder{
    padding: 8px;
    display: block;
    text-align: center;
    cursor: pointer;
    font-size: 12px !important;
    font-family: 'Open Sans', sans-serif !important;
    outline: 1px dotted $lowgrey;
    outline-offset: -2px;
    opacity: 0.5;
    transition: all .3s ease-in;

    &:hover{
      opacity: 1;
    }
  }

  .module, .single-module, .module-merged{
    &:hover{
      outline: 1px dashed $blue;
    }
  }
}