Преглед изворни кода

Merge pull request #74 from ckeditor/t/73

Feature: Provided styles for `FloatingToolbarView`. Closes #73.
Piotrek Koszuliński пре 8 година
родитељ
комит
923a387c29

+ 0 - 0
packages/ckeditor5-theme-lark/theme/components/balloonpanel.scss → packages/ckeditor5-theme-lark/theme/components/panel/balloonpanel.scss


+ 10 - 0
packages/ckeditor5-theme-lark/theme/components/panel/floatingpanel.scss

@@ -0,0 +1,10 @@
+// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+// For licensing, see LICENSE.md or http://ckeditor.com/license
+
+.ck-floating-panel {
+	@include ck-drop-shadow();
+	@include ck-rounded-corners();
+
+	border: 1px solid ck-border-color();
+	background: ck-color( 'foreground' );
+}

+ 0 - 12
packages/ckeditor5-theme-lark/theme/components/stickytoolbar.scss

@@ -1,12 +0,0 @@
-// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
-// For licensing, see LICENSE.md or http://ckeditor.com/license
-
-@include ck-editor {
-	.ck-toolbar.ck-toolbar_sticky {
-		@include ck-drop-shadow();
-
-		border: 1px solid ck-border-color();
-		border-width: 0 0 1px;
-		background: ck-color( 'foreground' );
-	}
-}

+ 0 - 0
packages/ckeditor5-theme-lark/theme/components/contextualtoolbar.scss → packages/ckeditor5-theme-lark/theme/components/toolbar/contextualtoolbar.scss


+ 14 - 0
packages/ckeditor5-theme-lark/theme/components/toolbar/stickytoolbar.scss

@@ -0,0 +1,14 @@
+// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+// For licensing, see LICENSE.md or http://ckeditor.com/license
+
+@include ck-editor {
+	.ck-toolbar {
+		&.ck-toolbar_sticky {
+			@include ck-drop-shadow();
+
+			border: 1px solid ck-border-color();
+			border-width: 0 0 1px;
+			background: ck-color( 'foreground' );
+		}
+	}
+}

+ 0 - 0
packages/ckeditor5-theme-lark/theme/components/toolbar.scss → packages/ckeditor5-theme-lark/theme/components/toolbar/toolbar.scss


+ 5 - 4
packages/ckeditor5-theme-lark/theme/theme.scss

@@ -15,12 +15,13 @@
 @import 'components/icon';
 @import 'components/tooltip';
 @import 'components/button';
-@import 'components/toolbar';
+@import 'components/toolbar/toolbar';
 @import 'components/dropdown';
 @import 'components/list';
 @import 'components/label';
 @import 'components/inputtext';
-@import 'components/balloonpanel';
+@import 'components/panel/balloonpanel';
+@import 'components/panel/floatingpanel';
 @import 'components/editor';
-@import 'components/contextualtoolbar';
-@import 'components/stickytoolbar';
+@import 'components/toolbar/contextualtoolbar';
+@import 'components/toolbar/stickytoolbar';