@ckeditor/ckeditor5-revision-history
Version:
Document revision history feature for CKEditor 5.
41 lines (34 loc) • 1.16 kB
CSS
/*
* What you're currently looking at is the source code of a legally protected, proprietary software.
* CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
* all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
.ck.ck-revision-history-sidebar__revision-author {
display: block;
position: relative;
transition: var(--ck-revision-history-revision-transitions);
@media (prefers-reduced-motion: reduce) {
transition: none;
}
& .ck-revision-history-sidebar__revision-author__name {
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
white-space: nowrap;
display: block;
font-weight: bold;
}
& .ck-icon {
position: absolute;
left: calc(-1 * var(--ck-revision-history-revision-author-icon-offset));
top: 3px;
width: 11px;
height: 10px;
}
&:not(:first-of-type) .ck-icon {
display: none;
}
}