Procházet zdrojové kódy

Change target selector to .ck-blurred

panr před 5 roky
rodič
revize
18481d1ed3

+ 2 - 2
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css

@@ -10,7 +10,7 @@
 @import "../../mixins/_button.css";
 @import "../../mixins/_button.css";
 
 
 :root {
 :root {
-	--ck-color-editable-blur-selection: hsl(0, 0%, 77%);
+	--ck-color-editable-blur-selection: hsl(0, 0%, 90%);
 }
 }
 
 
 .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
 .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
@@ -45,7 +45,7 @@
 		margin-bottom: var(--ck-spacing-large);
 		margin-bottom: var(--ck-spacing-large);
 	}
 	}
 
 
-	&:not(:focus) ::selection {
+	&.ck-blurred ::selection {
 		background: var(--ck-color-editable-blur-selection);
 		background: var(--ck-color-editable-blur-selection);
 	}
 	}
 }
 }