From: Benoît Pin Date: Tue, 29 Jul 2014 19:22:38 +0000 (+0200) Subject: Ajout classe .std-focusbox. X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/commitdiff_plain/cd19d4b7c2523b587f00e41b9401aec71166691d?ds=sidebyside Ajout classe .std-focusbox. --- 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' + }] +);