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

Merge pull request #14 from ckeditor/t/ckeditor5-ui/144

Other: Migrated package styles to PostCSS. Moved the visual styles to ckeditor5-theme-lark (see ckeditor/ckeditor5-ui#144).
Aleksander Nowodzinski пре 8 година
родитељ
комит
de54eb58b7

+ 1 - 2
packages/ckeditor5-block-quote/src/blockquote.js

@@ -9,11 +9,10 @@
 
 import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
 import BlockQuoteEngine from './blockquoteengine';
-
 import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
 
 import quoteIcon from '@ckeditor/ckeditor5-core/theme/icons/quote.svg';
-import '../theme/theme.scss';
+import '../theme/blockquote.css';
 
 /**
  * The block quote plugin.

+ 9 - 0
packages/ckeditor5-block-quote/theme/blockquote.css

@@ -0,0 +1,9 @@
+/**
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+blockquote {
+	/* See #12 */
+	overflow: hidden;
+}

+ 0 - 11
packages/ckeditor5-block-quote/theme/theme.scss

@@ -1,11 +0,0 @@
-// Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
-// For licensing, see LICENSE.md or http://ckeditor.com/license
-
-blockquote {
-	border-left: solid 5px #CCC;
-	padding-left: 20px;
-	margin-left: 0;
-	font-style: italic;
-	// See #12.
-	overflow: hidden;
-}