From c4c3a1c56dc25a005e1ad842c5531bd94a7fb035 Mon Sep 17 00:00:00 2001 From: Damien Pobel Date: Tue, 24 Jan 2017 14:57:12 +0100 Subject: [PATCH] EZP-26517: Improve selection/temporary link style --- Resources/public/css/external/alloy-editor-ez.css | 4 ++-- Resources/public/css/theme/alloyeditor/content.css | 6 ++++++ Resources/sass/alloy/skin.scss | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Resources/public/css/external/alloy-editor-ez.css b/Resources/public/css/external/alloy-editor-ez.css index 2a8d55bb7..49f9de9f4 100644 --- a/Resources/public/css/external/alloy-editor-ez.css +++ b/Resources/public/css/external/alloy-editor-ez.css @@ -775,13 +775,13 @@ /** TOOLBAR **/ .ae-editable ::-moz-selection { - background: #c0cbd4 !important; + background: #869CAD !important; color: #fff; text-shadow: none; } .ae-editable ::selection { - background: #c0cbd4 !important; + background: #869CAD !important; color: #fff; text-shadow: none; } diff --git a/Resources/public/css/theme/alloyeditor/content.css b/Resources/public/css/theme/alloyeditor/content.css index c934a57f3..a5e2ab972 100644 --- a/Resources/public/css/theme/alloyeditor/content.css +++ b/Resources/public/css/theme/alloyeditor/content.css @@ -17,3 +17,9 @@ margin: 4px 0; list-style-position: inside; } + +.ez-richtext-editable a[data-ez-temporary-link] { + background: #869CAD; + color: #fff; + text-shadow: none; +} diff --git a/Resources/sass/alloy/skin.scss b/Resources/sass/alloy/skin.scss index e9b466ddb..91a887c83 100644 --- a/Resources/sass/alloy/skin.scss +++ b/Resources/sass/alloy/skin.scss @@ -50,7 +50,7 @@ $dropdown-listbox-header-color: #b0b4bb; $dropdown-listbox-header-font-size: 14px; /** SELECTION **/ -$selection-bg-color: $color-secondary-light; +$selection-bg-color: $color-secondary; $selection-color: #fff; /** TOOLBAR **/