Explorar o código

Merge pull request #153 from ckeditor/t/ckeditor5-link/72

Feature: Added styles for a selected link element (see ckeditor/ckeditor5-link#72).
Aleksander Nowodzinski %!s(int64=7) %!d(string=hai) anos
pai
achega
26d561885a

+ 9 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-link/link.css

@@ -0,0 +1,9 @@
+/*
+ * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+/* Class added to span element surrounding currently selected link. */
+.ck-link_selected {
+	background: var(--ck-color-link-selected-background);
+}

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

@@ -91,4 +91,5 @@
 	/* -- Link -------------------------------------------------------------------------------- */
 
 	--ck-color-link-default:									hsl(240, 100%, 47%);
+	--ck-color-link-selected-background:						hsl(201, 93%, 89%);
 }