source: spip-zone/_plugins_/spip-plans/css_plan_prive.html @ 107989

Last change on this file since 107989 was 28479, checked in by pierre.basson@…, 11 years ago

spip-plans : #CHEMIN

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