Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #227 from ckeditor/t/ckeditor5-ui/491
Browse files Browse the repository at this point in the history
Feature: Introduced rotatable panels styles for `ContextualBalloon`.
  • Loading branch information
Piotr Jasiun authored May 13, 2019
2 parents ea93616 + 69e78b4 commit d3e4266
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions theme/ckeditor5-ui/components/panel/balloonrotator.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

.ck .ck-balloon-rotator__navigation {
background: var(--ck-color-toolbar-background);
border-bottom: 1px solid var(--ck-color-toolbar-border);
padding: 0 var(--ck-spacing-small);

/* Let's keep similar appearance to `ck-toolbar`. */
& > * {
margin-right: var(--ck-spacing-small);
margin-top: var(--ck-spacing-small);
margin-bottom: var(--ck-spacing-small);
}

/* Gives counter more breath than buttons. */
& .ck-balloon-rotator__counter {
margin-right: var(--ck-spacing-standard);
margin-left: var(--ck-spacing-standard);
}
}

0 comments on commit d3e4266

Please sign in to comment.