source: spip-zone/_plugins_/mesfavoris/mesfavoris.css.html @ 35159

Last change on this file since 35159 was 35159, checked in by brunobergot@…, 11 years ago

une page de config pour choisir le style du formulaire public + la css est insérée par insert_head plutôt que depuis le formulaire

File size: 3.4 KB
Line 
1#CACHE{7*24*3600}
2#HTTP_HEADER{Content-Type: text/css; charset=utf-8}
3#HTTP_HEADER{Vary: Accept-Encoding}
4
5[(#REM)
6
7  Squelette
8  (c) 2009 xxx
9  Distribue sous licence GPL
10        <style>
11]
12.formulaire_favori {float:right;}
13.formulaire_favori form button {cursor: pointer;border:0;background-color:transparent;text-align:right;padding:2px 0;}
14
15[(#CONFIG{mesfavoris/style_formulaire,32}|=={16}|oui)
16/* Icone favoris 16px */
17.formulaire_favori form button.ajouter_favori img {visibility: hidden;}
18.formulaire_favori form button.ajouter_favori {background: url([(#CHEMIN{images/favoris-grey-add-16.png})]) no-repeat center right;}
19.formulaire_favori form button.ajouter_favori:hover {background-image: url([(#CHEMIN{images/favoris-add-16.png})]);}
20
21.formulaire_favori form button.retirer_favori img {visibility: hidden;}
22.formulaire_favori form button.retirer_favori span {visibility:hidden;}
23.formulaire_favori form button.retirer_favori {background: url([(#CHEMIN{images/favoris-16.png})]) no-repeat center right;}
24.formulaire_favori form button.retirer_favori:hover {background-image: url([(#CHEMIN{images/favoris-grey-remove-16.png})]);}
25.formulaire_favori form button.retirer_favori:hover span {visibility:visible;}
26]
27[(#CONFIG{mesfavoris/style_formulaire,32}|=={32}|oui)
28/* Icone favoris 32px */
29.formulaire_favori form button span {display:block;padding-bottom:5px;width:50px;}
30.formulaire_favori form button.ajouter_favori img {visibility: hidden;width:32px;height:32px}
31.formulaire_favori form button.ajouter_favori span {visibility:hidden;}
32.formulaire_favori form button.ajouter_favori {background: url([(#CHEMIN{images/favoris-grey-add-32.png})]) no-repeat center right;}
33.formulaire_favori form button.ajouter_favori:hover {background-image: url([(#CHEMIN{images/favoris-add-32.png})]);}
34.formulaire_favori form button.ajouter_favori:hover span {visibility:visible;}
35
36.formulaire_favori form button.retirer_favori img {visibility: hidden;width:32px;height:32px}
37.formulaire_favori form button.retirer_favori span {visibility:hidden;}
38.formulaire_favori form button.retirer_favori {background: url([(#CHEMIN{images/favoris-32.png})]) no-repeat center right;}
39.formulaire_favori form button.retirer_favori:hover {background-image: url([(#CHEMIN{images/favoris-grey-remove-32.png})]);}
40.formulaire_favori form button.retirer_favori:hover span {visibility:visible;}
41]
42[(#CONFIG{mesfavoris/style_formulaire,32}|=={24}|oui)
43/* Icone Bookmark 24px */
44.formulaire_favori form button span {display:block;padding-bottom:0px;width:50px;}
45.formulaire_favori form button.ajouter_favori img {visibility: hidden;width:24px;height:24px}
46.formulaire_favori form button.ajouter_favori span {visibility:hidden;}
47.formulaire_favori form button.ajouter_favori {background: url([(#CHEMIN{images/bookmark-grey-add-24.png})]) no-repeat bottom right;}
48.formulaire_favori form button.ajouter_favori:hover {background-image: url([(#CHEMIN{images/bookmark-add-24.png})]);}
49.formulaire_favori form button.ajouter_favori:hover span {visibility:visible;}
50
51.formulaire_favori form button.retirer_favori img {visibility: hidden;width:24px;height:24px}
52.formulaire_favori form button.retirer_favori span {visibility:hidden;}
53.formulaire_favori form button.retirer_favori {background: url([(#CHEMIN{images/bookmark-24.png})]) no-repeat bottom right;}
54.formulaire_favori form button.retirer_favori:hover {background-image: url([(#CHEMIN{images/bookmark-grey-remove-24.png})]);}
55.formulaire_favori form button.retirer_favori:hover span {visibility:visible;}
56]
Note: See TracBrowser for help on using the repository browser.