Skip to content

Commit 9b7a65e

Browse files
committed
styled tree a little more
1 parent d957939 commit 9b7a65e

File tree

2 files changed

+44
-17
lines changed

2 files changed

+44
-17
lines changed

src/app/styles/components/_componentMap.scss

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,58 @@
1-
.compMapLink:hover {
2-
box-shadow: 10px 10px rgb(163, 205, 24);
1+
/* Component Map Container */
2+
.componentMapContainer {
3+
fill: white;
4+
border-radius: 8px;
5+
transition: all 0.3s ease;
36
}
47

5-
.compMapParentText {
6-
fill: $map-parent-text;
8+
/* Base Node Styling - Shared properties */
9+
.compMapParent,
10+
.compMapChild,
11+
.compMapRoot {
12+
fill: #3c6e71;
13+
stroke: #2c5152;
14+
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
15+
transition: all 0.2s ease;
716
}
817

9-
.compMapChild {
10-
fill: $map-child-fill;
11-
stroke: $map-child-stroke;
18+
/* Individual Node Variations */
19+
.compMapParent {
20+
opacity: 0.95;
1221
}
1322

14-
.compMapChildText {
15-
fill: $map-child-text;
23+
.compMapChild {
24+
opacity: 0.9;
1625
}
1726

1827
.compMapRoot {
19-
stroke: $map-root-stroke;
28+
opacity: 1;
29+
}
30+
31+
/* Hover Effects - Shared across all nodes */
32+
.compMapParent:hover,
33+
.compMapChild:hover,
34+
.compMapRoot:hover {
35+
fill: #14b8a6;
36+
stroke: #0d9488;
37+
cursor: pointer;
38+
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
39+
transform: scale(1.02);
40+
}
41+
42+
/* Text Styling */
43+
.compMapRootText,
44+
.compMapParentText,
45+
.compMapChildText {
46+
fill: #ffffff;
47+
font-family: 'Outfit', sans-serif;
48+
font-weight: 500;
49+
user-select: none;
2050
}
2151

22-
.compMapRootText {
23-
fill: $map-root-text;
52+
/* Link Styling */
53+
.compMapLink {
54+
stroke-linecap: round;
55+
transition: all 0.3s ease;
2456
}
2557

2658
.link-controls {

src/app/styles/layout/_stateContainer.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
overflow: auto;
33
}
44

5-
.state-container .componentMapContainer {
6-
height: 95% !important;
7-
fill: $state-background;
8-
}
9-
105
.main-navbar-container--structural {
116
height: 0;
127
padding: 0;

0 commit comments

Comments
 (0)