diff --git a/src/TestPanel.js b/src/TestPanel.js
index 27ef200..913bbe6 100644
--- a/src/TestPanel.js
+++ b/src/TestPanel.js
@@ -132,6 +132,15 @@ function SelectorWindow(p) {
}
+function LeftButton(p){
+ return
+
+}
+
+function RightButton(p){
+ return
+
+}
function ClassSelectorWindow(p) {
const [title,setTitle] = useState("Select Main Class")
useEffect(()=>{
@@ -166,18 +175,18 @@ function GetSpecialWeaponName(item) {
function SkillTreeBoxes(p) {
return <>
-
1/5Blight Rounds
- 1/1Blight Rounds Reinforce
- 0/10Bad Condition Ward
- 0/1Spread Shot
- 0/1Spread Shot Quick Getaway
- 0/10Bad Condition Reduction
- 0/1Rifle Grenadier
- 0/1Slide Shot Advance
- 0/1Sticky Bomb Quick Reload
- 0/1Launcher Charge Grouping
- 0/1Slow Landing Attack-Ranger
- 0/1Slow Landing Charge-Ranger
+ 1/5Blight Rounds
+ 1/1Blight Rounds Reinforce
+ 0/10Bad Condition Ward
+ 0/1Spread Shot
+ 0/1Spread Shot Quick Getaway
+ 0/10Bad Condition Reduction
+ 0/1Rifle Grenadier
+ 0/1Slide Shot Advance
+ 0/1Sticky Bomb Quick Reload
+ 0/1Launcher Charge Grouping
+ 0/1Slow Landing Attack-Ranger
+ 0/1Slow Landing Charge-Ranger
>
}
diff --git a/src/style.css b/src/style.css
index f570bd9..53e0162 100644
--- a/src/style.css
+++ b/src/style.css
@@ -319,9 +319,6 @@ em {
.equipAugs {
flex: 1 1 auto;
}
-.equipAugs ul {
- position: relative;
-}
.equipAugs li {
background-color: rgba(128,128,128,0.50);
color: white;
@@ -354,9 +351,6 @@ em {
white-space: normal;
left: 1em;
}
-.tooltipAnchor {
- position: relative;
-}
.xTooltip {
margin: 0 10px 0 0;
display: inline;
@@ -726,34 +720,26 @@ li.treeListSub:after {
"a5 b5 c5 d5 e5 f5"
"a6 b6 c6 d6 e6 f6";
}
-.skillTreeGrid div {
+.skillTreeGrid > div {
background-color: rgba(128,128,128,0.33);
color: white;
padding: 6px;
- /*background-repeat: no-repeat;
- background-position: right top;
- background-origin: content-box;*/
text-align: center;
height: 148px;
position: relative;
margin: 0 10px 96px 0;
}
-.skillTreeGrid div:hover .skillButtons {
- visibility: visible;
-}
div.skillActive {
background-color: rgba(18,103,87,0.5);
}
div.skillMaxed {
background-color: rgba(18,103,87,0.5);
}
-.skillTreeGrid div:hover {
+.skillTreeGrid > div:hover {
outline: 2px solid rgba(54,255,255,0.66);
background-color: rgba(113,169,189,0.33);
- background-image: url("./icons/skilltree_div_overlay.png");
- background-repeat: no-repeat;
}
-.skillTreeGrid div.skillActive:hover, .skillTreeGrid div.skillMaxed:hover {
+.skillTreeGrid > div.skillActive:hover, .skillTreeGrid > div.skillMaxed:hover {
outline: 2px solid rgba(54,255,255,0.66);
background-color: rgba(18,103,87,0.5);
}
@@ -771,7 +757,7 @@ div.skillLocked img, div.skillLocked span.skillAllocated, div.skillLocked em.ski
line-height: 40px;
}
div.skillActive .skillAllocated {
- color: rgb(255,255,0)
+ color: rgb(255,255,0);
}
div.skillMaxed .skillAllocated {
color: rgb(255,135,80);
@@ -807,7 +793,26 @@ div.skillMaxed .skillAllocated {
height: 48px;
text-align: left;
}
-
+.skillButtons {
+position:absolute;
+display: grid;
+grid-template-columns: repeat(2, 1fr);
+width: 171px;
+height: 148px;
+left: 0;
+top: 0;
+cursor: pointer;
+}
+.skillButtons > span:hover {
+ background-image: url("./icons/skilltree_div_overlay.png");
+ background-repeat: no-repeat;
+}
+.skillLeftButton {
+ background-position: left;
+}
+.skillRightButton {
+ background-position: right;
+}
.skillPoints {
background-color: rgba(64,64,64,0.5);
text-align: center;
@@ -857,7 +862,7 @@ div.skillMaxed .skillAllocated {
outline: 2px solid #30cdef;
}
.editBoxActive {
- position: relative;
+
width: 100%;
}
.editBoxActive:hover {
@@ -879,7 +884,7 @@ input#editBoxInput {
width: 100%;
}
.editClass {
- position: relative;
+
display: inline-block;
width: 100%;
}