source: spip-zone/_plugins_/spip-plans/css_plan.html @ 113492

Last change on this file since 113492 was 28464, checked in by brunobergot@…, 12 years ago

pour que l'image ne perde pas son chemin...

File size: 1.8 KB
Line 
1[(#HTTP_HEADER{Content-type: text/css})]
2
3dl.plan.on {
4        position: relative;
5        text-align: left;
6        padding: 0px;
7}
8
9dl.plan.on  * {
10        padding: 0;
11        margin: 0;
12}
13
14dl.plan.on dt {
15        list-style: none;
16        display: inline;
17}
18
19dl.plan.on dd {
20        position: absolute;
21        left: -9999px;
22        width: 150px;
23        padding: 4px;
24        border: #000 2px solid;
25        background: #fff;
26        color: #000;
27        font-family: arial, sans-serif;
28        z-index: 100;
29        font-size: 1em;
30}
31
32dl.plan.on dd img {
33        position: relative;
34        float: right;
35        border: #000 1px solid;
36        margin: 2px;
37}
38
39dl.plan.on a.point {
40        display: block;
41        position: absolute;
42        text-indent: -9999px;
43        background: url([(#CHEMIN{prive/images/aide.gif})]) no-repeat;
44        width: 12px;
45        height: 12px;
46        outline: none;
47        z-index: 10;
48        text-decoration: none;
49}
50
51dl.plan.on a.point:hover {
52}
53
54dl.plan.on dd a {
55        text-decoration: none;
56        color: #000;
57}
58
59<BOUCLE_plans(PLANS) {tout}>
60dl.plan.on#plan_#ID_PLAN {
61        width: [(#LOGO_PLAN_NORMAL||extraire_attribut{width})]px;
62        height: [(#LOGO_PLAN_NORMAL||extraire_attribut{height})]px;
63        background: url("[(#LOGO_PLAN_NORMAL||extraire_attribut{src})]") no-repeat;
64}
65
66[dl.plan.on#plan_#ID_PLAN a.point {
67        background: url("(#LOGO_PLAN_SURVOL||extraire_attribut{src})") no-repeat;
68        width: [(#LOGO_PLAN_SURVOL||extraire_attribut{width})]px;
69        height: [(#LOGO_PLAN_SURVOL||extraire_attribut{height})]px;
70}
71
72]<BOUCLE_points(POINTS) {id_plan}>
73dl.plan.on a.point#point_#ID_POINT {
74        z-index: [(#Z_INDEX|plus{10})];
75        top: #ORDONNEEpx;
76        left: #ABSCISSEpx;
77[       background: url((#LOGO_POINT_NORMAL||extraire_attribut{src})) no-repeat;
78        width: [(#LOGO_POINT_NORMAL||extraire_attribut{width})]px;
79        height: [(#LOGO_POINT_NORMAL||extraire_attribut{height})]px;
80]}
81[
82dl.plan.on a.point#point_#ID_POINT:hover {
83        background: url((#LOGO_POINT_SURVOL||extraire_attribut{src})) no-repeat;
84}
85]</BOUCLE_points>
86</BOUCLE_plans>
Note: See TracBrowser for help on using the repository browser.