|
1 | 1 | /* Component Map Container */
|
2 | 2 | .componentMapContainer {
|
3 |
| - fill: white; |
4 |
| - border-radius: 8px; |
| 3 | + fill: #f9fafb; |
5 | 4 | transition: all 0.3s ease;
|
6 | 5 | }
|
| 6 | +.componentMapContainer svg { |
| 7 | + background-color: #f9fafb; |
| 8 | +} |
7 | 9 |
|
8 |
| -/* Base Node Styling - Shared properties */ |
| 10 | +/* Node Styling */ |
9 | 11 | .compMapParent,
|
10 |
| -.compMapChild, |
11 |
| -.compMapRoot { |
12 |
| - fill: #3c6e71; |
13 |
| - stroke: #2c5152; |
14 |
| - filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); |
| 12 | +.compMapChild { |
| 13 | + fill: #ffffff; |
| 14 | + stroke: #e5e7eb; |
| 15 | + filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05)); |
15 | 16 | transition: all 0.2s ease;
|
16 | 17 | }
|
17 | 18 |
|
18 |
| -/* Individual Node Variations */ |
19 |
| -.compMapParent { |
20 |
| - opacity: 0.95; |
21 |
| -} |
22 |
| - |
23 |
| -.compMapChild { |
24 |
| - opacity: 0.9; |
| 19 | +.compMapParent:hover, |
| 20 | +.compMapChild:hover { |
| 21 | + stroke: #14b8a6; |
| 22 | + stroke-width: 2px; |
| 23 | + cursor: pointer; |
| 24 | + filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1)); |
25 | 25 | }
|
26 | 26 |
|
| 27 | +/* Root Node Styling */ |
27 | 28 | .compMapRoot {
|
28 |
| - opacity: 1; |
| 29 | + fill: #14b8a6; |
| 30 | + stroke: #0d9488; |
| 31 | + filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); |
| 32 | + transition: all 0.2s ease; |
29 | 33 | }
|
30 | 34 |
|
31 |
| -/* Hover Effects - Shared across all nodes */ |
32 |
| -.compMapParent:hover, |
33 |
| -.compMapChild:hover, |
34 | 35 | .compMapRoot:hover {
|
35 |
| - fill: #14b8a6; |
36 |
| - stroke: #0d9488; |
37 |
| - cursor: pointer; |
38 | 36 | filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
|
39 |
| - transform: scale(1.02); |
| 37 | + cursor: pointer; |
| 38 | + transform: scale(1.05); |
40 | 39 | }
|
41 | 40 |
|
42 | 41 | /* Text Styling */
|
43 |
| -.compMapRootText, |
| 42 | +.compMapRootText { |
| 43 | + fill: #ffffff; |
| 44 | + font-family: 'Outfit', sans-serif; |
| 45 | + font-weight: 500; |
| 46 | + user-select: none; |
| 47 | +} |
| 48 | + |
44 | 49 | .compMapParentText,
|
45 | 50 | .compMapChildText {
|
46 |
| - fill: #ffffff; |
| 51 | + fill: #374151; |
47 | 52 | font-family: 'Outfit', sans-serif;
|
48 | 53 | font-weight: 500;
|
49 | 54 | user-select: none;
|
|
55 | 60 | transition: all 0.3s ease;
|
56 | 61 | }
|
57 | 62 |
|
| 63 | +.compMapLink:hover { |
| 64 | + stroke-width: 2; |
| 65 | + filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); |
| 66 | +} |
| 67 | + |
58 | 68 | .link-controls {
|
59 | 69 | display: flex;
|
60 | 70 | align-items: center;
|
61 | 71 | gap: 16px;
|
62 |
| - padding: 16px; |
| 72 | + padding: 12px 16px; |
63 | 73 | background: white;
|
| 74 | + border-bottom: 1px solid #e5e7eb; |
64 | 75 | justify-content: space-between;
|
65 | 76 | max-width: 1200px;
|
66 | 77 | }
|
|
0 commit comments