diff --git a/src/TestPanel.js b/src/TestPanel.js index bbf41a5..6cf3598 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -64,7 +64,7 @@ function PageControl(p) { function Class(p) { const CLASSES = p.GetData("class") const class_obj = CLASSES[p.name] - return CLASSES!=="no data"?class_obj?<>{class_obj.name}:<>:<>Nico + return CLASSES!=="no data"?class_obj?<>{class_obj.name}:<>:<>- } function EditableClass(p){ @@ -313,6 +313,7 @@ const [effectPage,setEffectPage] = useState(1) const [weaponPage,setWeaponPage] = useState(1) const [statPage,setStatPage] = useState(1) +const [foodMenuWindowOpen,setFoodMenuWindowOpen] = useState(false) const [classSelectWindowOpen,setClassSelectWindowOpen] = useState(false) const [classSkillTreeWindowOpen,setClassSkillTreeWindowOpen] = useState(false) const [treePage,setTreePage] = useState(1) @@ -403,24 +404,24 @@ useEffect(()=>{

Basic Information

-
Author
-
Build Name
-
{setClassSelectWindowOpen(true)}}>Class
-
{setClassSkillTreeWindowOpen(true)}}>Sub-Class
+
Author
+
Build Name
+
{setClassSelectWindowOpen(true)}}>Class
+
{setClassSkillTreeWindowOpen(true)}}>Sub-Class
-
Battle Power
{p.bp}
 
-
HP
{p.hp}
 
-
PP
{p.pp}
 
-
Attack
{p.statDisplayAtk}
 
-
Defense
{p.def}
 
- -
Weapon Up
-
 +{(p.weaponUp1*100).toFixed(1)}%
- +{(p.weaponUp3*100).toFixed(1)}%
-
 +{(p.weaponUp2*100).toFixed(1)}%
- -
Ailment Resist.
+
Battle Power
{p.bp}
 
+
HP
{p.hp}
 
+
PP
{p.pp}
 
+
Attack
{p.statDisplayAtk}
 
+
Defense
{p.def}
 
+ +
Weapon Up
+
+{(p.weaponUp1*100).toFixed(1)}%
+ +{(p.weaponUp3*100).toFixed(1)}%
+
+{(p.weaponUp2*100).toFixed(1)}%
+ +
Ailment Resist.
{(p.burnResist*100).toFixed(1)}%
{(p.shockResist*100).toFixed(1)}%
@@ -435,13 +436,14 @@ useEffect(()=>{
Damage Resist.
{(p.damageResist*100).toFixed(1)}%
+

Current Effects

- {effectPage===1?<>

Effect Name

-
- -POTENTIAL PRESET SKILL +
POTENTIAL
PRESET
+
AUGMENT @@ -570,6 +571,9 @@ AUGMENT
+ + +

Damage Stats

@@ -720,6 +724,18 @@ AUGMENT setArmorSelectWindowOpen(false)}}>
{item.name}

{item.def}}} /> + + +
  • +
    +
    meet
    +
    +
    9999Indomitable Unit
    +
    -0+
    +
  • + +
    + ) } diff --git a/src/style.css b/src/style.css index 4a8570f..63f6558 100644 --- a/src/style.css +++ b/src/style.css @@ -150,6 +150,7 @@ border-bottom: 1px solid rgba(128,128,128,0.5); text-align: right; } .barGraph { + margin: 8px 0; background: linear-gradient(90deg, #65beef, #f5ee3c); display: block; height: 8px; @@ -168,13 +169,13 @@ border-bottom: 1px solid rgba(128,128,128,0.5); "build character character" "class . ." "subClass . ."; - margin: 10px 10px; + margin: 10px 10px 0; padding: 0 5px; } .statsInfo { background-color:rgba(0,0,0,0.33); - margin: 0 10px; - padding: 5px; + margin: 5px 10px 0; + padding: 0 5px 5px; display: grid; grid-template-columns: repeat(4, 1fr); justify-content: stretch; @@ -188,8 +189,13 @@ border-bottom: 1px solid rgba(128,128,128,0.5); "res res2 res3 res3" "dmgRes dmgRes2 dmgRes2 dmgRes2"; } -.statsInfo > div { +.basicInfo > div, .statsInfo > div { border-bottom: 1px solid rgba(128,128,128,0.5); + line-height: 25px; + position:relative; +} +.basicInfo > div > span, .statsInfo > div > span { + color: #97e2fc; } .boxTitleBar { background-color: rgba(124, 144, 148, 0.66); @@ -381,9 +387,6 @@ border-bottom: 1px solid rgba(128,128,128,0.5); .pr li span { color:white } -.ye { - color: #ffb74c; -} .itemlist { margin: 0 10px; } @@ -404,6 +407,7 @@ border-bottom: 1px solid rgba(128,128,128,0.5); .itemwep { font-size: 10pt; } + .itemWeaponWrapper { white-space: nowrap; overflow: hidden; @@ -422,6 +426,11 @@ border-bottom: 1px solid rgba(128,128,128,0.5); margin-right: 5px; vertical-align: middle; } +.meat:before { + content: url("./icons/food/meat.png"); + margin-right: 5px; + vertical-align: middle; +} .gb:before { content: url("./icons/NGSUIItemGunbladeMini.png"); margin-right: 5px; @@ -441,6 +450,66 @@ border-bottom: 1px solid rgba(128,128,128,0.5); box-sizing: content-box; border-style: solid; } +.itemWrapper { + display: grid; + grid-template-columns: minmax(56px,auto) 1fr auto minmax(16px,auto); + grid-template-rows: auto 1fr auto; + grid-template-areas: + "img itemname itemname rarity" + "img . . ." + "img properties controls controls"; +} +.itemImgWrapper { + grid-area: img; +} +.itemImgWrapper > img { + background: radial-gradient(rgb(196,196,196),rgb(128,128,128)); + border: 4px solid rgba(128,128,128,1); + width: 48px; + box-sizing: content-box; + border-style: solid; +} +.itemNameWrapper { + font-size: 16px; + background-color:rgba(0,0,0,0.33); + grid-area: itemname; + margin: 0 10px; + padding: 2px 2px 0 2px; + white-space: nowrap; +} +.itemRarityWrapper { + grid-area: rarity; +} +.itemPropertiesWrapper { + color:white; + grid-area: properties; + margin: 0 10px; +} +.itemPropertiesWrapper > span { + white-space: nowrap; +} +.itemControlsWrapper { + grid-area: controls; + text-align: right; + white-space: nowrap; +} +.itemControlsWrapper > span:nth-child(1) { + background-color: rgba(113,169,189,0.33); + cursor: pointer; +} +.itemControlsWrapper > span:nth-child(2) { + background-color:rgba(0,0,0,0.33); +} +.itemControlsWrapper > span:nth-child(3) { + background-color: rgba(113,169,189,0.33); + cursor: pointer; +} +.itemControlsWrapper > span { + display:inline-block; + padding: 5px 10px; + text-align: center; + margin: 0 0 0 5px; +} li.r1 { background-image: url("./icons/NGSUIRarity1Star.png"); } @@ -473,7 +542,6 @@ li.r4 { .itemlist li span { background-repeat: no-repeat; background-position: left center; - margin-right: 10px; } .atk:before { content: url("./icons/NGSUIStatATKOutline.png"); @@ -860,19 +928,11 @@ cursor:pointer !important; /* Sig's Amazing CSS (cuz Dudley edited it) */ - -.editBox { - width: 100%; -} .editBox:hover{ background-color:rgba(0,0,0,0.5); cursor:pointer !important; outline: 2px solid #30cdef; } -.editBoxActive { - - width: 100%; -} .editBoxActive:hover { cursor:pointer !important; } @@ -884,12 +944,12 @@ input#editBoxInput { color: white; cursor:pointer !important; font-family: ngs,sans-serif; - font-size: 11pt; - height: 28px; - outline: 2px solid #30cdef; + font-size: 16px; + + outline: 2px solid #ffff00; padding: 0 5px; text-shadow: -1px -1px 0 rgba(0,0,0,0.66), 1px -1px 0 rgba(0,0,0,0.66), -1px 1px 0 rgba(0,0,0,0.66), 1px 1px 0 rgba(0,0,0,0.66); - width: 100%; + width:100%; } .editClass { @@ -1348,7 +1408,8 @@ p.adminNav hr { display: grid; grid-template-areas: "icon properties" - "content content"; + "potential preset" + "augment augment"; grid-template-columns: 128px 1fr; grid-template-rows: auto; margin: 10px 10px 0 10px; @@ -1361,8 +1422,14 @@ p.adminNav hr { .itemDetailsProperties { grid-area: properties; } -.itemDetailsContent { - grid-area: content; +.itemDetailsAugment { + grid-area: augment; +} +.itemPotential { + grid-area: potential; +} +.itemPreset { + grid-area: preset; } .itemDetailsIcon img { background: radial-gradient(rgb(196,196,196),rgb(128,128,128));