Bonjour à tous,

Pour le taf je suis en train de créer une carte de suivi des travaux du RER A.

J'aimerais que les informations qui s'affichent lors du survol du nom d'une gare à la souris, s'affichent également et reste affichées, lorsque je clique sur le nom d'une gare.

Après avoir checker sur le net, il me semble qu'il m'est impossible de le faire via du CSS mais du JS.
Avez-vous des idées ?

Je vous remercie d'avance

Je vous ai mis un exemple pour une gare un peu plus bas, sinon voici tout le projet:
RERA.zip

Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE>
<html>
<head>
    <title>Migration Ligne A Phase 2</title>
    <meta charset="utf-8">
    <meta name="viewport" content="" width=device-width, initial-scale="1.0, maximum-scale=1.0, minimal-ui"/>
    <link rel="stylesheet" href="">
    <style type="text/css">
        .st0{fill:none;stroke:#000000;stroke-width:60;stroke-linecap:round;}
        .st1{fill:none;stroke:#E2231A;stroke-width:60;stroke-linecap:round;}
        .st2{stroke:#E2231A;stroke-width:60;stroke-linecap:round;}
        .st3{fill:none;stroke:#E2231A;stroke-width:60;stroke-linecap:round;stroke-dasharray:12.5101,12.5101;}
        .st4{fill:#1D1D1B;}
        .st5{font-family:'parisine office';}
        .st6{font-size:70px;}
        .st7{font-size:60px;}
        .st8{stroke:#FFFFFF;stroke-miterlimit:10;}
        .st9{enable-background:new    ;}
        .st10{fill:#FFFFFF;}
        .st11{fill:#050D9E;}
        .st12{fill:#E2231A;}
        .st13{stroke:#000000;stroke-width:5;}
        .st14{fill:none;}
        .st15{font-family:'parisine office';}
        .st16{font-size:51.4862px;}
        .st17{font-size:51.4859px;}
        .st18{font-size:120px;}
        .st19{fill:#FFFFFF;stroke:#FFFFFF;stroke-width:4;}
        .st20{fill:none;stroke:#000000;}
        .st21{fill:none;stroke:#000000;stroke-width:2;}
        .st22{fill:none;stroke:#000000;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:10;}
        .st23{fill:none;stroke:#E2231A;stroke-width:60;}
        .st24{stroke:#1D1D1B;stroke-width:4;}
        .st25{fill:none;stroke:#1D1D1B;stroke-width:2;stroke-dasharray:12;}
        .st26{fill:#B0C2DB;}
        .st27{opacity:0.25;fill:url(#SVGID_1_);}
        .st28{fill:#FFFFFF;stroke:#1D1D1B;stroke-miterlimit:10;stroke-dasharray:12;}
        .st29{stroke:#000000;stroke-miterlimit:10;}
        .st30{font-size:48.7784px;}
        .st31{fill:none;stroke:#000000;stroke-width:5;}
        .st32{font-family:'parisine office';}
        .st33{font-size:52.7592px;}
        .st34{font-size:53px;}
        .st35{fill:none;stroke:#1D1D1B;stroke-miterlimit:10;}
 
/* villes : text et circle au survol */
        .ville {
            cursor:pointer;
        }
        .ville:hover>text:not(.desc) {
            fill: red;
        }
 
        .ville:hover>circle {
            font-weight: bold;
            stroke: black;
            stroke-width:4;
        }
        .ville:hover>line{
            stroke: red;
            stroke-width:4;
        }
 
        /* description */
        .ville>text.desc{
            font-size:70px;
            fill:darkblue;
            display:none;
            font-family:"parisine office";
            /* on masque */
        }
        .ville:hover>text.desc {
            display: block;
            /* on affiche */
        }
/* périmètre : text au survol*/
        .micky {
            cursor:pointer;
            transition: all 0.3s ease;
            display: inline-block;
            fill: #FF7BAC;
            font-family: "parisine office";
        }
 
        #micky-gradient{
            opacity: .25;
            fill: url(#gradient);
            -webkit-transition: opacity .4s ease-in-out;
            -moz-tranition: opacity .4s ease-in-out;
            -o-transition: opacity .4s ease-in-out;
            transition: opacity .4s ease-in-out;
        }
 
        .micky:hover #micky-gradient {
            opacity: .0;
        }
 
        #micky-gradient-2 {
            opacity: 0;
            fill: url(#gradient-2);
            -webkit-transition: opacity .4s ease-in-out;
            -moz-tranition: opacity .4s ease-in-out;
            -o-transition: opacity .4s ease-in-out;
            transition: opacity .4s ease-in-out;
        }
.micky:hover #micky-gradient-2 {
    opacity: .25;
}
 
.micky>text.desc1 {
    font-size: 80px;
    fill: darkblue;
    display: none;
    /* on masque */
}
        .micky:hover>text.desc1 {
            display: block;
            /* on affiche */
        }
    </style>
</head>
<body>
<!--branche A1-->
        <!--gare de Saint-Germain-en-Laye A1-->
    <g class="ville">
    <text transform="matrix(0.5 -0.866 0.866 0.5 1779.65185 3218.4145)" class="st5 st6">Saint-Germain-en-Laye</text>
    <circle id="circle4777_44_" class="st19" cx="2128.6" cy="2496" r="22.5"/>
        <line class="st25" x1="1934.1" y1="3056.1" x2="1934.1" y2="3342"/>
        <line class="st35" x1="1867.6" y1="3830" x2="1999.1" y2="3830"/>
        <line class="st28" x1="1844.8" y1="4282" x2="1844.8" y2="3388"/>
        <line class="st28" x1="2023.4" y1="4282" x2="2023.4" y2="3388"/>
 
        <g class="station-infos">
 
    <!-- phase 2.1 Saint-Germain-en-Laye A1-->
    <g style="fill: black;" class="station-icon phase1">
    <text transform="matrix(0.862 0 0 1 1896.2739 3484.6711)" class="st32 st34">2.1</text>
    <g transform="translate(0.000000,1280.000000) scale(0.100000,-0.100000)">
	<path class="st31" d="M19314.3-21351.5c-111.2-5.9-216-45.3-301.3-113.1c-22.4-17.9-51.5-45.5-69.1-65.8
		c-67.4-77.5-110.2-170.5-124.6-271.3c-4-27.8-4.9-41.6-4.9-74.7c0-33.1,0.9-46.9,4.9-74.7c14.5-101.4,57.2-194.1,125.4-272.1
		c10.8-12.4,36.6-38.1,48.6-48.6c77.5-67.4,170.5-110.2,271.4-124.6c27.8-4,41.6-4.9,74.7-4.9s46.9,0.9,74.7,4.9
		c92.6,13.3,180,51,252.5,108.9c30.5,24.4,60.3,54.3,84.7,84.8c51.5,64.7,87.9,143.5,103.7,224.4c7.1,36,9.4,62,9.4,101.8
		c0,33.1-0.9,46.9-4.9,74.7c-14.4,100.8-57.2,193.8-124.6,271.3c-10.5,12-36.2,37.8-48.6,48.6c-85.3,74.5-187.4,118.2-300.4,128.7
		C19372.4-21351.8,19326.9-21350.8,19314.3-21351.5z"/>
    </g>
    </g>
    <!-- STA Saint-Germain-en-Laye A1-->
    <g style="fill: black;" class="station-icon sta">
		<path d="M1943.3,3624.4c-6.1-3.1-13-7.7-19.8-14.2c-6.9-6.5-11.7-13.1-14.9-18.9l5.3-13.6l-17.9-26.5l-5.9,5.6l0,0
			c0,0-0.1,0.1-0.1,0.1c-14.9,14.1-6.9,43.1,18.7,67.4c25.5,24.3,56,31.9,70.9,17.7c0,0,0.1-0.1,0.1-0.1l5.9-5.6l-27.8-17
			L1943.3,3624.4z"/>
        <path d="M1977.2,3602.2h8.2c0-28.1-24-51-53.6-51v7.8C1956.8,3559.1,1977.2,3578.4,1977.2,3602.2z"/>
        <path d="M1960.7,3602.2h8.2c0-19.5-16.6-35.3-37.1-35.3v7.8C1947.7,3574.8,1960.7,3587.1,1960.7,3602.2z"/>
        <path d="M1944.2,3602.2h8.2c0-10.8-9.3-19.6-20.6-19.6v7.8C1938.6,3590.4,1944.2,3595.7,1944.2,3602.2z"/>
	</g>
    <!-- SAE Saint-Germain-en-Laye A1-->
    <g style="fill: black;" class="station-icon sae">
    <text transform="matrix(0.8515 0 0 1 1892.2295 3733.5344)" class="st29 st5 st30">SAE</text>
    <g>
			<path d="M1888.4,3757.8h35.7v9.9h-7c-1.2,0-2.1,0.9-2.1,2.1v6.2c0,1.2,0.9,2.1,2.1,2.1h33.6c1.2,0,2.1-0.9,2.1-2.1v-6.2
				c0-1.2-0.9-2.1-2.1-2.1h-7v-9.9h35.7c4.8,0,8.8-4,8.8-8.9v-62.3c0-4.9-3.9-8.9-8.8-8.9h-91.1c-4.8,0-8.8,4-8.8,8.9v62.3
				C1879.6,3753.9,1883.5,3757.8,1888.4,3757.8z M1891.6,3689.9h84.7v55.8h-84.7V3689.9z"/>
		</g>
    </g>
    <!-- phase 2.2 Saint-Germain-en-Laye A1-->
    <g style="fill: black;" class="station-icon phase2">
        <text transform="matrix(0.862 0 0 1 1896.2964 3939.5149)" class="st32 st33">2.2</text>
        <g transform="translate(0.000000,1280.000000) scale(0.100000,-0.100000)">
	<path class="st31" d="M19314.3-25887.5c-111.2-5.9-216-45.3-301.3-113.1c-22.4-17.9-51.5-45.5-69.1-65.8
		c-67.4-77.5-110.2-170.5-124.6-271.3c-4-27.8-4.9-41.6-4.9-74.7c0-33.1,0.9-46.9,4.9-74.7c14.5-101.4,57.2-194.1,125.4-272.1
		c10.8-12.4,36.6-38.1,48.6-48.6c77.5-67.4,170.5-110.2,271.4-124.6c27.8-4,41.6-4.9,74.7-4.9s46.9,0.9,74.7,4.9
		c92.6,13.3,180,51,252.5,108.9c30.5,24.4,60.3,54.3,84.7,84.8c51.5,64.7,87.9,143.5,103.7,224.4c7.1,36,9.4,62,9.4,101.8
		c0,33.1-0.9,46.9-4.9,74.7c-14.4,100.8-57.2,193.8-124.6,271.3c-10.5,12-36.2,37.8-48.6,48.6c-85.3,74.5-187.4,118.2-300.4,128.7
		C19372.4-25887.9,19326.9-25886.9,19314.3-25887.5z"/>
</g>
    </g>
    <!-- sonorisation Saint-Germain-en-Laye A1-->
    <g style="fill: black;" class="station-icon sono">
	<path d="M1928.6,4006.7c-1,0-1.9,0.3-2.7,0.9c-0.1,0.1-0.2,0.1-0.2,0.2l-23.4,22.8h-18.4c-1,0-1.7,0.9-1.7,2v37.8
		c0,0.5,0.2,1,0.5,1.4c0.3,0.4,0.8,0.6,1.2,0.6l18.3,0l23.4,24.7c0.1,0.1,0.2,0.2,0.3,0.2c0.8,0.6,1.8,0.9,2.7,0.9
		c3,0,5.4-2.8,5.4-6.3V4013C1933.9,4009.5,1931.5,4006.7,1928.6,4006.7z"/>
        <path d="M1972,4051.4c0-16.6-9.2-31.3-22.9-36.7c-0.9-0.4-1.9,0.2-2.2,1.2c-0.3,1,0.2,2.2,1.1,2.5c12.3,4.8,20.5,18,20.5,32.9
		c0,14.9-8.2,28.1-20.5,32.9c-0.9,0.4-1.4,1.5-1.1,2.5c0.2,0.8,0.9,1.3,1.6,1.3c0.2,0,0.4,0,0.6-0.1
		C1962.8,4082.8,1972,4068,1972,4051.4z"/>
        <path d="M1958.9,4004.7c-0.9-0.4-1.9,0-2.3,1.1c-0.4,1,0,2.2,0.9,2.6c15,7.3,24.8,24.2,24.8,43c0,19.4-10.2,36.6-25.9,43.6
		c-0.9,0.4-1.3,1.5-1,2.6c0.3,0.8,0.9,1.3,1.6,1.3c0.2,0,0.4,0,0.6-0.1c17.1-7.6,28.2-26.2,28.2-47.3
		C1985.8,4031,1975.2,4012.7,1958.9,4004.7z"/>
        <path d="M1956.4,4051.4c0-11.9-6.9-22.5-16.8-25.8c-0.9-0.3-1.9,0.3-2.1,1.4c-0.3,1.1,0.3,2.2,1.2,2.5c8.4,2.8,14.4,11.8,14.4,22
		c0,10.1-5.9,19.1-14.4,22c-0.9,0.3-1.4,1.4-1.2,2.5c0.2,0.9,0.9,1.4,1.7,1.4c0.2,0,0.3,0,0.5-0.1
		C1949.5,4073.9,1956.4,4063.3,1956.4,4051.4z"/>
</g>
    <!-- Totem Saint-Germain-en-Laye A1-->
		<g style="fill: black;" class="station-icon mobilier">
			<path d="M1885.2,4215.1h38.2v9.8h-7.5c-1.2,0-2.3,0.9-2.3,2.1v6.1c0,1.2,1,2.1,2.3,2.1h35.9c1.2,0,2.3-0.9,2.3-2.1v-6.1
				c0-1.2-1-2.1-2.3-2.1h-7.5v-9.8h38.2c5.2,0,9.4-3.9,9.4-8.8v-61.6c0-4.8-4.2-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