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

Changed `--ck-color-link-selected-background` variable to HSLA format.

Damian Konopka 7 лет назад
Родитель
Сommit
549c78a5d2

+ 0 - 7
packages/ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css

@@ -5,7 +5,6 @@
 
 :root {
 	--ck-color-table-focused-cell-background: hsl(208, 90%, 98%);
-	--ck-color-link-selected-inside-table-background: hsl(201, 100%, 92%);
 }
 
 .ck-widget.table {
@@ -23,10 +22,4 @@
 			outline-offset: -1px; /* progressive enhancement - no IE support */
 		}
 	}
-
-	/* Improve visibility of selected link inside table cell.
-	See https://github.com/ckeditor/ckeditor5-link/issues/204. */
-	& .ck-link_selected {
-		background: var(--ck-color-link-selected-inside-table-background);
-	}
 }

+ 1 - 1
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_colors.css

@@ -102,5 +102,5 @@
 	/* -- Link -------------------------------------------------------------------------------- */
 
 	--ck-color-link-default:									hsl(240, 100%, 47%);
-	--ck-color-link-selected-background: 						hsl(201, 100%, 96%);
+	--ck-color-link-selected-background: 						hsla(201, 100%, 56%, 0.1);
 }