Frontpage redesign :D

master
dudleycu 3 years ago
parent 3d4a9bf7e6
commit 33aff21b4d
  1. BIN
      public/icons/2021 Twitter logo - white.png
  2. BIN
      public/icons/GitHub-Mark-Light-32px.png
  3. BIN
      public/icons/GitHub-Mark-Light-64px.png
  4. BIN
      public/icons/GitHub-Mark-Light.png
  5. 5
      src/App.js
  6. BIN
      src/icons/2021 Twitter logo - white.png
  7. BIN
      src/icons/2021 Twitter logo - white32.png
  8. BIN
      src/icons/GitHub-Mark-Light-120px-plus.png
  9. BIN
      src/icons/GitHub-Mark-Light-32px.png
  10. 67
      src/style.css

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

@ -883,13 +883,14 @@ function App() {
<Helmet> <Helmet>
<title>{APP_TITLE}</title> <title>{APP_TITLE}</title>
</Helmet> </Helmet>
<div className="modalOverlay"> <div className="modalOverlaySplash">
<div className="modal"> <div className="modal">
<div className="box boxMisc"> <div className="box boxMisc">
<div className="boxTitleBar"><h1>Under Construction</h1></div><p><img src={process.env.PUBLIC_URL+"/spinner.gif"} alt=""/> <div className="boxTitleBar"><h1>Under Construction</h1></div><p><img src={process.env.PUBLIC_URL+"/spinner.gif"} alt=""/>
{GetData("site_data")[0]?.data??""}</p> {GetData("site_data")[0]?.data??""}</p><br style={{clear:"both"}} />
</div> </div>
</div> </div>
<footer><a href="https://github.com/sigonasr2/ngsplanner/"><span className="github">&nbsp;</span></a><a href="https://twitter.com/ngsplanner"><span className="twitter">@NGSPlanner</span></a></footer>
</div> </div>
</Route> </Route>
</Switch> </Switch>

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -3,7 +3,6 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
cursor: default;
outline: 0; outline: 0;
} }
@font-face { @font-face {
@ -43,17 +42,17 @@ img {
} }
body { body {
background-image: url("https://pbs.twimg.com/media/E8tfm23VUAQTAAu?format=jpg&name=4096x4096"); background-image: url("https://pbs.twimg.com/media/E8tfm23VUAQTAAu?format=jpg&name=4096x4096");
background-color: #e8ecf4; background-color: #484848;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-attachment: fixed; background-attachment: fixed;
background-size: cover; background-size: cover;
color: black; color: white;
font-family: ngs,Arial,sans-serif; font-family: ngs,Arial,sans-serif;
font-size: 16px; font-size: 16px;
font-weight: normal; font-weight: normal;
text-align: center; text-align: center;
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);
} }
table td { table td {
vertical-align: top; vertical-align: top;
@ -112,12 +111,12 @@ em {
} }
.box { .box {
color: #97e2fc; /*color: #97e2fc;*/
color:white;
background-clip: padding-box; background-clip: padding-box;
background-color: rgba(24, 36, 48, 0.66); background-color: rgba(24, 36, 48, 0.66);
margin: 10px 0 0 0; margin: 10px 0 0 0;
text-align: left; text-align: left;
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);
padding-bottom:10px; padding-bottom:10px;
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
} }
@ -353,7 +352,7 @@ border-bottom: 1px solid rgba(128,128,128,0.5);
.xTooltip { .xTooltip {
margin: 0 10px 0 0; margin: 0 10px 0 0;
display: inline; display: inline;
cursor: help; cursor: help !important;
color: white; color: white;
font-size:10pt; font-size:10pt;
text-align: left; text-align: left;
@ -960,6 +959,46 @@ button{
grid-template-columns: minmax(10px, 1fr) minmax(200px, auto) minmax(10px, 1fr); grid-template-columns: minmax(10px, 1fr) minmax(200px, auto) minmax(10px, 1fr);
grid-template-rows: 10px minmax(10px, 1fr) 10px; grid-template-rows: 10px minmax(10px, 1fr) 10px;
} }
.modalOverlaySplash {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.8));
display: grid;
justify-items: stretch;
align-items: center;
grid-template-columns: minmax(10px, 1fr) minmax(200px, auto) minmax(10px, 1fr);
grid-template-rows: 10px minmax(10px, 1fr) minmax(10px, auto);
}
.modalOverlaySplash > footer {
grid-column: 1 / span 3;
grid-row: 3;
padding-bottom: 4vh;
background: linear-gradient(transparent,rgba(0,0,0,0.7));
}
.modalOverlaySplash > footer a:hover {
background-color: transparent;
}
span.github, span.twitter {
font-size: 24px;
margin-right: 15px;
opacity: 75%;
}
span.github:hover, span.twitter:hover {
opacity: 100%;
}
span.github:before, span.twitter:before {
vertical-align: middle;
margin-right: 10px;
}
span.github:before {
content: url("./icons/GitHub-Mark-Light-32px.png");
}
span.twitter:before {
content: url("./icons/2021 Twitter logo - white32.png");
}
.modal { .modal {
grid-column: 2; grid-column: 2;
grid-row: 2; grid-row: 2;
@ -997,7 +1036,7 @@ button{
height: 72px; height: 72px;
width: 33vw; width: 33vw;
background-color: transparent; background-color: transparent;
cursor: text;
} }
.boxAdmin input:hover { .boxAdmin input:hover {
outline: 0 !important; outline: 0 !important;
@ -1008,20 +1047,20 @@ outline: 0 !important;
margin: 0 auto; 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; 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); outline: 1px solid rgba(54,255,255,1);
text-align:center; text-align: center;
} }
.boxMisc img { .boxMisc img {
background: linear-gradient(white,#bca9f5); background: linear-gradient(white,#bca9f5);
vertical-align: top; vertical-align: top;
margin-right: 10px; margin-right: 10px;
} }
.boxMisc { .boxMisc p > img {
margin-top: 10px; float:left;
} }
.boxMisc p:after { .boxMisc p {
clear: both; margin-top: 10px;
text-align: left;
} }
.boxModal .boxTitleBar, .boxModalClassSelect .boxTitleBar, .boxMisc .boxTitleBar, .boxAdmin .boxTitleBar { .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)); 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));
} }

Loading…
Cancel
Save