@ckeditor/ckeditor5-theme-lark
Version:
A bright theme for CKEditor 5.
67 lines (52 loc) • 1.33 kB
CSS
/*
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
:root {
--ck-image-insert-insert-by-url-width: 250px;
}
.ck.ck-image-insert-url {
--ck-input-width: 100%;
& .ck-image-insert-url__action-row {
grid-column-gap: var(--ck-spacing-large);
margin-top: var(--ck-spacing-large);
& .ck-button-save,
& .ck-button-cancel {
justify-content: center;
min-width: auto;
}
& .ck-button .ck-button__label {
color: var(--ck-color-text);
}
}
}
.ck.ck-image-insert-form {
& > .ck.ck-button {
display: block;
width: 100%;
@mixin ck-dir ltr {
text-align: left;
}
@mixin ck-dir rtl {
text-align: right;
}
}
& > .ck.ck-collapsible {
&:not(:first-child) {
border-top: 1px solid var(--ck-color-base-border);
}
&:not(:last-child) {
border-bottom: 1px solid var(--ck-color-base-border);
}
min-width: var(--ck-image-insert-insert-by-url-width);
}
/* This is the case when there are no other integrations configured than insert by URL */
& > .ck.ck-image-insert-url {
min-width: var(--ck-image-insert-insert-by-url-width);
padding: var(--ck-spacing-large);
}
&:focus {
outline: none;
}
}