mirror of
https://github.com/itflow-org/itflow
synced 2026-11-17 18:07:22 +00:00
TinyMCE: drop the editor's built-in blue focus box so it follows the theme colour like every other field
This commit is contained in:
@@ -1038,6 +1038,13 @@ a:focus {
|
||||
border-color: var(--itflow-accent, #007bff);
|
||||
box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--itflow-accent, #007bff) 25%, transparent);
|
||||
}
|
||||
/* TinyMCE also draws its own focus box inside the editor - a fixed blue
|
||||
(#006ce7) border on .tox-edit-area::before - so on any other theme a blue
|
||||
box sat inside the theme-coloured ring. The ring above is the one every
|
||||
input gets, so the inner box goes. */
|
||||
.tox:not(.tox-tinymce-inline) .tox-edit-area::before {
|
||||
display: none;
|
||||
}
|
||||
/* menus and dropdowns the toolbar opens */
|
||||
.tox .tox-menu,
|
||||
.tox .tox-collection--list .tox-collection__group {
|
||||
|
||||
Reference in New Issue
Block a user