Unverified Commit f8818603 authored by lauriii's avatar lauriii
Browse files

Issue #3202493 by jenniferaube, vsujeetkumar, Sakthivel M, bnjmnm,...

Issue #3202493 by jenniferaube, vsujeetkumar, Sakthivel M, bnjmnm, manojithape, mgifford, guilhermevp, Gauravmahlawat, lauriii, zrpnr, mradcliffe: Claro is missing focus in "Available buttons" within CKEditor toolbar configuration
parent 3066423e
......@@ -115,6 +115,8 @@ libraries-override:
libraries-extend:
ckeditor/drupal.ckeditor:
- claro/ckeditor-editor
ckeditor/drupal.ckeditor.admin:
- claro/ckeditor-admin
core/ckeditor:
- claro/ckeditor-dialog
core/drupal.collapse:
......
......@@ -144,6 +144,12 @@ claro.tabledrag:
js:
js/tabledrag.js: {}
ckeditor-admin:
version: VERSION
css:
theme:
css/theme/ckeditor.admin.css: {}
ckeditor-dialog:
version: VERSION
css:
......
/*
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/3084859
* @preserve
*/
/**
* @file
* Claro specific styling for CKEditor admin.
*/
/*
* This rule is needed to provide Claro's green focus outline. There is a style
* in the CKEditor module CSS that adds a box-shadow at a higher specificity
* than Claro's focus outline styling. This is added at one higher degree of
* specificity.
* @see core/modules/ckeditor/css/ckeditor.admin.css
*/
.ckeditor-toolbar-disabled .ckeditor-buttons li a:focus {
box-shadow: 0 0 0 2px #fff, 0 0 0 5px #26a769;
}
/**
* @file
* Claro specific styling for CKEditor admin.
*/
@import "../base/variables.pcss.css";
/*
* This rule is needed to provide Claro's green focus outline. There is a style
* in the CKEditor module CSS that adds a box-shadow at a higher specificity
* than Claro's focus outline styling. This is added at one higher degree of
* specificity.
* @see core/modules/ckeditor/css/ckeditor.admin.css
*/
.ckeditor-toolbar-disabled .ckeditor-buttons li a:focus {
box-shadow: var(--focus-box-shadow);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment