mobile: handle more categories

This commit is contained in:
Frédéric Péters 2014-11-25 16:57:39 +01:00
parent b8a4dba7db
commit 4086759a00
6 changed files with 26 additions and 1 deletions

View File

@ -75,7 +75,7 @@ ul#categories li {
text-align: center;
vertical-align: bottom;
display: table;
background: url(mobile/58303-42.png) center center no-repeat;
background: transparent center center no-repeat;
}
ul#categories li a {
@ -256,10 +256,14 @@ div#services #category-formalites-administratives strong {
background-image: url(../images/categories/icon_document_32231.png);
}
div#services #category-enfance strong,
div#services #category-enfance-et-jeunesse strong,
div#services #category-enfance-jeunesse strong,
div#services #category-vos-enfants strong {
background-image: url(../images/categories/icon_people_39826.png);
}
div#services #category-sports-et-loisirs strong,
div#services #category-sport strong {
background-image: url(../images/categories/icon_triathlon_10860.png);
}
@ -276,6 +280,8 @@ div#services #category-associations strong {
background-image: url(../images/categories/icon_association_64055.png);
}
div#services #category-evenementiel strong,
div#services #category-evenements strong,
div#services #category-evenement-et-manifestation strong {
background-image: url(../images/categories/icon_convention-center_64233.png);
}
@ -284,12 +290,19 @@ div#services #category-tourisme strong {
background-image: url(../images/categories/icon_tourist_22637.png);
}
div#services #category-contact strong,
div#services #category-contacter-la-mairie strong,
div#services #category-contactez-nous strong,
div#services #category-contacts strong,
div#services #category-contacts-et-rendez-vous strong,
div#services #category-montpellier-mediterranee-metropole-vous-repond strong {
background-image: url(../images/categories/icon_email_12513.png);
}
div#services #category-consultations strong {
background-image: url(../images/categories/icon_consultation_40124.png);
}
div#services > ul > li.active {
width: 100%;
}

View File

@ -21,6 +21,7 @@ mapping = {
'38588': 'shopping-cart',
'39826': 'people',
'39567': 'tools',
'40124': 'consultation',
'49638': 'event',
'58303': 'placeholder',
'62444': 'fireworks',

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" id="svg" x="0px" y="0px" width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
<path fill="#000000" d="M43.75,52.5V50c0-0.69-0.56-1.25-1.25-1.25h-3.75V45c0-0.69-0.56-1.25-1.25-1.25H35 c-0.69,0-1.25,0.56-1.25,1.25v3.75H30c-0.69,0-1.25,0.56-1.25,1.25v2.5c0,0.689,0.56,1.25,1.25,1.25h3.75v3.75 c0,0.689,0.56,1.25,1.25,1.25h2.5c0.69,0,1.25-0.561,1.25-1.25v-3.75h3.75C43.19,53.75,43.75,53.189,43.75,52.5z M27.5,71.25 c0.33,0,0.649-0.13,0.88-0.37c0.24-0.229,0.37-0.55,0.37-0.88s-0.13-0.65-0.37-0.891c-0.47-0.461-1.3-0.461-1.771,0.011 C26.38,69.35,26.25,69.67,26.25,70s0.13,0.648,0.359,0.88C26.85,71.12,27.17,71.25,27.5,71.25z M71.62,69.109 c-0.24,0.24-0.37,0.561-0.37,0.891s0.13,0.648,0.37,0.88c0.229,0.24,0.55,0.37,0.88,0.37s0.648-0.13,0.891-0.37 C73.62,70.65,73.75,70.33,73.75,70s-0.13-0.65-0.37-0.891C72.91,68.648,72.08,68.648,71.62,69.109z M57.5,68.75h-15 c-0.69,0-1.25,0.561-1.25,1.25s0.56,1.25,1.25,1.25h15c0.689,0,1.25-0.561,1.25-1.25S58.189,68.75,57.5,68.75z M93.618,64.441 l-7.5-15C85.906,49.018,85.475,48.75,85,48.75H63.271l-6.25-12.5H65h2.5h9.229l2.153,4.309c0.22,0.438,0.66,0.691,1.119,0.691 c0.188,0,0.379-0.042,0.558-0.132c0.619-0.309,0.869-1.06,0.561-1.677l-2.5-5c-0.212-0.424-0.645-0.691-1.118-0.691h-6.452 c0.117-0.373,0.202-0.777,0.202-1.25c0-3.282-2.517-5-5-5s-5,1.718-5,5c0,0.473,0.085,0.877,0.202,1.25H55h-2.5H15 c-0.552,0-1.039,0.362-1.197,0.891l-7.5,25C6.268,59.758,6.25,59.878,6.25,60v5c0,3.445,2.804,6.25,6.25,6.25h6.35 c0.609,4.232,4.251,7.5,8.65,7.5c4.825,0,8.75-3.925,8.75-8.75s-3.925-8.75-8.75-8.75c-4.399,0-8.041,3.268-8.65,7.5H12.5 c-2.067,0-3.75-1.684-3.75-3.75v-4.816l7.18-23.934H52.5h1.729l7.153,14.309c0.212,0.424,0.646,0.691,1.118,0.691h21.729 l7.013,14.025c-0.142,1.938-1.765,3.475-3.74,3.475H81.15c-0.608-4.232-4.25-7.5-8.649-7.5c-4.825,0-8.75,3.925-8.75,8.75 s3.925,8.75,8.75,8.75c4.399,0,8.041-3.268,8.649-7.5h6.351c3.446,0,6.25-2.805,6.25-6.25C93.75,64.807,93.705,64.614,93.618,64.441 z M66.25,30c1.152,0,2.5,0.654,2.5,2.5c0,1.004-0.686,1.234-1.26,1.25H65c-0.376,0-1.25-0.122-1.25-1.25 C63.75,30.654,65.098,30,66.25,30z M27.5,63.75c3.446,0,6.25,2.805,6.25,6.25s-2.804,6.25-6.25,6.25s-6.25-2.805-6.25-6.25 S24.054,63.75,27.5,63.75z M72.5,76.25c-3.445,0-6.25-2.805-6.25-6.25s2.805-6.25,6.25-6.25s6.25,2.805,6.25,6.25 S75.945,76.25,72.5,76.25z"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -0,0 +1,8 @@
Thank you for using The Noun Project. This icon is licensed under Creative
Commons Attribution and must be attributed as:
Ambulance by Wojciech Zasina from The Noun Project
If you have a Premium Account or have purchased a license for this icon, you
don't need to worry about attribution! We will share the profits from your
purchase with this icon's designer.