From f689dfa9a202fd6feea85a93a704eac5c0254cf6 Mon Sep 17 00:00:00 2001 From: dudleycu Date: Fri, 20 Aug 2021 06:01:18 +0000 Subject: [PATCH 1/2] UI Changes --- src/App.js | 10 ++--- src/TestPanel.js | 18 ++++---- src/spinner.gif | Bin 0 -> 7790 bytes src/style.css | 104 +++++++++++++++++++++++++++++------------------ 4 files changed, 79 insertions(+), 53 deletions(-) create mode 100644 src/spinner.gif diff --git a/src/App.js b/src/App.js index 89944bc..2273402 100644 --- a/src/App.js +++ b/src/App.js @@ -382,9 +382,9 @@ function AdminPanel(p) { {!verified?
-
+

Admin

- +

{setPassword(f.currentTarget.value)}} onKeyDown={(e)=>{ if (e.key==="Enter") { axios.post(GetBackendURL(p)+"/passwordcheck",{ @@ -885,9 +885,9 @@ function App() {
-
-

Under Construction

- {GetData("site_data")[0]?.data??""} +
+

Under Construction

+ {GetData("site_data")[0]?.data??""}

diff --git a/src/TestPanel.js b/src/TestPanel.js index 85e48a0..855b814 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -511,14 +511,16 @@ AUGMENT

To Do List

-
    -
  • Grids. Grids everywhere.
  • -
  • Finish "Item Details" for Weapons/Armor
  • -
  • Class Skill Window
  • -
  • PA Select Window
  • -
  • Food/Buffs Menu
  • -
  • Get all the fckn icons
  • -
+
+
UI
+
Grids. Grids everywhere.
+
Finish "Item Details" for Weapons/Armor
+
Class Skill Window
+
PA Select Window
+
Food/Buffs Menu
+
Get all the fckn icons
+
test
+
diff --git a/src/spinner.gif b/src/spinner.gif new file mode 100644 index 0000000000000000000000000000000000000000..e82a969165f5b068ddf0052f3191c05d43b8ba02 GIT binary patch literal 7790 zcmeI$Sx}Q%yXf)tP9%f?FJX#+5I`Y}1`wLrmoNy58UZl~Xi!uf(BK53AN`VqQE0*p z;t(c50XqUJqP7XBjfxr-5r@_|fZ)&qZ7Yr(`#ZbNsdIDo)xOwOdtE@b25UZ|mnS`1)Yrmg4L^ zmt{Yv?|KoOv~_XB^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 HcmV?d00001 diff --git a/src/style.css b/src/style.css index 7f49933..4a27066 100644 --- a/src/style.css +++ b/src/style.css @@ -3,6 +3,7 @@ margin: 0; padding: 0; box-sizing: border-box; + cursor: default; } @font-face { font-family: "ngs"; @@ -119,7 +120,13 @@ em { padding-bottom:10px; backdrop-filter: blur(10px); } - +.box h3, dt { +font-size: 12pt; +font-weight: normal; +padding: 0 5px; +margin: 5px; +border-bottom: 1px solid rgba(128,128,128,0.5); +} .box table { border-spacing: 0; color: white; @@ -187,12 +194,6 @@ em { margin-right: 10px; padding: 13px 13px 7px 13px; } -.boxTitleBar img { - float: left; -} -.boxTitleBar p:after { - clear: both; -} .boxTitleBar h1:before { font-family: "Segoe UI Symbol"; content: ' \25C6'; @@ -259,15 +260,9 @@ em { } .box p { padding: 10px 10px 0 10px; - color: white; -} -.box h3 { - font-size: 12pt; - font-weight: normal; - padding: 0 5px; - margin: 5px; - border-bottom: 1px solid rgba(128,128,128,0.5); + } + .equipPalette { margin: 10px 10px 0 10px; display: flex; @@ -278,7 +273,7 @@ em { } .equipPaletteSlotWrapper { background-color: rgba(128,128,128,0.50); - cursor:pointer; + cursor:pointer !important; padding: 10px; } .equipPaletteSlotWrapper span { @@ -327,7 +322,7 @@ em { color: white; margin: 0 0 5px 10px; padding: 12px 10px 7px 10px; - cursor: pointer; + cursor:pointer !important; } .equipAugs li:hover { background: linear-gradient(45deg,rgba(76,113,126,0.66),rgba(113,169,189,00.66)); @@ -531,7 +526,7 @@ li.r4 { text-align: center; flex-basis: 27px; white-space: nowrap; - cursor: pointer; + cursor:pointer !important; } .boxmenu img { vertical-align: middle; @@ -809,7 +804,7 @@ width: 171px; height: 148px; left: 0; top: 0; -cursor: pointer; +cursor:pointer !important; } .skillButtons > span:hover { background-image: url("./icons/skilltree_div_overlay.png"); @@ -866,7 +861,7 @@ cursor: pointer; } .editBox:hover{ background-color:rgba(0,0,0,0.5); - cursor:pointer; + cursor:pointer !important; outline: 2px solid #30cdef; } .editBoxActive { @@ -874,7 +869,7 @@ cursor: pointer; width: 100%; } .editBoxActive:hover { - cursor:pointer; + cursor:pointer !important; } input#editBoxInput { position: absolute; @@ -882,7 +877,7 @@ input#editBoxInput { text-align: right; background-color: #101317; color: white; - cursor:pointer; + cursor:pointer !important; font-family: ngs,sans-serif; font-size: 11pt; height: 28px; @@ -898,7 +893,7 @@ input#editBoxInput { } .editClass:hover{ background-color:rgba(0,0,0,0.5); - cursor:pointer; + cursor:pointer !important; outline: 2px solid #30cdef; } .popup{ @@ -988,20 +983,43 @@ button{ 100% {opacity:1;margin-bottom:0;} } .boxAdmin { - height: 200px; - outline: 1px solid rgba(54,255,255,1); - width: 450px; + animation: fadeIn 0.15s; + width: 580px; + box-shadow: 0 10px 16px 0 rgba(0,0,0,0.5), 0 6px 20px 0 rgba(0,0,0,0.5) !important; + outline: 1px solid rgba(54,255,255,1); + text-align:center; +} +.boxAdmin img { + margin: 20px; + background: linear-gradient(white,#bca9f5); +} +.boxAdmin input { + outline: 1px solid silver; + font-size: 36px; + height: 72px; + background-image: url("spinner.gif"); +} +.boxMisc { + animation: fadeIn 0.15s; + max-width: 580px; + margin: 0 auto; + box-shadow: 0 10px 16px 0 rgba(0,0,0,0.5), 0 6px 20px 0 rgba(0,0,0,0.5) !important; + outline: 1px solid rgba(54,255,255,1); text-align:center; } .boxMisc img { background: linear-gradient(white,#bca9f5); - margin-Top: 10px; + vertical-align: top; + margin-right: 10px; } - -.boxMisc input { - outline: 1px solid silver; +.boxMisc { + margin-top: 10px; } -.boxModal .boxTitleBar, .boxModalClassSelect .boxTitleBar, .boxMisc .boxTitleBar { +.boxMisc p:after { + clear: both; +} + +.boxModal .boxTitleBar, .boxModalClassSelect .boxTitleBar, .boxMisc .boxTitleBar, .boxAdmin .boxTitleBar { background: linear-gradient(45deg, rgba(47,153,193,0.66),rgba(46,94,137,0.66) 30%,rgba(46,94,137,0.66) 70%, rgba(47,153,193,1)); } .modalItemListContainer { @@ -1016,10 +1034,10 @@ button{ } .webicon:hover{ color:rgba(200,0,0,1); - cursor:pointer; + cursor:pointer !important; } .basichover:hover{ - cursor:pointer; + cursor:pointer !important; } .modalCloseButton{ float:right; @@ -1027,7 +1045,7 @@ button{ } .modalCloseButton:hover{ color:rgba(200,0,0,1); - cursor:pointer; + cursor:pointer !important; } .failedInput{ border: 1px solid rgba(200,0,0,1); @@ -1054,7 +1072,7 @@ button{ } .submitbutton:hover{ color:rgba(0,200,0,1); - cursor:pointer; + cursor:pointer !important; } /* Admin Panel */ @@ -1115,7 +1133,7 @@ p.adminNav hr { display: inline-block; position: relative; - cursor: pointer; + cursor:pointer !important; background-color: transparent; border: 0; padding: 0; @@ -1308,10 +1326,13 @@ p.adminNav hr { .toDoList { padding: 0 10px; } -.toDoList li { - padding-top: 10px; +dt { +margin: 10px 0 0 0; } -.toDoList li:before { +dd, dl { + padding: 10px 0 0 15px; +} +dd:before { content: "\2610"; padding-right: 10px; } @@ -1319,7 +1340,10 @@ p.adminNav hr { content: "\25E7" !important; } .check { - opacity: 33%; + opacity: 25%; +} +.check:hover { + opacity: 100%; } .check:before { font-family: "Segoe UI Symbol"; From 0ec7679f80cd85cafff2727f5b8755556226c586 Mon Sep 17 00:00:00 2001 From: dudleycu Date: Fri, 20 Aug 2021 06:12:39 +0000 Subject: [PATCH 2/2] ui revisions --- src/App.js | 2 +- src/style.css | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/App.js b/src/App.js index 2273402..45a5f6c 100644 --- a/src/App.js +++ b/src/App.js @@ -384,7 +384,7 @@ function AdminPanel(p) {

Admin

-

+

{setPassword(f.currentTarget.value)}} onKeyDown={(e)=>{ if (e.key==="Enter") { axios.post(GetBackendURL(p)+"/passwordcheck",{ diff --git a/src/style.css b/src/style.css index 4a27066..7ebca61 100644 --- a/src/style.css +++ b/src/style.css @@ -4,6 +4,7 @@ padding: 0; box-sizing: border-box; cursor: default; + outline: 0; } @font-face { font-family: "ngs"; @@ -960,7 +961,6 @@ button{ grid-template-rows: 10px minmax(10px, 1fr) 10px; } .modal { - outline: 0; grid-column: 2; grid-row: 2; } @@ -984,7 +984,6 @@ button{ } .boxAdmin { animation: fadeIn 0.15s; - width: 580px; box-shadow: 0 10px 16px 0 rgba(0,0,0,0.5), 0 6px 20px 0 rgba(0,0,0,0.5) !important; outline: 1px solid rgba(54,255,255,1); text-align:center; @@ -994,10 +993,14 @@ button{ background: linear-gradient(white,#bca9f5); } .boxAdmin input { - outline: 1px solid silver; font-size: 36px; height: 72px; - background-image: url("spinner.gif"); + width: 33vw; + background-color: transparent; + cursor: text; +} +.boxAdmin input:hover { +outline: 0 !important; } .boxMisc { animation: fadeIn 0.15s;