Ajout classe .std-focusbox.
authorBenoît Pin <benoit.pin@gmail.com>
Tue, 29 Jul 2014 19:22:38 +0000 (21:22 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Tue, 29 Jul 2014 19:22:38 +0000 (21:22 +0200)
skins/generic/content_style.css.dtml
skins/generic/plinn_ckeditor_styles.js.dtml

index a723a03..ef4e289 100644 (file)
   background: &dtml-backgroundColor;;
 }
 
+.std-focusbox {
+  background: &dtml-tabsBorderColor;;
+  color: &dtml-tabsFontColor;;
+  padding: &dtml-borderRadius;px;
+  border-radius: &dtml-borderRadius;px;
+}
+
 /*</dtml-with> */
\ No newline at end of file
index 2d4fcaf..d6b1d2a 100644 (file)
@@ -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'
+       }]
+);