- Légende remontée de bottom: 220px à bottom: 320px - Plus d'espace entre la légende et le quadrant 4 - La légende est maintenant bien plus haute à droite
146 lines
4.1 KiB
CSS
146 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;
|
|
}
|
|
|
|
/* CORRECTION RADICALE DES LABELS DE QUADRANTS */
|
|
/* Labels compacts mais lisibles, très éloignés des cercles */
|
|
[class*="Radar_radar"] [class*="Label_label"],
|
|
[class*="Label_label"] {
|
|
width: 180px !important;
|
|
max-width: 180px !important;
|
|
min-height: auto !important;
|
|
padding: 12px !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;
|
|
}
|
|
|
|
/* Taille de texte lisible */
|
|
[class*="Label_label"] [class*="title"],
|
|
[class*="Label_label"] h3 {
|
|
font-size: 15px !important;
|
|
margin: 0 0 8px 0 !important;
|
|
line-height: 1.3 !important;
|
|
}
|
|
|
|
[class*="Label_label"] [class*="description"],
|
|
[class*="Label_label"] p {
|
|
font-size: 12px !important;
|
|
line-height: 1.4 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
[class*="Label_label"] [class*="header"] {
|
|
font-size: 11px !important;
|
|
padding: 8px 0 !important;
|
|
margin: 0 0 10px !important;
|
|
}
|
|
|
|
/* Quadrant 1 (en haut à gauche) - TRÈS ÉLOIGNÉ */
|
|
[class*="Radar_radar"] [class*="Label_label"][class*="Label_position-1"],
|
|
[class*="Label_position-1"] {
|
|
left: 10px !important;
|
|
top: 10px !important;
|
|
}
|
|
|
|
/* Quadrant 2 (en haut à droite) - TRÈS ÉLOIGNÉ */
|
|
[class*="Radar_radar"] [class*="Label_label"][class*="Label_position-2"],
|
|
[class*="Label_position-2"] {
|
|
right: 10px !important;
|
|
top: 10px !important;
|
|
left: auto !important;
|
|
}
|
|
|
|
/* Quadrant 3 (en bas à gauche) - TRÈS ÉLOIGNÉ */
|
|
[class*="Radar_radar"] [class*="Label_label"][class*="Label_position-3"],
|
|
[class*="Label_position-3"] {
|
|
left: 10px !important;
|
|
bottom: 10px !important;
|
|
top: auto !important;
|
|
}
|
|
|
|
/* Quadrant 4 (en bas à droite) - DESCENDU tout en bas */
|
|
[class*="Radar_radar"] [class*="Label_label"][class*="Label_position-4"],
|
|
[class*="Label_position-4"] {
|
|
right: 10px !important;
|
|
bottom: 10px !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
}
|
|
|
|
/* Ajuster la légende - positionnée tout en bas à droite */
|
|
[class*="Radar_radar"] [class*="Legend_legend"],
|
|
[class*="Legend_legend"] {
|
|
z-index: 100 !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;
|
|
max-width: 180px !important;
|
|
position: absolute !important;
|
|
font-size: 12px !important;
|
|
}
|
|
|
|
[class*="Legend_legend"] li {
|
|
font-size: 12px !important;
|
|
line-height: 1.5 !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
/* Sur les grands écrans, positionner la légende ENCORE PLUS HAUT */
|
|
@media (min-width: 1200px) {
|
|
[class*="Radar_radar"] [class*="Legend_legend"],
|
|
[class*="Legend_legend"] {
|
|
right: 10px !important;
|
|
bottom: 320px !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
transform: none !important;
|
|
}
|
|
}
|
|
|
|
/* Sur les écrans moyens, centrer la légende ENCORE PLUS HAUT */
|
|
@media (min-width: 768px) and (max-width: 1199px) {
|
|
[class*="Radar_radar"] [class*="Legend_legend"],
|
|
[class*="Legend_legend"] {
|
|
left: 50% !important;
|
|
right: auto !important;
|
|
transform: translateX(-50%) !important;
|
|
bottom: 320px !important;
|
|
top: auto !important;
|
|
}
|
|
}
|