8
0

toolbar.scss 717 B

1234567891011121314151617181920212223242526272829303132333435
  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. display: inline-block;
  15. background: ck-border-color();
  16. }
  17. &-newline {
  18. display: block;
  19. clear: left;
  20. height: ck-spacing( 'small' );
  21. }
  22. // (#11) Separate toolbar items.
  23. & > * {
  24. margin-right: ck-spacing( 'small' );
  25. }
  26. & > *:last-child {
  27. margin-right: 0;
  28. }
  29. }