diff options
author | chai <chaifix@163.com> | 2018-07-10 22:01:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-10 22:01:22 +0800 |
commit | 1275e68efa680e55fd29a377c9c58c59bb7f235e (patch) | |
tree | c585d7402af76ad0ccd295b218205708012addb4 /cgi-bin/html/ckeditor/plugins/tableselection/styles/tableselection.css | |
parent | 5d323b7430c446ceb81c2de52d9a1d28c7f34e52 (diff) |
更新
Diffstat (limited to 'cgi-bin/html/ckeditor/plugins/tableselection/styles/tableselection.css')
-rw-r--r-- | cgi-bin/html/ckeditor/plugins/tableselection/styles/tableselection.css | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/cgi-bin/html/ckeditor/plugins/tableselection/styles/tableselection.css b/cgi-bin/html/ckeditor/plugins/tableselection/styles/tableselection.css new file mode 100644 index 0000000..3ad2ab1 --- /dev/null +++ b/cgi-bin/html/ckeditor/plugins/tableselection/styles/tableselection.css @@ -0,0 +1,32 @@ +.cke_table-faked-selection-editor *::selection, table[data-cke-table-faked-selection-table] *::selection { + background: transparent; +} + +.cke_table-faked-selection-editor { + /* With love, dedicated for Chrome, until https://bugs.chromium.org/p/chromium/issues/detail?id=702610 is resolved. + It will force repaint (without reflow) so that selection is properly displayed. */ + transform: translateZ( 0 ); +} + +.cke_table-faked-selection { + background: darkgray !important; + color: black; +} +.cke_table-faked-selection a { + color: black; +} +.cke_editable:focus .cke_table-faked-selection { + /* We have to use !important here, as td might specify it's own background, thus table selection + would not be visible. */ + background: #0076cb !important; + color: white; +} +.cke_editable:focus .cke_table-faked-selection a { + color: white; +} +.cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection { + background: transparent; +} +.cke_table-faked-selection::selection, .cke_table-faked-selection ::selection { + background: transparent; +} |