1.cke_table-faked-selection-editor *::selection, table.cke_table-faked-selection-table *::selection { 2 background: transparent; 3} 4 5.cke_table-faked-selection-editor { 6 /* With love, dedicated for Chrome, until https://bugs.chromium.org/p/chromium/issues/detail?id=702610 is resolved. 7 It will force repaint (without reflow) so that selection is properly displayed. */ 8 transform: translateZ( 0 ); 9} 10 11.cke_table-faked-selection { 12 background: darkgray !important; 13 color: black; 14} 15.cke_table-faked-selection a { 16 color: black; 17} 18.cke_editable:focus .cke_table-faked-selection { 19 /* We have to use !important here, as td might specify it's own background, thus table selection 20 would not be visible. */ 21 background: #0076cb !important; 22 color: white; 23} 24.cke_editable:focus .cke_table-faked-selection a { 25 color: white; 26} 27.cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection { 28 background: transparent; 29} 30.cke_table-faked-selection::selection, .cke_table-faked-selection ::selection { 31 background: transparent; 32} 33