| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /*
- * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- @import "../../../mixins/_rounded.css";
- .ck-toolbar {
- @mixin ck-rounded-corners;
- padding: var(--ck-spacing-small);
- border: 1px solid var(--ck-color-toolbar-border);
- /* Allow wrapping toolbar items to the new line. */
- white-space: initial;
- /* (#11) Separate toolbar items. */
- & > * {
- margin-right: var(--ck-spacing-small);
- }
- & > *:last-child {
- margin-right: 0;
- }
- @nest .ck-toolbar-container & {
- border: 0;
- }
- }
- .ck-toolbar_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;
- }
- .ck-toolbar__separator {
- width: 1px;
- height: calc(1em + 2 * var(--ck-spacing-medium));
- vertical-align: middle;
- background: var(--ck-color-toolbar-border);
- }
- .ck-toolbar__newline {
- height: var(--ck-spacing-small);
- }
|