diff --git a/.gitattributes b/.gitattributes index 7d3aa0479ff870e1e13a6c0595e9e0704092b1d5..c9dde05ba18b54e555489aa51a3aeb75cf6466b5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -898,6 +898,7 @@ prive/themes/spip/images/document-new-24.png -text prive/themes/spip/images/edit-16.png -text prive/themes/spip/images/edit-24.png -text prive/themes/spip/images/edition-48.png -text +prive/themes/spip/images/erreur-24.png -text prive/themes/spip/images/forum-16.png -text prive/themes/spip/images/forum-24.png -text prive/themes/spip/images/forum-add-16.png -text @@ -971,6 +972,7 @@ prive/themes/spip/images/mot-new-16.png -text prive/themes/spip/images/mot-new-24.png -text prive/themes/spip/images/new-16.png -text prive/themes/spip/images/new-24.png -text +prive/themes/spip/images/ok-24.png -text prive/themes/spip/images/pense-bete-16.png -text prive/themes/spip/images/pense-bete-24.png -text prive/themes/spip/images/petition-16.png -text diff --git a/prive/style_prive_formulaires.html b/prive/style_prive_formulaires.html index 533c9902695a6c269893883b010541a417602b47..143ad6b6d8a5810abd650e27060494ace4f69047 100644 --- a/prive/style_prive_formulaires.html +++ b/prive/style_prive_formulaires.html @@ -71,18 +71,48 @@ -ms-box-sizing: border-box; } -.formulaire_spip .reponse_formulaire_erreur, + +.formulaire_spip .reponse_formulaire { + border:2px solid; + color:#333; + font-weight: normal; + padding:5px; + padding-left:40px; + min-height:24px; + margin-bottom:1em; +} .formulaire_spip .reponse_formulaire_ok { - font-weight: bold; - margin:10px; + border-color: #53AD20; + background:#E0FFCF url(#CHEMIN_IMAGE{ok-24.png}) no-repeat 5px 5px; } .formulaire_spip .reponse_formulaire_erreur { - color: #C30; - border:2px solid #c30; - padding:5px; + border-color: #C30; + background:#FFD0BF url(#CHEMIN_IMAGE{erreur-24.png}) no-repeat 5px 5px; } -.formulaire_spip .reponse_formulaire_ok { - color: #53AD20; + +.error,.success,.notice { + border:2px solid; + color:#333; + font-weight: normal; + padding:5px; + padding-left:40px; + min-height:24px; + margin-bottom:1em; +} +.success{ + border-color: #C6D880; + background:#E6EFC2 url(#CHEMIN_IMAGE{ok-24.png}) no-repeat 5px 5px; + color : #264409; +} +.error { + border-color: #FBC2C4; + background:#FBE3E4 url(#CHEMIN_IMAGE{erreur-24.png}) no-repeat 5px 5px; + color : #8A1F11; +} +.notice { + border-color: #FFD324; + background:#FFF6BF url(#CHEMIN_IMAGE{warning-24.png}) no-repeat 5px 5px; + color : #514721; } diff --git a/prive/themes/spip/images/erreur-24.png b/prive/themes/spip/images/erreur-24.png new file mode 100644 index 0000000000000000000000000000000000000000..59ee21b42e9f3d9b55b6cc7dd361f8e0bc155d76 Binary files /dev/null and b/prive/themes/spip/images/erreur-24.png differ diff --git a/prive/themes/spip/images/ok-24.png b/prive/themes/spip/images/ok-24.png new file mode 100644 index 0000000000000000000000000000000000000000..dfcdb4174c3ba9f96836e57419d9f5a4f94e1741 Binary files /dev/null and b/prive/themes/spip/images/ok-24.png differ