From 5db0c879a3fecc3a363c9c1e0bceb0efda03a1dc Mon Sep 17 00:00:00 2001 From: Sakimori Date: Mon, 4 Jul 2022 21:16:35 -0400 Subject: [PATCH] tidyed up css after other changes --- GroundControl/frontend/src/index.css | 30 +++++++++++++++++++--------- GroundControl/frontend/src/index.js | 3 ++- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/GroundControl/frontend/src/index.css b/GroundControl/frontend/src/index.css index b3f94e7..b14e5c6 100644 --- a/GroundControl/frontend/src/index.css +++ b/GroundControl/frontend/src/index.css @@ -34,15 +34,17 @@ body::after { } .power-on-box { - position:relative; - justify-self:center; + position: relative; + justify-self: center; margin-top: 20vh; + } -#start-text{ +#start-text { font-size: 30px; - border:double; - padding:2em 6em; + border: ridge; + padding: 2em 6em; + box-shadow: 0 0 3px 1px rgb(49 255 0 / 0.70); } .console { @@ -62,13 +64,23 @@ body::after { text-shadow: 0 0 6px #ff1111; } -.terminal-window{ - width: 65%; - height: 100%; - overflow: auto; +.power-on-self-test{ + margin-left: 5vw; +} + +.terminal-window { + width: 60vw; + overflow: scroll; flex-grow: 1; display: flex; flex-direction: column-reverse; + border: double; + margin-left: 5vw; + margin-top: -5vh; +} + +.terminal{ + } .active-line{ diff --git a/GroundControl/frontend/src/index.js b/GroundControl/frontend/src/index.js index 533b2d3..0b6d729 100644 --- a/GroundControl/frontend/src/index.js +++ b/GroundControl/frontend/src/index.js @@ -8,7 +8,7 @@ import logos from './BoSLOO logo.json'; import Terminal from './terminal.js'; import StatusBar from './statusbar.js'; -const nominal =
; +const nominal = ; class Console extends React.Component { constructor(props) { @@ -54,6 +54,7 @@ class Console extends React.Component {
{this.state.bodyObj} + {this.state.init >= 2 ? : null}
); }