ClassSelectorWindow styling

master
dudleycu 3 years ago
parent f45b173986
commit f2c0d9cb58
  1. 5
      src/TestPanel.js
  2. 2
      src/style.css

@ -105,7 +105,7 @@ function ClassSelector(p){
}
function ClassSelectorWindow(p) {
return <SelectorWindow title="Class Select" modalOpen={p.modalOpen} setModalOpen={p.setModalOpen} GetData={p.GetData}
return <SelectorWindow title={(p.editClass)?"Select Sub Class":"Select Main Class"} modalOpen={p.modalOpen} setModalOpen={p.setModalOpen} GetData={p.GetData}
dataFunction={() => {
var dat1 = p.GetData("class")
return Object.keys(dat1)
@ -166,14 +166,13 @@ function SelectorWindow(p) {
{p.filter?<input className="itemBarForm" type="text" placeholder="Filter" value={filter} onChange={(f)=>{setFilter(f.currentTarget.value)}} />:<></>}
</div>
</div>
}<div className="tooltipAnchor">
}
<div className="modalItemListContainer customScrollbar">
<ul className="itemlist">
{p.filter?itemList.filter((item)=>p.filterFunction(tabPage,item)).filter((item)=>p.searchFieldFunction(filter,item)).sort((a,b)=>p.sortOrderFunction(sortSelector,a,b)).map((item)=>p.displayFunction(item)):itemList.map((item)=>p.displayFunction(item))}
{p.children}
</ul>
</div>
</div>
</PopupWindow>
}

@ -431,7 +431,6 @@ em {
}
.itemlist {
margin: 0 10px;
}
.itemlist li {
background-color: rgba(128,128,128,0.33);
@ -441,7 +440,6 @@ em {
background-repeat: no-repeat;
background-position: right top;
background-origin: content-box;
}
.aug:before {
content:url("./icons/UINGSItemSpecialAbility.png");

Loading…
Cancel
Save