diff --git a/packages/theme/styles/_colors.scss b/packages/theme/styles/_colors.scss index 1e00a0b6c7..a2129731bd 100644 --- a/packages/theme/styles/_colors.scss +++ b/packages/theme/styles/_colors.scss @@ -80,9 +80,6 @@ --theme-button-border-focused: rgba(255, 255, 255, .4); --theme-button-border-error: rgba(205, 104, 104, .1); - --theme-table-bg-color: rgba(255, 255, 255, .02); - --theme-table-bg-hover: rgba(255, 255, 255, .04); - --theme-caption-color: #fff; --theme-content-accent-color: rgba(255, 255, 255, 0.8); --theme-content-color: rgba(255, 255, 255, 0.6); @@ -135,9 +132,6 @@ --theme-button-border-focused: rgba(255, 255, 255, .4); --theme-button-border-error: rgba(205, 104, 104, .1); - --theme-table-bg-color: rgba(255, 255, 255, .02); - --theme-table-bg-hover: rgba(255, 255, 255, .04); - --theme-caption-color: #fff; --theme-content-accent-color: rgba(255, 255, 255, 0.8); --theme-content-color: rgba(255, 255, 255, 0.6); @@ -189,9 +183,6 @@ --theme-button-border-focused: rgba(255, 255, 255, .4); --theme-button-border-error: rgba(205, 104, 104, .1); - --theme-table-bg-color: rgba(0, 0, 0, .02); - --theme-table-bg-hover: rgba(0, 0, 0, .04); - --theme-caption-color: #272121; --theme-content-accent-color: rgba(39, 33, 33, 0.8); --theme-content-color: rgba(39, 33, 33, 0.6); diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss index 0b7111c7b9..b531f072bd 100644 --- a/packages/theme/styles/_layouts.scss +++ b/packages/theme/styles/_layouts.scss @@ -52,19 +52,6 @@ select:-webkit-autofill:focus { background: transparent; } -table, caption, tbody, tfoot, thead, tr, th, td { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: middle; -} -table { - border-collapse: collapse; - border-spacing: 0; -} - // input:-webkit-autofill, // input:-webkit-autofill:hover, // input:-webkit-autofill:focus, diff --git a/plugins/view-resources/src/components/TableView.svelte b/plugins/view-resources/src/components/TableView.svelte index 1ef4b3bbec..6c604c8dc2 100644 --- a/plugins/view-resources/src/components/TableView.svelte +++ b/plugins/view-resources/src/components/TableView.svelte @@ -15,113 +15,117 @@ --> {#await buildModel(client, _class, config, options)} {:then model} -
- - - - - {#each model as attribute} - - {/each} - - - {#if objects} - - {#each objects as object (object._id)} - onClick(object)}> - {#each model as attribute} - - {/each} - - {/each} - - {/if} -
-
-
+ + + {#each model as attribute} + + {/each} + + {#if objects} + {#each objects as object (object._id)} + onClick(object)}> + {#each model as attribute} + + {/each} + + {/each} + {/if} +
{/await}