- Utilisation de sélecteurs basés sur la structure réelle du DOM - Réduction de la largeur des labels à 160px - Réduction de toutes les tailles de police (titre 14px, description 11px) - Labels positionnés à 60px des bords - Quadrant 4 remonté à 160px du bas pour la légende - Légende positionnée à 60px du bas à droite - Z-index 100 pour la légende - Sélecteurs ciblant directement [class*='Radar_radar'] [class*='Label_label']
138 lines
3.8 KiB
CSS
138 lines
3.8 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 */
|
|
/* Réduire drastiquement la taille et repositionner loin des cercles */
|
|
[class*="Radar_radar"] [class*="Label_label"] {
|
|
width: 160px !important;
|
|
max-width: 160px !important;
|
|
min-height: auto !important;
|
|
padding: 10px !important;
|
|
background: rgba(26, 77, 58, 0.95) !important;
|
|
border-radius: 6px !important;
|
|
backdrop-filter: blur(4px) !important;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
|
}
|
|
|
|
/* Réduire la taille du texte */
|
|
[class*="Label_label"] [class*="title"],
|
|
[class*="Label_label"] h3 {
|
|
font-size: 14px !important;
|
|
margin: 0 0 6px 0 !important;
|
|
line-height: 1.2 !important;
|
|
}
|
|
|
|
[class*="Label_label"] [class*="description"],
|
|
[class*="Label_label"] p {
|
|
font-size: 11px !important;
|
|
line-height: 1.3 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
[class*="Label_label"] [class*="header"] {
|
|
font-size: 10px !important;
|
|
padding: 6px 0 !important;
|
|
margin: 0 0 8px !important;
|
|
}
|
|
|
|
/* Quadrant 1 (en haut à gauche) */
|
|
[class*="Radar_radar"] [class*="Label_label"][class*="Label_position-1"] {
|
|
left: 60px !important;
|
|
top: 60px !important;
|
|
}
|
|
|
|
/* Quadrant 2 (en haut à droite) */
|
|
[class*="Radar_radar"] [class*="Label_label"][class*="Label_position-2"] {
|
|
right: 60px !important;
|
|
top: 60px !important;
|
|
left: auto !important;
|
|
}
|
|
|
|
/* Quadrant 3 (en bas à gauche) */
|
|
[class*="Radar_radar"] [class*="Label_label"][class*="Label_position-3"] {
|
|
left: 60px !important;
|
|
bottom: 60px !important;
|
|
top: auto !important;
|
|
}
|
|
|
|
/* Quadrant 4 (en bas à droite) - Remonté pour la légende */
|
|
[class*="Radar_radar"] [class*="Label_label"][class*="Label_position-4"] {
|
|
right: 60px !important;
|
|
bottom: 160px !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
}
|
|
|
|
/* Ajuster la légende - positionnée loin en bas à droite */
|
|
[class*="Radar_radar"] [class*="Legend_legend"] {
|
|
z-index: 100 !important;
|
|
padding: 10px 14px !important;
|
|
background: rgba(26, 77, 58, 0.95) !important;
|
|
border-radius: 6px !important;
|
|
backdrop-filter: blur(4px) !important;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
|
max-width: 160px !important;
|
|
position: absolute !important;
|
|
font-size: 11px !important;
|
|
}
|
|
|
|
[class*="Legend_legend"] li {
|
|
font-size: 11px !important;
|
|
line-height: 1.4 !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
/* Sur les grands écrans, positionner la légende en bas à droite */
|
|
@media (min-width: 1200px) {
|
|
[class*="Radar_radar"] [class*="Legend_legend"] {
|
|
right: 60px !important;
|
|
bottom: 60px !important;
|
|
left: auto !important;
|
|
top: auto !important;
|
|
transform: none !important;
|
|
}
|
|
}
|
|
|
|
/* Sur les écrans moyens, centrer la légende en bas */
|
|
@media (min-width: 768px) and (max-width: 1199px) {
|
|
[class*="Radar_radar"] [class*="Legend_legend"] {
|
|
left: 50% !important;
|
|
right: auto !important;
|
|
transform: translateX(-50%) !important;
|
|
bottom: 60px !important;
|
|
top: auto !important;
|
|
}
|
|
}
|