From 9a52ae35f57b23615c7c6f1b3cbe90f456ea7555 Mon Sep 17 00:00:00 2001 From: Damian Konopka Date: Fri, 18 May 2018 13:15:49 +0200 Subject: [PATCH 1/3] Changed naming of block toolbar. --- .../components/toolbar/blocktoolbar.css | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 theme/ckeditor5-ui/components/toolbar/blocktoolbar.css diff --git a/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css b/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css new file mode 100644 index 0000000..392211a --- /dev/null +++ b/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md. + */ + +:root { + --ck-color-tblock-oolbar-button: var(--ck-color-text); + --ck-block-toolbar-button-size: var(--ck-font-size-normal); +} + +.ck.ck-block-toolbar-button { + color: var(--ck-color-block-toolbar-button); + font-size: var(--ck-block-toolbar-size); +} + +.ck.ck-balloon-panel-block-toolbar { + & .ck-toolbar { + border: 0; + box-shadow: 0; + } +} From 1d42f2f25da96bf045ad1f5b83ca3f0a9a1520eb Mon Sep 17 00:00:00 2001 From: Damian Konopka Date: Fri, 18 May 2018 13:16:33 +0200 Subject: [PATCH 2/3] Changed naming of block toolbar. --- theme/ckeditor5-ui/components/toolbar/blocktoolbar.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css b/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css index 392211a..b321eb0 100644 --- a/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css +++ b/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css @@ -4,7 +4,7 @@ */ :root { - --ck-color-tblock-oolbar-button: var(--ck-color-text); + --ck-color-block-toolbar-button: var(--ck-color-text); --ck-block-toolbar-button-size: var(--ck-font-size-normal); } From bad1ebce44118ffcd9eb7726d9bb4cadf0f9ce23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Wr=C3=B3bel?= Date: Tue, 22 May 2018 17:11:38 +0200 Subject: [PATCH 3/3] Removed unused styles. --- theme/ckeditor5-ui/components/toolbar/blocktoolbar.css | 7 ------- 1 file changed, 7 deletions(-) diff --git a/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css b/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css index b321eb0..66614fc 100644 --- a/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css +++ b/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css @@ -12,10 +12,3 @@ color: var(--ck-color-block-toolbar-button); font-size: var(--ck-block-toolbar-size); } - -.ck.ck-balloon-panel-block-toolbar { - & .ck-toolbar { - border: 0; - box-shadow: 0; - } -}