From e14b13234afd8e599d0f12017a996c04c8b7040e Mon Sep 17 00:00:00 2001 From: Damien LASSERRE Date: Mon, 30 Jan 2012 09:05:40 +0000 Subject: [PATCH] css style --- public/themes/default/images/stripe-hover.png | Bin 0 -> 332 bytes public/themes/default/images/stripe.png | Bin 0 -> 302 bytes public/themes/default/scripts/fields.js | 9 +- .../default/styles/criteres/economique.css | 85 +++++++++++++++++ .../default/styles/criteres/entreprise.css | 42 ++++++++ .../default/styles/criteres/financiere.css | 90 ++++++++++++++++++ .../default/styles/criteres/geographique.css | 83 ++++++++++++++++ .../default/styles/criteres/juridique.css | 90 ++++++++++++++++++ public/themes/default/styles/main.css | 1 - 9 files changed, 397 insertions(+), 3 deletions(-) create mode 100644 public/themes/default/images/stripe-hover.png create mode 100644 public/themes/default/images/stripe.png create mode 100644 public/themes/default/styles/criteres/economique.css create mode 100644 public/themes/default/styles/criteres/entreprise.css create mode 100644 public/themes/default/styles/criteres/financiere.css create mode 100644 public/themes/default/styles/criteres/geographique.css create mode 100644 public/themes/default/styles/criteres/juridique.css diff --git a/public/themes/default/images/stripe-hover.png b/public/themes/default/images/stripe-hover.png new file mode 100644 index 0000000000000000000000000000000000000000..3273fb88152e28405d4e85749fd83a87703621ec GIT binary patch literal 332 zcmV-S0ki&zP)3)y2(G?eoq2nqqEGTT@R%ZHr~5; z@4$0K6dTd_wqkcsY_t--dH9tILdaa;+OfCl2pdg!FQ5FNg|N|(>%y7Ox(MU-*w3E- zW`JVjrJu&gd~KFfC^l*^9>4m>3?ZcY@5qh+mIxb_ejmKeWP`9#{>Q$1to8`wWxnoy z$l-)y;}dRIWWMC59Vj-6z2Ewr&jTSO{ASZDL2rbO0x#FU74bvZ$op)~2k}6J@m!Br eewGSBHW2{2b6p5KP4f=`0000NklIU{{KHAB2u;$5!q-(>wdVm`_Alqnsa(P4;4ib!d@7LG@gSX zh~pS4-}lorMF{;>p6BIx{`;p9LXP8 $('select[name='+key+'2] option:selected').val()){ - $('span#'+key).html('Donnée incohérantes') + $('span#'+key).html(''); + $('.error').css('display', 'block'); + $('.error div').html(''+key+' : '+$(this).val()+' supérieur '+$('select[name='+key+'2] option:selected').val()+', Donnée incohérantes.'); }else { + $('.error').css('display', 'none'); $('span#'+key).html(' Valider'); } }else { if($(this).val() < $('select[name='+key+'1] option:selected').val()){ - $('span#'+key).html('Donnée incohérantes') + $('span#'+key).html(''); + $('.error').css('display', 'block'); + $('.error div').html(''+key+' : '+$(this).val()+' inférieur '+$('select[name='+key+'1] option:selected').val()+', Donnée incohérantes.'); }else { $('span#'+key).html(' Valider'); } diff --git a/public/themes/default/styles/criteres/economique.css b/public/themes/default/styles/criteres/economique.css new file mode 100644 index 00000000..f51e4ce0 --- /dev/null +++ b/public/themes/default/styles/criteres/economique.css @@ -0,0 +1,85 @@ +@CHARSET "ISO-8859-1"; + +#economique .arborescence { + border-top: 1px solid #838587; + background: #b8b8b8; + background: -webkit-gradient(linear, left top, left bottom, from(#87898a), to(#b8b8b8)); + background: -webkit-linear-gradient(top, #87898a, #b8b8b8); + background: -moz-linear-gradient(top, #87898a, #b8b8b8); + background: -ms-linear-gradient(top, #87898a, #b8b8b8); + background: -o-linear-gradient(top, #87898a, #b8b8b8); + padding: 4.5px 9px; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; + -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; + -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; + box-shadow: rgba(0,0,0,1) 0 1px 0; + text-shadow: rgba(0,0,0,.4) 0 1px 0; + color: #FFFFFF; + font-size: 11px; + font-family: Georgia, serif; + text-decoration: none; + vertical-align: middle; + } +#economique .arborescence:hover { + border-top-color: #cccccc; + background: #cccccc; + color: #000000; + } +#economique .arborescence:active { + border-top-color: #3f4142; + background: #3f4142; + } + +#economique +{ + font-size:13px; + text-shadow: 1px 1px 1px white; +} + +#economique select { + width:80px; +} + +#economique li { + height:20px; + padding:5px; + border:1px solid silver; + margin-top:2px; + background-image:url('/themes/default/images/stripe.png'); + background-repeat: repeat-x; +} + +#economique li:hover { + background-image:url('/themes/default/images/stripe-hover.png'); + background-repeat: repeat-x; +} + +#link +{ + text-align:right; + margin-top:20px; + font-size:13px; +} + +a:hover +{ + text-decoration: none; + text-shadow: 1px 1px 1px #615F5F; +} + +.error { + display:block; + border:1px solid red; + height:40px; + background-color:#F8C5C5; + margin-bottom:5px; +} + +.error div { + margin-top:12px; + margin-left:5px; + color:red; + text-shadow: 1px 1px white; +} \ No newline at end of file diff --git a/public/themes/default/styles/criteres/entreprise.css b/public/themes/default/styles/criteres/entreprise.css new file mode 100644 index 00000000..ffd81029 --- /dev/null +++ b/public/themes/default/styles/criteres/entreprise.css @@ -0,0 +1,42 @@ +@CHARSET "ISO-8859-1"; + +#entreprise +{ + font-size:13px; + text-shadow: 1px 1px 1px white; +} + +#entreprise select { + width:100%; +} + +#entreprise li { + height:20px; + padding:5px; + border:1px solid silver; + margin-top:2px; + background-image:url('/themes/default/images/stripe.png'); + background-repeat: repeat-x; +} + +#entreprise li:hover { + background-image:url('/themes/default/images/stripe-hover.png'); + background-repeat: repeat-x; +} + +#entreprise li input { + width:125px; +} + +#link +{ + text-align:right; + margin-top:20px; + font-size:13px; +} + +a:hover +{ + text-decoration: none; + text-shadow: 1px 1px 1px #615F5F; +} \ No newline at end of file diff --git a/public/themes/default/styles/criteres/financiere.css b/public/themes/default/styles/criteres/financiere.css new file mode 100644 index 00000000..2065b889 --- /dev/null +++ b/public/themes/default/styles/criteres/financiere.css @@ -0,0 +1,90 @@ +@CHARSET "ISO-8859-1"; + +#financiere .arborescence { + border-top: 1px solid #838587; + background: #b8b8b8; + background: -webkit-gradient(linear, left top, left bottom, from(#87898a), to(#b8b8b8)); + background: -webkit-linear-gradient(top, #87898a, #b8b8b8); + background: -moz-linear-gradient(top, #87898a, #b8b8b8); + background: -ms-linear-gradient(top, #87898a, #b8b8b8); + background: -o-linear-gradient(top, #87898a, #b8b8b8); + padding: 4.5px 9px; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; + -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; + -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; + box-shadow: rgba(0,0,0,1) 0 1px 0; + text-shadow: rgba(0,0,0,.4) 0 1px 0; + color: #FFFFFF; + font-size: 11px; + font-family: Georgia, serif; + text-decoration: none; + vertical-align: middle; + } +#financiere .arborescence:hover { + border-top-color: #cccccc; + background: #cccccc; + color: #000000; + } +#financiere .arborescence:active { + border-top-color: #3f4142; + background: #3f4142; + } + +#financiere +{ + font-size:13px; + text-shadow: 1px 1px 1px white; +} + +#financiere select { + width:80px; +} + +#financiere li { + height:20px; + padding:5px; + border:1px solid silver; + margin-top:2px; + background-image:url('/themes/default/images/stripe.png'); + background-repeat: repeat-x; +} + +#financiere li:hover { + background-image:url('/themes/default/images/stripe-hover.png'); + background-repeat: repeat-x; +} + +#financiere select +{ + width:100%; +} + +#link +{ + text-align:right; + margin-top:20px; + font-size:13px; +} + +a:hover +{ + text-decoration: none; + text-shadow: 1px 1px 1px #615F5F; +} + +.error { + display:block; + border:1px solid red; + height:40px; + background-color:#F8C5C5; + margin-bottom:5px; +} + +.error div { + margin-top:12px; + margin-left:5px; + color:red; + text-shadow: 1px 1px white; +} \ No newline at end of file diff --git a/public/themes/default/styles/criteres/geographique.css b/public/themes/default/styles/criteres/geographique.css new file mode 100644 index 00000000..ba03288c --- /dev/null +++ b/public/themes/default/styles/criteres/geographique.css @@ -0,0 +1,83 @@ +@CHARSET "ISO-8859-1"; + +@CHARSET "ISO-8859-1"; + +#geographique .arborescence { + border-top: 1px solid #838587; + background: #b8b8b8; + background: -webkit-gradient(linear, left top, left bottom, from(#87898a), to(#b8b8b8)); + background: -webkit-linear-gradient(top, #87898a, #b8b8b8); + background: -moz-linear-gradient(top, #87898a, #b8b8b8); + background: -ms-linear-gradient(top, #87898a, #b8b8b8); + background: -o-linear-gradient(top, #87898a, #b8b8b8); + padding: 4.5px 9px; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; + -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; + -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; + box-shadow: rgba(0,0,0,1) 0 1px 0; + text-shadow: rgba(0,0,0,.4) 0 1px 0; + color: #FFFFFF; + font-size: 11px; + font-family: Georgia, serif; + text-decoration: none; + vertical-align: middle; + } +#geographique .arborescence:hover { + border-top-color: #cccccc; + background: #cccccc; + color: #000000; + } +#geographique .arborescence:active { + border-top-color: #3f4142; + background: #3f4142; + } + +#geographique +{ + font-size:13px; + text-shadow: 1px 1px 1px white; +} + +#geographique li { + height:20px; + padding:5px; + border:1px solid silver; + margin-top:2px; + background-image:url('/themes/default/images/stripe.png'); + background-repeat: repeat-x; +} + +#geographique li:hover { + background-image:url('/themes/default/images/stripe-hover.png'); + background-repeat: repeat-x; +} + +#link +{ + text-align:right; + margin-top:20px; + font-size:13px; +} + +a:hover +{ + text-decoration: none; + text-shadow: 1px 1px 1px #615F5F; +} + +.error { + display:block; + border:1px solid red; + height:40px; + background-color:#F8C5C5; + margin-bottom:5px; +} + +.error div { + margin-top:12px; + margin-left:5px; + color:red; + text-shadow: 1px 1px white; +} \ No newline at end of file diff --git a/public/themes/default/styles/criteres/juridique.css b/public/themes/default/styles/criteres/juridique.css new file mode 100644 index 00000000..ad332815 --- /dev/null +++ b/public/themes/default/styles/criteres/juridique.css @@ -0,0 +1,90 @@ +@CHARSET "ISO-8859-1"; + +#juridique .arborescence { + border-top: 1px solid #838587; + background: #b8b8b8; + background: -webkit-gradient(linear, left top, left bottom, from(#87898a), to(#b8b8b8)); + background: -webkit-linear-gradient(top, #87898a, #b8b8b8); + background: -moz-linear-gradient(top, #87898a, #b8b8b8); + background: -ms-linear-gradient(top, #87898a, #b8b8b8); + background: -o-linear-gradient(top, #87898a, #b8b8b8); + padding: 4.5px 9px; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; + -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0; + -moz-box-shadow: rgba(0,0,0,1) 0 1px 0; + box-shadow: rgba(0,0,0,1) 0 1px 0; + text-shadow: rgba(0,0,0,.4) 0 1px 0; + color: #FFFFFF; + font-size: 11px; + font-family: Georgia, serif; + text-decoration: none; + vertical-align: middle; + } +#juridique .arborescence:hover { + border-top-color: #cccccc; + background: #cccccc; + color: #000000; + } +#juridique .arborescence:active { + border-top-color: #3f4142; + background: #3f4142; + } + +#juridique +{ + font-size:13px; + text-shadow: 1px 1px 1px white; +} + +#juridique select { + width:80px; +} + +#juridique li { + height:20px; + padding:5px; + border:1px solid silver; + margin-top:2px; + background-image:url('/themes/default/images/stripe.png'); + background-repeat: repeat-x; +} + +#juridique li:hover { + background-image:url('/themes/default/images/stripe-hover.png'); + background-repeat: repeat-x; +} + +#link +{ + text-align:right; + margin-top:20px; + font-size:13px; +} + +#juridique select +{ + width:100%; +} + +a:hover +{ + text-decoration: none; + text-shadow: 1px 1px 1px #615F5F; +} + +.error { + display:block; + border:1px solid red; + height:40px; + background-color:#F8C5C5; + margin-bottom:5px; +} + +.error div { + margin-top:12px; + margin-left:5px; + color:red; + text-shadow: 1px 1px white; +} \ No newline at end of file diff --git a/public/themes/default/styles/main.css b/public/themes/default/styles/main.css index bd1475fd..d02cc32c 100644 --- a/public/themes/default/styles/main.css +++ b/public/themes/default/styles/main.css @@ -287,7 +287,6 @@ table.ciblage td { .fieldgrp { clear: both; width: 100%; - margin:1em 0; overflow: hidden; }