toolbar.scss 659 B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  2. // For licensing, see LICENSE.md or http://ckeditor.com/license
  3. .ck-toolbar {
  4. line-height: 1;
  5. padding: ck-spacing( 'small' );
  6. border: 1px solid ck-border-color();
  7. white-space: initial;
  8. @include ck-unselectable();
  9. @include ck-rounded-corners();
  10. &-separator {
  11. width: 1px;
  12. height: calc( 1em + 2 * #{ck-spacing( 'medium' )} );
  13. vertical-align: middle;
  14. background: ck-border-color();
  15. }
  16. &-newline {
  17. height: ck-spacing( 'small' );
  18. }
  19. // (#11) Separate toolbar items.
  20. & > * {
  21. margin-right: ck-spacing( 'small' );
  22. }
  23. & > *:last-child {
  24. margin-right: 0;
  25. }
  26. }