From 6513eab608976a48c7a04a6078e555457a6e7ba1 Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Tue, 30 May 2023 19:40:12 +0200 Subject: [PATCH] Reamed `btn-sm` class to `button-small` --- frontend/src/components/datepicker.svelte | 2 +- frontend/src/components/forminput.svelte | 10 +++++----- frontend/src/components/grid-items.svelte | 2 +- frontend/src/components/tabbar.svelte | 4 ++-- .../organisms/connection/collection/aggregate.svelte | 2 +- .../src/organisms/connection/collection/insert.svelte | 2 +- frontend/src/styles/style.css | 8 ++++---- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/datepicker.svelte b/frontend/src/components/datepicker.svelte index 879cfdd..0cde0f1 100644 --- a/frontend/src/components/datepicker.svelte +++ b/frontend/src/components/datepicker.svelte @@ -112,7 +112,7 @@ diff --git a/frontend/src/components/forminput.svelte b/frontend/src/components/forminput.svelte index 48f2ff2..a3f7193 100644 --- a/frontend/src/components/forminput.svelte +++ b/frontend/src/components/forminput.svelte @@ -94,22 +94,22 @@
{#if type === 'objectid'} {#if objectIdInput?.disabled} - {/if} - {:else if type === 'date'} - - {/if} -
diff --git a/frontend/src/components/grid-items.svelte b/frontend/src/components/grid-items.svelte index 06760eb..1cbe8f2 100644 --- a/frontend/src/components/grid-items.svelte +++ b/frontend/src/components/grid-items.svelte @@ -173,7 +173,7 @@ {#if canRemoveItems} - diff --git a/frontend/src/components/tabbar.svelte b/frontend/src/components/tabbar.svelte index efdec28..19a6ea5 100644 --- a/frontend/src/components/tabbar.svelte +++ b/frontend/src/components/tabbar.svelte @@ -23,7 +23,7 @@ {tab.title} {#if tab.closable} - {/if} @@ -89,7 +89,7 @@ cursor: not-allowed; } - .btn-sm { + .button-small { position: absolute; right: 7px; top: 7px; diff --git a/frontend/src/organisms/connection/collection/aggregate.svelte b/frontend/src/organisms/connection/collection/aggregate.svelte index 044af8d..e23cdb4 100644 --- a/frontend/src/organisms/connection/collection/aggregate.svelte +++ b/frontend/src/organisms/connection/collection/aggregate.svelte @@ -83,7 +83,7 @@ {/each} - diff --git a/frontend/src/organisms/connection/collection/insert.svelte b/frontend/src/organisms/connection/collection/insert.svelte index 6030104..c9086c8 100644 --- a/frontend/src/organisms/connection/collection/insert.svelte +++ b/frontend/src/organisms/connection/collection/insert.svelte @@ -162,7 +162,7 @@ {/if} {#if collection.viewKey !== 'list'} - {/if} diff --git a/frontend/src/styles/style.css b/frontend/src/styles/style.css index 7f53835..0de986f 100644 --- a/frontend/src/styles/style.css +++ b/frontend/src/styles/style.css @@ -100,17 +100,17 @@ select:disabled { cursor: not-allowed; } -.btn-sm { +.button-small { padding: 3px; border-radius: 2px; } -.btn-sm:hover { +.button-small:hover { background-color: rgba(0, 0, 0, 0.1); } -.btn-sm:active { +.button-small:active { background-color: rgba(0, 0, 0, 0.2); } -.btn-sm svg { +.button-small svg { width: 13px; height: 13px; vertical-align: bottom;