copyformatting.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
  3. For licensing, see LICENSE.md or http://ckeditor.com/license
  4. */
  5. html.cke_copyformatting_active {
  6. min-height: 100%;
  7. }
  8. /* There is no cursor in CUR format for IE/Edge as that browser
  9. does not support custom cursor in [contenteditable] area.
  10. Ticket for this issue:
  11. https://connect.microsoft.com/IE/feedback/details/1070215/cant-change-cursor-in-contenteditable-using-css */
  12. .cke_copyformatting_disabled,
  13. .cke_copyformatting_disabled a,
  14. .cke_copyformatting_disabled .cke_editable {
  15. cursor: url(../cursors/cursor-disabled.svg) 12 1, auto;
  16. }
  17. .cke_copyformatting_disabled .cke_top a,
  18. .cke_copyformatting_disabled .cke_bottom a {
  19. cursor: default;
  20. }
  21. /* Added `!important` rule as a fix for overriding the cursor by the Table Resize plugin.
  22. The `!important` rule is used because the Table Resize plugin creates a `<div>` which changes the cursor using inlined styles. */
  23. .cke_copyformatting_active,
  24. .cke_copyformatting_active.cke_editable,
  25. .cke_copyformatting_active .cke_editable,
  26. .cke_copyformatting_active a,
  27. .cke_copyformatting_active table,
  28. .cke_copyformatting_active div[data-cke-temp],
  29. .cke_copyformatting_tableresize_cursor div[data-cke-temp] {
  30. cursor: url(../cursors/cursor.svg) 12 1, auto !important;
  31. }
  32. .cke_screen_reader_only {
  33. position: absolute;
  34. clip: rect(1px, 1px, 1px, 1px);
  35. padding: 0;
  36. border: 0;
  37. height: 1px;
  38. width: 1px;
  39. overflow: hidden;
  40. }