| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- // For licensing, see LICENSE.md or http://ckeditor.com/license
- .ck-toolbar {
- line-height: 1;
- padding: ck-spacing( 'small' );
- border: 1px solid ck-border-color();
- // Allow wrapping toolbar items to the new line.
- white-space: initial;
- &_floating {
- // Disallow wrapping toolbar items to the new line when the toolbar is floating,
- // resulting in an toolbar shapes when the horizontal space is limited.
- // https://github.com/ckeditor/ckeditor5-theme-lark/issues/93
- white-space: nowrap;
- }
- @include ck-unselectable();
- @include ck-rounded-corners();
- &__separator {
- width: 1px;
- height: calc( 1em + 2 * #{ck-spacing( 'medium' )} );
- vertical-align: middle;
- background: ck-border-color();
- }
- &__newline {
- height: ck-spacing( 'small' );
- }
- // (#11) Separate toolbar items.
- & > * {
- margin-right: ck-spacing( 'small' );
- }
- & > *:last-child {
- margin-right: 0;
- }
- .ck-toolbar-container & {
- border: 0;
- }
- }
|