Browse Source

Migrated UI components from SASS to PostCSS. Added theme support.

Aleksander Nowodzinski 8 years ago
parent
commit
4ac780bc9f

+ 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.

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

@@ -0,0 +1,8 @@
+/**
+ * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+blockquote {
+	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;
-}