8
0
Просмотр исходного кода

Improved the :focus look of the "Remove color" button in the font features.

Aleksander Nowodzinski 6 лет назад
Родитель
Сommit
900dbab6ee
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      packages/ckeditor5-theme-lark/theme/ckeditor5-font/fontcolor.css

+ 4 - 1
packages/ckeditor5-theme-lark/theme/ckeditor5-font/fontcolor.css

@@ -6,11 +6,14 @@
 @import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
 
 .ck .ck-button.ck-color-table__remove-color {
-	border-bottom: 1px solid var(--ck-color-base-border);
 	padding: calc(var(--ck-spacing-standard) / 2 ) var(--ck-spacing-standard);
 	border-bottom-left-radius: 0;
 	border-bottom-right-radius: 0;
 
+	&:not(:focus) {
+		border-bottom: 1px solid var(--ck-color-base-border);
+	}
+
 	& .ck.ck-icon {
 		@mixin ck-dir ltr {
 			margin-right: var(--ck-spacing-standard);