diff --git a/src/App.css b/src/App.css index 2d2974f..f45e125 100644 --- a/src/App.css +++ b/src/App.css @@ -471,7 +471,6 @@ button { } } - .networkroute { z-index: 3; position: absolute; @@ -479,6 +478,59 @@ button { left: 48px; } +/*========TEAM PANEL========*/ +.team-panel { + padding: 1em; + border: 3px solid black; + box-shadow: 8px 8px black; + margin: 1em; + + input { + max-width: 300px; + margin: 0.2em auto; + } +} + +.team-player { + cursor: pointer; + color: black; + background-color: #36c4; + border: 1px solid black; + border-radius: 1em; + margin: 4px; + padding: 0 0.5em; + + &:hover { + background-color: #36c8; + } +} + +.new-player-inputs { + margin: auto; + + div { + display: flex; + flex-wrap: wrap; + margin: auto; + + label { + text-align: right; + margin-left: 2em; + margin-right: auto; + } + + input { + width: 200px; + margin: 2px 1em; + } + } +} + +#new-team-player { + background-color: #3838; + font-weight: bold; +} + @keyframes blink { 0% { diff --git a/src/App.tsx b/src/App.tsx index 1fd6140..c517ea7 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -9,6 +9,7 @@ import { GraphComponent } from "./Network"; import MVPChart from "./MVPChart"; import { SetPassword } from "./SetPassword"; import { ThemeProvider } from "./ThemeProvider"; +import { TeamPanel } from "./TeamPanel"; const Maintenance = () => { return ( @@ -37,6 +38,7 @@ function App() { } /> } /> } /> + } />