tableselection.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. .cke_table-faked-selection-editor *::selection, table[data-cke-table-faked-selection-table] *::selection {
  2. background: transparent;
  3. }
  4. .cke_table-faked-selection {
  5. background: darkgray !important;
  6. color: black;
  7. }
  8. .cke_table-faked-selection a {
  9. color: black;
  10. }
  11. .cke_editable:focus .cke_table-faked-selection {
  12. /* We have to use !important here, as td might specify it's own background, thus table selection
  13. would not be visible. */
  14. background: #0076cb !important;
  15. color: white;
  16. }
  17. .cke_editable:focus .cke_table-faked-selection a {
  18. color: white;
  19. }
  20. .cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection {
  21. background: transparent;
  22. }
  23. .cke_table-faked-selection::selection, .cke_table-faked-selection ::selection {
  24. background: transparent;
  25. }
  26. /* Change the cursor when selecting cells (#706).
  27. *
  28. * This solution does not work in IE, Edge and Safari due to upstream isues:
  29. * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3419602/
  30. * https://bugs.webkit.org/show_bug.cgi?id=53341
  31. */
  32. table[data-cke-table-faked-selection-table] {
  33. cursor: cell;
  34. }