Skip to content
Snippets Groups Projects
Commit f064bad2 authored by LucasC's avatar LucasC Committed by Simon Urli
Browse files

XWIKI-22334: Improve contrast of the CKEditor tables

* Overrode the inline style added by CKEditor for the tables.

Note: The selector is quite large, but it matches and takes priority over all the ckeditor table styles.
(cherry picked from commit 9dcc5500)
parent 166a8d9c
No related branches found
No related tags found
No related merge requests found
......@@ -1039,6 +1039,23 @@
padding: .5em;
z-index: 9995;
}
}
/*
* Override the CKEditor reset for the table border color.
* The default border color from CKEditor is quite lacking on contrast.
*/
.cke_editable.cke_show_borders table.cke_show_border,
.cke_editable.cke_show_borders table.cke_show_border > tr > th,
.cke_editable.cke_show_borders table.cke_show_border > tr > td,
.cke_editable.cke_show_borders table.cke_show_border > thead > tr > th,
.cke_editable.cke_show_borders table.cke_show_border > thead > tr > td,
.cke_editable.cke_show_borders table.cke_show_border > tbody > tr > th,
.cke_editable.cke_show_borders table.cke_show_border > tbody > tr > td,
.cke_editable.cke_show_borders table.cke_show_border > tfoot > tr > th,
.cke_editable.cke_show_borders table.cke_show_border > tfoot > tr > td {
border-color: @table-border-color;
border-style: solid;
}</code>
</property>
<property>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment