Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

t/ckeditor5-ui/144: Migrated the editor styles to PostCSS #67

Merged
merged 6 commits into from
Nov 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/classiceditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import ClassicEditorUI from './classiceditorui';
import ClassicEditorUIView from './classiceditoruiview';
import ElementReplacer from '@ckeditor/ckeditor5-utils/src/elementreplacer';

import '../theme/theme.scss';

/**
* The {@glink builds/guides/overview#Classic-editor classic editor} implementation.
* It uses an inline editable and a sticky toolbar, all enclosed in a boxed UI.
Expand Down
2 changes: 2 additions & 0 deletions src/classiceditoruiview.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import InlineEditableUIView from '@ckeditor/ckeditor5-ui/src/editableui/inline/i
import StickyPanelView from '@ckeditor/ckeditor5-ui/src/panel/sticky/stickypanelview';
import ToolbarView from '@ckeditor/ckeditor5-ui/src/toolbar/toolbarview';

import '../theme/classiceditor.css';

/**
* Classic editor UI view. Uses an inline editable and a sticky toolbar, all
* enclosed in a boxed UI view.
Expand Down
16 changes: 16 additions & 0 deletions theme/classiceditor.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md.
*/

.ck-editor {
/* All the elements within `.ck-editor` are positioned relatively to it.
If any element needs to be positioned with respect to the <body>, etc.,
it must land outside of the `.ck-editor` in DOM. */
position: relative;
}

.ck-editor__top .ck-sticky-panel .ck-toolbar {
/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */
z-index: var(--ck-z-modal);
}
44 changes: 0 additions & 44 deletions theme/theme.scss

This file was deleted.