瀏覽代碼

Removed button border when :focused because it was too strong.

Aleksander Nowodzinski 7 年之前
父節點
當前提交
eee82566e1
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css

+ 3 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css

@@ -37,6 +37,9 @@ a.ck-button {
 	&:focus {
 		@mixin ck-focus-ring;
 		@mixin ck-box-shadow var(--ck-focus-outer-shadow);
+
+		/* Disable border part of the focus ring for the buttons. It is too much. */
+		border-color: transparent;
 	}
 
 	/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */