Skip to content

Commit

Permalink
lobby style
Browse files Browse the repository at this point in the history
  • Loading branch information
mathis committed Oct 4, 2023
1 parent d5465f4 commit afdc728
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
12 changes: 6 additions & 6 deletions client/src/ui/routes/lobby.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
</Row>

<Row>
<Column>
<Column lg={6}>
<div class="head-row">
<h3>Servers</h3>
<Button kind="tertiary" on:click={() => (modalAddServer.open = true)} icon={AddIcon}>
Expand Down Expand Up @@ -320,7 +320,7 @@
</TileGroup>
</Column>

<Column lg={8} max={8}>
<Column lg={10}>
<div class="head-row">
<h3>Maps</h3>
<Button kind="tertiary" on:click={() => (modalCreateMap.open = true)} icon={AddIcon}>
Expand All @@ -331,11 +331,11 @@
<DataTable
sortable
headers={[
{ key: 'join', empty: true, width: '4rem' },
{ key: 'name', value: 'Name' },
{ key: 'users', value: 'Users online' },
{ key: 'date', value: 'Last modified' },
{ key: 'overflow', empty: true },
{ key: 'join', empty: true },
{ key: 'date', value: 'Last modified', width: '10rem' },
{ key: 'users', value: 'Users online', width: '10rem' },
{ key: 'overflow', empty: true, width: '4rem' },
]}
rows={maps.map((row, i) => ({
id: i,
Expand Down
3 changes: 3 additions & 0 deletions client/styles/carbon-style-compiled.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/styles/carbon-style-compiled.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions client/styles/carbon-style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@

// carbon v10 svelte
@import 'carbon-components-svelte/css/white.css';

.bx--data-table .bx--btn:hover {
background-color: #cacaca;
}

0 comments on commit afdc728

Please sign in to comment.