Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit aa27d55

Browse files
authoredMar 7, 2018
Merge pull request #153 from ckeditor/t/ckeditor5-link/72
Feature: Added styles for a selected link element (see ckeditor/ckeditor5-link#72).
2 parents e40d638 + 9ebf915 commit aa27d55

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
 

‎theme/ckeditor5-link/link.css

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
3+
* For licensing, see LICENSE.md.
4+
*/
5+
6+
/* Class added to span element surrounding currently selected link. */
7+
.ck-link_selected {
8+
background: var(--ck-color-link-selected-background);
9+
}

‎theme/ckeditor5-ui/globals/_colors.css

+1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,5 @@
9191
/* -- Link -------------------------------------------------------------------------------- */
9292

9393
--ck-color-link-default: hsl(240, 100%, 47%);
94+
--ck-color-link-selected-background: hsl(201, 93%, 89%);
9495
}

0 commit comments

Comments
 (0)