fix: augmenter encore les marges et repositionner quadrant 4 et légende
- Augmentation des marges à 30px pour tous les quadrants - Quadrant 4 repositionné à 180px du bas (au lieu de 120px) - Légende repositionnée à 30px du bas à droite - Réduction de la taille des labels (170px au lieu de 180px) - Réduction de la taille de la police pour économiser l'espace - Z-index augmenté pour la légende pour s'assurer qu'elle est au-dessus - Position absolute explicite pour la légende
This commit is contained in:
66
custom.css
66
custom.css
@@ -40,21 +40,37 @@ div[class*="labels"] > div[class*="label"],
|
|||||||
div[class*="Label_label"],
|
div[class*="Label_label"],
|
||||||
div[class*="label"][class*="position"] {
|
div[class*="label"][class*="position"] {
|
||||||
z-index: 1 !important;
|
z-index: 1 !important;
|
||||||
padding: 12px !important;
|
padding: 10px !important;
|
||||||
max-width: 180px !important;
|
max-width: 170px !important;
|
||||||
width: 180px !important;
|
width: 170px !important;
|
||||||
background: rgba(26, 77, 58, 0.95) !important;
|
background: rgba(26, 77, 58, 0.95) !important;
|
||||||
border-radius: 8px !important;
|
border-radius: 8px !important;
|
||||||
backdrop-filter: blur(4px) !important;
|
backdrop-filter: blur(4px) !important;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
||||||
|
font-size: 13px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Réduire la taille du texte dans les labels */
|
||||||
|
div[class*="labels"] > div[class*="label"] .title,
|
||||||
|
div[class*="Label_label"] .title,
|
||||||
|
div[class*="label"][class*="position"] .title {
|
||||||
|
font-size: 16px !important;
|
||||||
|
margin-bottom: 8px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
div[class*="labels"] > div[class*="label"] .description,
|
||||||
|
div[class*="Label_label"] .description,
|
||||||
|
div[class*="label"][class*="position"] .description {
|
||||||
|
font-size: 12px !important;
|
||||||
|
line-height: 1.4 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Quadrant 1 (en haut à gauche) - Technologies Différenciantes */
|
/* Quadrant 1 (en haut à gauche) - Technologies Différenciantes */
|
||||||
div[class*="labels"] > div[class*="label"][class*="position-1"],
|
div[class*="labels"] > div[class*="label"][class*="position-1"],
|
||||||
[class*="Label_label"][class*="position-1"],
|
[class*="Label_label"][class*="position-1"],
|
||||||
div[class*="label"][class*="position-1"] {
|
div[class*="label"][class*="position-1"] {
|
||||||
left: 20px !important;
|
left: 30px !important;
|
||||||
top: 20px !important;
|
top: 30px !important;
|
||||||
right: auto !important;
|
right: auto !important;
|
||||||
bottom: auto !important;
|
bottom: auto !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
@@ -64,8 +80,8 @@ div[class*="label"][class*="position-1"] {
|
|||||||
div[class*="labels"] > div[class*="label"][class*="position-2"],
|
div[class*="labels"] > div[class*="label"][class*="position-2"],
|
||||||
[class*="Label_label"][class*="position-2"],
|
[class*="Label_label"][class*="position-2"],
|
||||||
div[class*="label"][class*="position-2"] {
|
div[class*="label"][class*="position-2"] {
|
||||||
right: 20px !important;
|
right: 30px !important;
|
||||||
top: 20px !important;
|
top: 30px !important;
|
||||||
left: auto !important;
|
left: auto !important;
|
||||||
bottom: auto !important;
|
bottom: auto !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
@@ -75,20 +91,20 @@ div[class*="label"][class*="position-2"] {
|
|||||||
div[class*="labels"] > div[class*="label"][class*="position-3"],
|
div[class*="labels"] > div[class*="label"][class*="position-3"],
|
||||||
[class*="Label_label"][class*="position-3"],
|
[class*="Label_label"][class*="position-3"],
|
||||||
div[class*="label"][class*="position-3"] {
|
div[class*="label"][class*="position-3"] {
|
||||||
left: 20px !important;
|
left: 30px !important;
|
||||||
bottom: 20px !important;
|
bottom: 30px !important;
|
||||||
right: auto !important;
|
right: auto !important;
|
||||||
top: auto !important;
|
top: auto !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Quadrant 4 (en bas à droite) - Technologies Émergentes */
|
/* Quadrant 4 (en bas à droite) - Technologies Émergentes */
|
||||||
/* Positionné plus haut pour laisser de la place à la légende en bas */
|
/* Positionné beaucoup plus haut pour laisser de la place à la légende en bas */
|
||||||
div[class*="labels"] > div[class*="label"][class*="position-4"],
|
div[class*="labels"] > div[class*="label"][class*="position-4"],
|
||||||
[class*="Label_label"][class*="position-4"],
|
[class*="Label_label"][class*="position-4"],
|
||||||
div[class*="label"][class*="position-4"] {
|
div[class*="label"][class*="position-4"] {
|
||||||
right: 20px !important;
|
right: 30px !important;
|
||||||
bottom: 120px !important;
|
bottom: 180px !important;
|
||||||
left: auto !important;
|
left: auto !important;
|
||||||
top: auto !important;
|
top: auto !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
@@ -97,26 +113,35 @@ div[class*="label"][class*="position-4"] {
|
|||||||
/* Ajuster la légende pour éviter le chevauchement avec les cercles et le quadrant 4 */
|
/* Ajuster la légende pour éviter le chevauchement avec les cercles et le quadrant 4 */
|
||||||
ul[class*="Legend_legend"],
|
ul[class*="Legend_legend"],
|
||||||
ul[class*="legend"] {
|
ul[class*="legend"] {
|
||||||
z-index: 1 !important;
|
z-index: 2 !important;
|
||||||
padding: 12px 16px !important;
|
padding: 10px 14px !important;
|
||||||
background: rgba(26, 77, 58, 0.95) !important;
|
background: rgba(26, 77, 58, 0.95) !important;
|
||||||
border-radius: 8px !important;
|
border-radius: 8px !important;
|
||||||
backdrop-filter: blur(4px) !important;
|
backdrop-filter: blur(4px) !important;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
|
||||||
min-width: 180px !important;
|
min-width: 170px !important;
|
||||||
max-width: 200px !important;
|
max-width: 180px !important;
|
||||||
|
font-size: 12px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sur les grands écrans, positionner la légende en bas à droite, en dessous du quadrant 4 */
|
ul[class*="Legend_legend"] li,
|
||||||
|
ul[class*="legend"] li {
|
||||||
|
margin-bottom: 6px !important;
|
||||||
|
font-size: 12px !important;
|
||||||
|
line-height: 1.4 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sur les grands écrans, positionner la légende en bas à droite, bien en dessous du quadrant 4 */
|
||||||
@media (min-width: 1200px) {
|
@media (min-width: 1200px) {
|
||||||
ul[class*="Legend_legend"],
|
ul[class*="Legend_legend"],
|
||||||
ul[class*="legend"] {
|
ul[class*="legend"] {
|
||||||
right: 20px !important;
|
right: 30px !important;
|
||||||
top: auto !important;
|
top: auto !important;
|
||||||
bottom: 20px !important;
|
bottom: 30px !important;
|
||||||
left: auto !important;
|
left: auto !important;
|
||||||
transform: none !important;
|
transform: none !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
|
position: absolute !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -127,8 +152,9 @@ ul[class*="legend"] {
|
|||||||
left: 50% !important;
|
left: 50% !important;
|
||||||
right: auto !important;
|
right: auto !important;
|
||||||
transform: translateX(-50%) !important;
|
transform: translateX(-50%) !important;
|
||||||
bottom: 20px !important;
|
bottom: 30px !important;
|
||||||
top: auto !important;
|
top: auto !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
|
position: absolute !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user