Explorar el Código

Simplified CSS loading in the View class.

Aleksander Nowodzinski hace 8 años
padre
commit
a855957b02

+ 1 - 3
packages/ckeditor5-ui/src/view.js

@@ -16,9 +16,7 @@ import Collection from '@ckeditor/ckeditor5-utils/src/collection';
 import mix from '@ckeditor/ckeditor5-utils/src/mix';
 import isIterable from '@ckeditor/ckeditor5-utils/src/isiterable';
 
-import '../theme/globals/_reset.css';
-import '../theme/globals/_hidden.css';
-import '../theme/globals/_zindex.css';
+import '../theme/globals/globals.css';
 
 /**
  * The basic view class, which represents an HTML element created out of a

+ 8 - 0
packages/ckeditor5-ui/theme/globals/globals.css

@@ -0,0 +1,8 @@
+/*
+ * Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+@import "./_hidden.css";
+@import "./_reset.css";
+@import "./_zindex.css";