- Augmentation des marges des 4 quadrants à 20px des bords - Repositionnement du quadrant 4 à 120px du bas pour laisser de la place à la légende - Repositionnement de la légende en bas à droite à 20px des bords - La légende ne chevauche plus le quadrant 4
135 lines
4.1 KiB
CSS
135 lines
4.1 KiB
CSS
/* Use this file to optionally override global css styles and use with caution. */
|
|
/* See README.md for hints and examples: https://github.com/AOEpeople/aoe_technology_radar/ */
|
|
|
|
/* Améliorer la visibilité des icônes de navigation */
|
|
nav[class*="Navigation"] svg,
|
|
nav svg,
|
|
header nav svg {
|
|
fill: #2ecc71 !important;
|
|
width: 22px !important;
|
|
height: 22px !important;
|
|
display: inline-block !important;
|
|
vertical-align: middle !important;
|
|
margin-right: 6px !important;
|
|
opacity: 1 !important;
|
|
visibility: visible !important;
|
|
}
|
|
|
|
/* S'assurer que les liens de navigation sont visibles */
|
|
nav[class*="Navigation"] a,
|
|
nav a,
|
|
header nav a {
|
|
display: inline-flex !important;
|
|
align-items: center !important;
|
|
color: #fff !important;
|
|
text-decoration: none !important;
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
nav[class*="Navigation"] a:hover,
|
|
nav a:hover,
|
|
header nav a:hover {
|
|
color: #2ecc71 !important;
|
|
text-decoration: underline !important;
|
|
}
|
|
|
|
/* Ajuster le positionnement des labels de quadrants pour éviter le chevauchement avec les cercles */
|
|
/* Le radar fait 800px, les cercles ont un rayon max de 400px (50% du centre) */
|
|
/* Les labels doivent être positionnés à au moins 450px du centre, donc à 50px+ des bords */
|
|
div[class*="labels"] > div[class*="label"],
|
|
div[class*="Label_label"],
|
|
div[class*="label"][class*="position"] {
|
|
z-index: 1 !important;
|
|
padding: 12px !important;
|
|
max-width: 180px !important;
|
|
width: 180px !important;
|
|
background: rgba(26, 77, 58, 0.95) !important;
|
|
border-radius: 8px !important;
|
|
backdrop-filter: blur(4px) !important;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
|
}
|
|
|
|
/* Quadrant 1 (en haut à gauche) - Technologies Différenciantes */
|
|
div[class*="labels"] > div[class*="label"][class*="position-1"],
|
|
[class*="Label_label"][class*="position-1"],
|
|
div[class*="label"][class*="position-1"] {
|
|
left: 20px !important;
|
|
top: 20px !important;
|
|
right: auto !important;
|
|
bottom: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Quadrant 2 (en haut à droite) - Technologies de Commodité */
|
|
div[class*="labels"] > div[class*="label"][class*="position-2"],
|
|
[class*="Label_label"][class*="position-2"],
|
|
div[class*="label"][class*="position-2"] {
|
|
right: 20px !important;
|
|
top: 20px !important;
|
|
left: auto !important;
|
|
bottom: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Quadrant 3 (en bas à gauche) - Technologies à Risque */
|
|
div[class*="labels"] > div[class*="label"][class*="position-3"],
|
|
[class*="Label_label"][class*="position-3"],
|
|
div[class*="label"][class*="position-3"] {
|
|
left: 20px !important;
|
|
bottom: 20px !important;
|
|
right: auto !important;
|
|
top: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Quadrant 4 (en bas à droite) - Technologies Émergentes */
|
|
/* Positionné plus haut pour laisser de la place à la légende en bas */
|
|
div[class*="labels"] > div[class*="label"][class*="position-4"],
|
|
[class*="Label_label"][class*="position-4"],
|
|
div[class*="label"][class*="position-4"] {
|
|
right: 20px !important;
|
|
bottom: 120px !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Ajuster la légende pour éviter le chevauchement avec les cercles et le quadrant 4 */
|
|
ul[class*="Legend_legend"],
|
|
ul[class*="legend"] {
|
|
z-index: 1 !important;
|
|
padding: 12px 16px !important;
|
|
background: rgba(26, 77, 58, 0.95) !important;
|
|
border-radius: 8px !important;
|
|
backdrop-filter: blur(4px) !important;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
|
min-width: 180px !important;
|
|
max-width: 200px !important;
|
|
}
|
|
|
|
/* Sur les grands écrans, positionner la légende en bas à droite, en dessous du quadrant 4 */
|
|
@media (min-width: 1200px) {
|
|
ul[class*="Legend_legend"],
|
|
ul[class*="legend"] {
|
|
right: 20px !important;
|
|
top: auto !important;
|
|
bottom: 20px !important;
|
|
left: auto !important;
|
|
transform: none !important;
|
|
margin: 0 !important;
|
|
}
|
|
}
|
|
|
|
/* Sur les écrans moyens, centrer la légende en bas */
|
|
@media (min-width: 768px) and (max-width: 1199px) {
|
|
ul[class*="Legend_legend"],
|
|
ul[class*="legend"] {
|
|
left: 50% !important;
|
|
right: auto !important;
|
|
transform: translateX(-50%) !important;
|
|
bottom: 20px !important;
|
|
top: auto !important;
|
|
margin: 0 !important;
|
|
}
|
|
}
|