local.js seulement sur wcs

This commit is contained in:
root 2015-02-02 15:47:48 +01:00 committed by Thomas NOEL
parent e1f0d423f7
commit 130feab72f
4 changed files with 229 additions and 24 deletions

View File

@ -392,23 +392,30 @@ div.contact_block div.contact_autre {
color: #333;
}
/*********** refonte page d'accueil *****************/
.contact {
font-size: 1em;
padding-bottom: 5px;
border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}
.contact_titre {
#content #titre_contact{
color: #333;
font-weight: bold;
margin: 0px 0px 10px 0px;
padding: 0px 0px 10px 0px;
border: none;
}
.contact_titre h2 {
}
.contact .thumbnail {
float: left;
margin-right: 10px;
width: 300px;
}
.contact img {
@ -419,10 +426,19 @@ div.contact_block div.contact_autre {
float: right;
}
.mea {
clear: both;
vertical-align: top;
}
.mea_e01, .mea_e02 {
min-width: 50%;
min-width: 45%;
display: inline-block;
background: #ffffff;
}
.mea_e02 {
float: right;
}
.mise_en_avant_e01, .mise_en_avant_e02 {
@ -433,8 +449,209 @@ div.contact_block div.contact_autre {
overflow: hidden;
border-radius: 3px;
border: none;
clear: both;
margin-top: 15px;
}
width: 95%;
}
.mise_en_avant_e02 {
float: right;
}
.fa.fa-external-link {
display: inline-block;
margin-left: 3px;
}
.mea ul {
margin-left: 10px;
}
.mea ul li {
float: none;
}
#services > ul > li  {
display: inline-block;
}
#services > ul > li > strong > a {
color: #428bca;
text-decoration: none;
font-size: 13px;
font-weight: bold;
}
#services > ul {
padding: 0;
margin: 0px;
}
#services > ul > li {
padding: 0;
margin: 0px 0px 30px 0px;
display: inline-block;
color: #333;
width: 33%;
overflow: hidden;
min-height: 160px;
}
#services > ul > li > strong {
padding-top: 0;
border-bottom: none;
margin-bottom: 3px;
padding-bottom: 3px;
margin-top: 0;
text-align: left;
font-size: 20px;
font-weight: 600;
margin-top: -5px;
display: block;
line-height: 1em;
}
#services > ul > li > .block-edit-custom-text .vignette, #services > ul > li > .vignette {
background: url(../img/vignettes/contact-cadre-de-vie_small.jpg) no-repeat #333;
margin-right: 10px;
width: 100px;
height: 100px;
float: left;
}
#services > ul > li > .block-edit-custom-text .famille, #services > ul > li > .famille {
background: url(../img/vignettes/famille_small.jpg) no-repeat #333;
margin-right: 10px;
}
#services > ul > li > .block-edit-custom-text .etat-civil {
background: url(../img/vignettes/passeport_small.jpg) no-repeat #333;
margin-right: 10px;
}
#services > ul > li > .block-edit-custom-text .mots-cle, #services > ul > li > .mots-cle {
float: left;
max-width: 90px;
display: none;
}
#services > ul > li > .block-edit-custom-text .loisirs, #services > ul > li > .loisirs {
background: url(../img/vignettes/contact-culture-loisirs_small.jpg) no-repeat #333;
margin-right: 10px;
}
#services > ul > li > .block-edit-custom-text .introduction, #services > ul > li > .introduction {
display: none;
}
#services > ul > li > .block-edit-custom-text .economie, #services > ul > li > .economie {
background: url(../img/vignettes/contact-economie_small.jpg) no-repeat #333;
margin-right: 10px;
}
#services > ul > li > .block-edit-custom-text .sante, #services > ul > li > .sante {
background: url(../img/vignettes/contact-social_small.jpg) no-repeat #333;
margin-right: 10px;
}
#services > ul > li > .block-edit-custom-text .contacter, #services > ul > li > .contacter {
background: url(../img/vignettes/seance-du-conseil-municipal_small.jpg) no-repeat #333;
margin-right: 10px;
}
#services > ul > li > .block-edit-custom-text .communication, #services > ul > li > .communication {
background: url(../img/vignettes/image-sondage_small.jpg) no-repeat #333;
margin-right: 10px;
}
#services > ul > li > ul > li > a {
color: #333;
}
.category .block-edit-custom-text div.introduction, .category div.introduction {
background-color: #EEE;
padding: 10px;
margin: 10px;
margin-bottom: 170px;
}
.category .block-edit-custom-text .block-custom-text .vignette, .category .vignette {
background: url(../img/vignettes/image-sondage_medium.jpg) no-repeat;
margin-right: 10px;
width: 210px;
height: 210px;
float: left;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
}
.category .block-edit-custom-text .block-custom-text .famille, .category .famille {
background: url(../img/vignettes/famille_medium.jpg) no-repeat;
}
.category .block-edit-custom-text .block-custom-text .etat-civil, .category .etat-civil {
background: url(../img/vignettes/passeport_medium.jpg) no-repeat;
}
.category .block-edit-custom-text .block-custom-text .pratique, .category .pratique {
background: url(../img/vignettes/contact-cadre-de-vie_medium.jpg) no-repeat;
}
.category .block-edit-custom-text .block-custom-text .loisirs, .category .loisirs {
background: url(../img/vignettes/contact-culture-loisirs_medium.jpg) no-repeat;
}
.category .block-edit-custom-text .block-custom-text .economie, .category .economie {
background: url(../img/vignettes/contact-economie_medium.jpg) no-repeat;
}
.category .block-edit-custom-text .block-custom-text .sante, .category .sante {
background: url(../img/vignettes/contact-social_medium.jpg) no-repeat;
}
.category .block-edit-custom-text .block-custom-text .contact, .category .contact {
background: url(../img/vignettes/seance-du-conseil-municipal_medium.jpg) no-repeat;
}
.category .block-edit-custom-text .block-custom-text .communication, .category .communication {
background: url(../img/vignettes/image-sondage_medium.jpg) no-repeat;
}
.category .mots-cle {
font-weight: bold;
}
ul.catforms li:before {
content: "\f0da";
display: inline-block;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
float: left;
margin-top: 2px;
margin-right: 7px;
font-size: 13px;
margin-left: 0;
}
ul.catforms li {
background-image: none;
}
.hover {
cursor: pointer;
background-color: #f9f9f9;
}
.lien-du-bas {
background-color: #EEE;
padding: 10px;
margin: 10px;
}

View File

@ -1,14 +0,0 @@
$(document).ready(function() {
$('#services > ul > li').hover(
function(){$( this ).addClass( "hover" );},
function(){$( this ).removeClass( "hover" );}
);
$('#services > ul > li').click(
function(){
var link = $(this).children("strong").children("a").attr("href");
window.open (link+"#content","_self");
}
);
});

View File

@ -132,7 +132,6 @@
{% endif %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="{{ portal_url }}{{ STATIC_URL }}portail_citoyen/js/local.js"></script>
<script>
jQuery('#messages').delay(3000*(1+{{ messages|length }})).fadeOut('slow');
</script>

View File

@ -6,6 +6,7 @@
{% block extra_scripts %}
[script]
<script src="[theme_url]/js/local.js"></script>
{% endblock %}
{% block awesome_css %}
@ -111,7 +112,9 @@
[if-any title]<h2>[title]</h2>[end]
[body]
[if-any bigdiv]</div>[end]
[if-any bigdiv]
<div id="lien-copie"><div class="lien-du-bas">si aucun des téléservices ci-dessus ne correspond à votre besoin, <a href="#">posez ici votre question</a></div> </div>
</div>[end]
{% endblock %}
{% block rightcol %}