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

Commit

Permalink
Merge pull request #280 from ckeditor/i/6586
Browse files Browse the repository at this point in the history
Other: Added a missing file for the `FormHeaderView` styles and removed duplicated styles for `SpecialCharactersNavigation` inherited from the the `FormHeaderView` component. Closes ckeditor/ckeditor5#6586.
  • Loading branch information
oleq authored Apr 16, 2020
2 parents 0115e94 + 2ba48af commit 06f6ca5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
10 changes: 0 additions & 10 deletions theme/ckeditor5-special-characters/specialcharacters.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";

.ck.ck-special-characters-navigation {
border-bottom: 1px solid var(--ck-color-base-border);
padding: var(--ck-spacing-standard) var(--ck-spacing-large);

@mixin ck-dir ltr {
padding-left: var(--ck-spacing-large);
}

@mixin ck-dir rtl {
padding-right: var(--ck-spacing-large);
}

& > .ck-label {
max-width: 160px;
Expand Down
19 changes: 19 additions & 0 deletions theme/ckeditor5-ui/components/formheader/formheader.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

:root {
--ck-form-header-height: 38px;
}

.ck.ck-form__header {
padding: var(--ck-spacing-small) var(--ck-spacing-large);
height: var(--ck-form-header-height);
line-height: var(--ck-form-header-height);
border-bottom: 1px solid var(--ck-color-base-border);

& .ck-form__header__label {
font-weight: bold;
}
}

0 comments on commit 06f6ca5

Please sign in to comment.