@steroidsjs/ckeditor5
Version:
The development environment of CKEditor 5 – the best browser-based rich text editor.
61 lines (49 loc) • 1.36 kB
CSS
/*
* Copyright (c) 2003-2021, 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/_dir.css";
/*
* Style link form differently when manual decorators are available.
* See: https://github.com/ckeditor/ckeditor5-link/issues/186.
*/
.ck.ck-link-form_layout-vertical {
padding: 0;
min-width: var(--ck-input-text-width);
& .ck-labeled-field-view {
margin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);
& .ck-input-text {
min-width: 0;
width: 100%;
}
}
& .ck-button {
padding: var(--ck-spacing-standard);
margin: 0;
border-radius: 0;
border: 0;
border-top: 1px solid var(--ck-color-base-border);
width: 50%;
@mixin ck-dir ltr {
margin-left: 0;
}
@mixin ck-dir rtl {
margin-left: 0;
&:last-of-type {
border-right: 1px solid var(--ck-color-base-border);
}
}
}
/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */
& .ck.ck-list {
margin: var(--ck-spacing-standard) var(--ck-spacing-large);
& .ck-button.ck-switchbutton {
border: 0;
padding: 0;
width: 100%;
&:hover {
background: none;
}
}
}
}