diff --git a/client/src/routes/profile.js b/client/src/routes/profile.js index ad14cb0..d4bca48 100644 --- a/client/src/routes/profile.js +++ b/client/src/routes/profile.js @@ -554,7 +554,7 @@ export default withStyles( height: '100%', width: '100%', objectFit: 'cover', - opacity: 0.5 + opacity: 0.7 }, errorCard: { background: '#2229' diff --git a/client/src/routes/scoreboard.js b/client/src/routes/scoreboard.js index 3526b8b..d234933 100644 --- a/client/src/routes/scoreboard.js +++ b/client/src/routes/scoreboard.js @@ -47,6 +47,31 @@ const Scoreboard = withStyles( overflow: 'hidden', whiteSpace: 'nowrap' } + }, + row: { + display: 'flex', + justifyContent: 'space-between', + alignItems: 'center', + padding: '0 1.5rem', + borderBottom: '1px solid rgba(219,219,219,.5)' + }, + rankAndName: { + display: 'flex', + alignItems: 'center', + gap: '1rem' + }, + tableHeader: { + fontWeight: 'bold', + borderWidth: '2px', + padding: '0.25rem 1.5rem', + borderTop: '1px solid rgba(219,219,219,.5)' + }, + background: { + height: '2.5rem', + maskImage: 'linear-gradient(to right, #0000, #fff, #fff, #fff, #0000)', + flexGrow: 1, + backgroundSize: 'cover', + backgroundPosition: 'center' } }, ({ classes }) => { @@ -325,43 +350,47 @@ const Scoreboard = withStyles(
- - - - - - - - - - {scores.map(({ id, name, score, rank, items }) => { - const isSelf = profile != null && profile.id === id - - return ( - + + # + Team + + Points + + {scores.map(({ id, name, score, rank, items }) => { + const isSelf = profile != null && profile.id === id + return ( +
+ + {rank} + -
- - - - ) - })} - -
#TeamPoints
{rank} - - {name} - - {score}
+ {name} + + +
+ {score} +
+ ) + })}
{totalItems > pageSize && (