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 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417
| <div></div><div>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Career</title>
<style>
/*Maintenu par Camille BLANC, SIRH. Le code a été développé en 10/2025. on retrouve dans ce code 3 grandes catégories :
- LE HTML. partie qui formate la page, avec le paramétrage du body, le paramétrage du conteneur principal et le footer que j'ai caché (display:none)
- LE RESPONSIVE. Pour s'adapter sur les différents écrans (en sus de la notion de viewport_content visible en introduction pour la partie mobile device).
- Le CSS. pour éviter de dupliquer trop de code dans les divs, on va créer des .div_Class auxquels on fera appel entre les balises <STYLE>
- Le STYLE. les 2 gros DIV_CLASS sont "avril_mycareer" et "avril_mycareer_outer" qui donne le cadre de la page en structurant les box (appelés TILE dans ce code) et la mise en page.
Les boxs sont paramétrés en faisant appel à une GRID paramétré dans le code (.grid-col_...)
J'ai intégré un keyframe pour une animation sur la flêche arrow.
Les notions de "hover" aux différents endroits du code signifie "survol" : au passage de la souris.
Le body est en overflow : hidden, ce qui signifie: pas de scroll. le z-index dans le body before est positionné à -10.
J'ai mis une valeur au hasard, le tout étant que ça se situe en dessous de l'index du container où se trouve les wiggets (boite de réception / mes tâches)
> pour que la couche "before" se trouve en dessous : gestion de l'opacité de l'image : modifiable dans le background-color : position 0.4)
des annotations sont ajoutés dans les codes CSS afin de comprendre les fonctionnalités du code appliqué.
dans le STYLE principal, on va retrouver 4 sections : la section de mise en forme globale (main container, content row et grid), ensuite la mise en forme de l'entête "Bonjour..." puis ensuite les 4 tuiles.
*/
html, body {
display: flex;
flex-direction: column;
height: 100vh;
margin: 0;
padding: 0;
overflow: hidden;
}
/* ✅ Ajout d'une couleur de fond immédiate */
body {
background-color: #ffffff; /* couleur de secours */
background-image: url('/clientimg/groupeavril/welcome/WP/welcomePage.jpg');
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
position: relative;
}
/* ✅ Couche sombre sans animation ni délai */
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.4);
pointer-events: none;
z-index: -10;
opacity: 1; /* affichée immédiatement */
}
.main-container {
margin: 0 auto;
width: 100%;
flex: 1;
box-sizing: border-box;
}
.df-footer {
display: none;
}
/* Responsive : pour les écrans < 768px */
@media (max-width: 768px) {
.main-container {
padding: 0.5rem;
}
/* Responsive : pour les petits écrans de PC (769px à 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
.main-container {
padding: 0.75rem;
}
/* Responsive : pour les écrans normales de PC (1080px) */
@media (min-width: 1080px) {
.main-container {
padding: 1 rem;
}
</style>
<!-- START AVRIL_MYCAREER SECTION -->
<section class="avril_mycareer_outer">
<div class="avril_mycareer">
<style type="text/css">
.arrow {
display: inline-block;
margin-left: 8px;
transition: transform 0.4s ease-in-out;
animation: none;
}
.avril_mycareer_tile:hover .arrow {
font-size: 2em;
animation: moveArrow 1s infinite ease-in-out;
}
.avril_mycareer_outer {
box-sizing: border-box;
-moz-box-sizing: border-box;
list-style: none;
border: none;
text-decoration: none;
font-weight: inherit;
border-collapse: collapse;
vertical-align: middle;
-webkit-font-smoothing: antialiased;
outline: 0; }
.avril_mycareer h1 /*mise en forme du Bonjour, ...*/{
color: #ffffff;
font-size: 72px;
line-height: 60px;
font-weight: 900;
margin: 0 0 15px 0;
}
.avril_mycareer div.subheading {
color: #ffffff;
font-size: 18px;
font-weight: 400;
margin: 0 0 10px 0;
max-width: 600px;
line-height: 1;
}
.avril_mycareer_subhead_buttons
{
/* ajoute de l'espace autour du bouton */
padding : 1em 0 4em 0;
}
.avril_mycareer_subhead_buttons a
{
background-color : #FFFFFF;
padding: 2em;
box-shadow: 6px 6px 3px #517E91;
border-radius : 20px;
}
.avril_mycareer_subhead_buttons a:hover
{
/* déplace le bouton au survol */
position : relative;
top : 2px;
left : 2px;
background-color : #FFFFFF;
box-shadow: 4px 4px 3px #517E91;
}
.avril_mycareer_subhead_buttons a:hover,
.avril_mycareer_tile:hover .avril_mycareer_tile_link,
.avril_mycareer_tile:hover .avril_mycareer_tile_title,
.avril_mycareer_tile:hover .avril_mycareer_tile_text {
color: #000000 !important;
}
.avril_mycareer_no_tiles .avril_mycareer_no_tiles_subhead_buttons
.avril-btn-secondary-white:hover {
border-color: #2196f3);
}
.avril_mycareer .avril_mycareer_tile {
/**/ border-color: #ffffff;
border: 3px solid #fff;
transition: background-color .4s;
padding: 24px 24px 24px 24px;
border-radius: 6px;
margin-bottom: 15px;
transition: all .2s;
position: relative;
display: block;
}
.avril_mycareer .avril_mycareer_tile .avril_mycareer_tile_title {
/**/ color: #ffffff;
font-weight: 600;
font-size: 24px;
line-height: 32px;
transition: all 0.2s;
}
.avril_mycareer .avril_mycareer_tile .avril_mycareer_tile_text {
/**/ color: #ffffff;
color: #ffffff;
font-weight: 400;
font-size: 16px;
display: block;
position: absolute !important;
top: 110px;
line-height: 1.5;
transition: all 0.2s;
width: calc(100% - 48px);
}
.avril_mycareer .avril_mycareer_tile .avril_mycareer_tile_link {
/**/ color: #ffffff;
/**/ position: absolute;
position: absolute;
bottom: 20px;
font-size: 13px;
opacity: 1;
font-weight: 500;
color: #FFFFFF;
}
.avril_mycareer .avril_mycareer_tile:hover {
background-color : #FFFFFF; color : #000000;
}
.avril_mycareer_tile_link {
/**/ color: #ffffff;
text-decoration: none;
border-color: #ffffff;
align-items: center;
display: inline-flex;
}
.avril_mycareer .avril_mycareer_tile .avril_mycareer_tile_inner {
height: 200px;
padding: 0 0 15px 0;
/* position: relative; */
}
.content-row{
display: flex;
flex-wrap: wrap;
max-height: 100vh;
}
.grid-wrapper {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
gap: 30px;
}
.grid-col.col-1 {
grid-column: span 1;
width: 100%;
flex: auto;
}
.grid-col.col-2 {
grid-column: span 2;
width: 100%;
flex: auto;
}
.grid-col.col-3 {
grid-column: span 3;
width: 100%;
flex: auto;
}
.grid-col.col-4 {
grid-column: span 4;
width: 100%;
flex: auto;
}
.grid-col.col-5 {
grid-column: span 5;
width: 100%;
flex: auto;
}
.grid-col.col-6 {
grid-column: span 6;
width: 100%;
flex: auto;
}
.grid-col.col-7 {
grid-column: span 7;
width: 100%;
}
.grid-col.col-8 {
grid-column: span 8;
width: 100%;
flex: auto;
}
.grid-col.col-9 {
grid-column: span 9;
width: 100%;
flex: auto;
}
.grid-col.col-10 {
grid-column: span 10;
width: 100%;
flex: auto;
}
.grid-col.col-11 {
grid-column: span 11;
width: 100%;
flex: auto;
}
.grid-col.col-12 {
grid-column: span 12;
width: 100%;
flex: auto;
}
</style>
<div class="main-container">
<div class="content-row">
<div class="grid-wrapper">
<div class="grid-col col-11">
<p class="subheading" style="text-align: left; margin-left: 80px;"> </p><p class="subheading" style="text-align: left; margin-left: 80px;"> </p><p class="subheading" style="text-align: left; margin-left: 80px;"> </p>
</div>
</div>
</div>
<div class="content-row">
<div class="grid-wrapper">
<div class="grid-col col-12">
<div class="avril_mycareer_subhead_buttons">
<a href="/phnx/driver.aspx?routename=Social/UniversalProfile/Bio" target="_top"><font size="4">Votre profil</font></a>
</div>
</div>
</div>
</div>
<div class="content-row">
<div class="grid-wrapper">
<div class="grid-col col-3">
<a class="avril_mycareer_tile" href="/ui/lms-learner-home/home?tab_page_id=-200300006" target="_top">
<div class="avril_mycareer_tile_inner">
<div class="avril_mycareer_tile_title">Vos feedbacks</div>
<div class="avril_mycareer_tile_text"> Consultez et gérez les demandes de feedbacks avec vos pairs.</div>
<span class="avril_mycareer_tile_link">J'y vais <span class="arrow">➡</span></span>
</div>
</a>
</div>
<div class="grid-col col-3">
<a class="avril_mycareer_tile" href="/phnx/driver.aspx?routename=Social/UniversalProfile/Snapshot/Goals" target="_top">
<div class="avril_mycareer_tile_inner">
<div class="avril_mycareer_tile_title">Vos objectifs</div>
<div class="avril_mycareer_tile_text"> Consultez et gérez vos objectifs de carrière.</div>
<span class="avril_mycareer_tile_link">J'y vais <span class="arrow">➡</span></span>
</div>
</a>
</div>
<div class="grid-col col-3">
<a class="avril_mycareer_tile" href="https://groupeavril.csod.com/ui/lms-learner-home/home" target="_top">
<div class="avril_mycareer_tile_inner">
<div class="avril_mycareer_tile_title">Vos entretiens</div>
<div class="avril_mycareer_tile_text"> Consultez et gérez vos entretiens.</div>
<span class="avril_mycareer_tile_link">J'y vais <span class="arrow">➡</span></span>
</div>
</a>
</div>
<div class="grid-col col-3">
<a class="avril_mycareer_tile" href="https://groupeavril.csod.com/DeepLink/ProcessRedirect.aspx?module=performance" target="_top">
<div class="avril_mycareer_tile_inner">
<div class="avril_mycareer_tile_title">Votre espace formation</div>
<div class="avril_mycareer_tile_text"> Accédez à votre catalogue de formation, votre espace dédié pour apprendre. </div>
<span class="avril_mycareer_tile_link">J'y vais <span class="arrow">➡</span></span>
</div>
</a>
</div>
</div>
</div>
<div class="bottom-content">
</div>
</div></div></section>
<!-- END AVRIL_MYCAREER SECTION --></div> |
Partager