/*
Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/

html.edi_copyformatting_active {
	min-height: 100%;
}

/* There is no cursor in CUR format for IE/Edge as that browser
 does not support custom cursor in [contenteditable] area.
 Ticket for this issue:
 https://connect.microsoft.com/IE/feedback/details/1070215/cant-change-cursor-in-contenteditable-using-css */
.edi_copyformatting_disabled,
.edi_copyformatting_disabled a,
.edi_copyformatting_disabled .edi_editable {
	cursor: url(../cursors/cursor-disabled.svg) 12 1, auto;
}

.edi_copyformatting_disabled .edi_top a,
.edi_copyformatting_disabled .edi_bottom a {
	cursor: default;
}

/* Added `!important` rule as a fix for overriding the cursor by the Table Resize plugin.
 The `!important` rule is used because the Table Resize plugin creates a `<div>` which changes the cursor using inlined styles. */
.edi_copyformatting_active,
.edi_copyformatting_active.edi_editable,
.edi_copyformatting_active .edi_editable,
.edi_copyformatting_active a,
.edi_copyformatting_active table,
.edi_copyformatting_active div[data-edi-temp],
.edi_copyformatting_tableresize_cursor div[data-edi-temp] {
	cursor: url(../cursors/cursor.svg) 12 1, auto !important;
}

.edi_screen_reader_only {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0;
	border: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
