From cd19d4b7c2523b587f00e41b9401aec71166691d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Tue, 29 Jul 2014 21:22:38 +0200 Subject: [PATCH] Ajout classe .std-focusbox. --- skins/generic/content_style.css.dtml | 7 +++++ skins/generic/plinn_ckeditor_styles.js.dtml | 29 +++++++++++++-------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/skins/generic/content_style.css.dtml b/skins/generic/content_style.css.dtml index a723a03..ef4e289 100644 --- a/skins/generic/content_style.css.dtml +++ b/skins/generic/content_style.css.dtml @@ -13,4 +13,11 @@ background: &dtml-backgroundColor;; } +.std-focusbox { + background: &dtml-tabsBorderColor;; + color: &dtml-tabsFontColor;; + padding: &dtml-borderRadius;px; + border-radius: &dtml-borderRadius;px; +} + /* */ \ No newline at end of file diff --git a/skins/generic/plinn_ckeditor_styles.js.dtml b/skins/generic/plinn_ckeditor_styles.js.dtml index 2d4fcaf..d6b1d2a 100644 --- a/skins/generic/plinn_ckeditor_styles.js.dtml +++ b/skins/generic/plinn_ckeditor_styles.js.dtml @@ -1,11 +1,18 @@ -CKEDITOR.stylesSet.add( 'plinn_styles', [ - { name : 'Arrondis', - className : 'rounded-corners' - }, - { name : 'Bordure standard', - className : 'std-border' - }, - { name : 'Fond coloré', - className : 'std-background' - }, -]); +CKEDITOR.stylesSet.add('plinn_styles', [ + { + name: 'Arrondis', + className: 'rounded-corners' + }, + { + name: 'Bordure standard', + className: 'std-border' + }, + { + name: 'Fond coloré', + className: 'std-background' + }, + { + name: 'Focus', + className: 'std-focusbox' + }] +); -- 2.20.1