UNPKG

@northernco/ckeditor5-anchor-drupal

Version:

Drupal CKEditor 5 integration

46 lines (37 loc) 901 B
/* * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ @import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css"; .ck.ck-anchor-form { display: flex; & .ck-label { display: none; } @mixin ck-media-phone { flex-wrap: wrap; & .ck-labeled-field-view { flex-basis: 100%; } & .ck-button { flex-basis: 50%; } } } /* * Style anchor form differently when manual decorators are available. * See: https://github.com/ckeditor/ckeditor5-anchor/issues/186. */ .ck.ck-anchor-form_layout-vertical { display: block; /* * Whether the form is in the responsive mode or not, if there are decorator buttons * keep the top margin of action buttons medium. */ & .ck-button { &.ck-button-save, &.ck-button-cancel { margin-top: var(--ck-spacing-medium); } } }