diff --git a/src/app.css b/src/app.css index a4cb029..4aa148c 100644 --- a/src/app.css +++ b/src/app.css @@ -1,5 +1,5 @@ @import '@fontsource/fira-mono'; -@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&family=Montserrat:wght@500&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&family=Montserrat:wght@500&family=Roboto&display=swap'); :root { font-family: 'Fira Sans', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, @@ -9,7 +9,8 @@ --primary-color: #e7f4ff; --secondary-color: #d0dde9; --tertiary-color: #edf0f8; - --accent-color: #ff0df8; + --accent-color: #de09fa; + /*--accent-color: #ff0df8;*/ --heading-color: rgba(0, 0, 0, 0.8); --text-color: #444444; --background-without-opacity: rgba(255, 255, 255, 0.7); @@ -18,7 +19,7 @@ } select, button { - font-family: 'Fira Sans', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + font-family: Roboto, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 90%; border-style: solid; border-radius: 0; @@ -28,7 +29,51 @@ select, button { } button { - padding: 0.2em 0.8em; + padding: 0.4em 1.0em; + border-radius: 5px; + border-style: solid; + background-color: white; + border-color: #999999; + width: auto;; + transition: 100ms linear; + font-weight: 600; +} + +button:hover { + background-color: #eeeeee; +} + +button.colored { + background-color: var(--accent-color); + font-weight: bold; + color: white; + border-style: solid; + border-width: 2px; + border-color: var(--accent-color); +} + +button.colored:hover { + background-color: white; + font-weight: bold; + color: var(--accent-color); + border-color: var(--accent-color); +} + +.danger { + background-color: #ee0000; + font-weight: bold; + color: white; +} + +button.danger { + border-style: solid; + border-width: 2px; + border-color: #ee0000; +} + +button.danger:hover { + background-color: black; + border-color: black; } nav { @@ -125,16 +170,17 @@ pre { } .bracket { - color: #d0dde9; + color: #a0adb9; } +/* input, button { font-size: inherit; - font-family: inherit; -} + */ .data-view { + font-family: monospace; display: flex; flex-direction: column; border-style: solid; @@ -143,7 +189,7 @@ button { flex-grow: 2; padding: 1em; background-color: #e2eaff; - height: 86vh; + height: 84vh; max-width: 65vw; min-width: 65vw; overflow-y: scroll; diff --git a/src/lib/Modal.svelte b/src/lib/Modal.svelte new file mode 100644 index 0000000..4dfdb19 --- /dev/null +++ b/src/lib/Modal.svelte @@ -0,0 +1,82 @@ + + + + + \ No newline at end of file diff --git a/src/lib/header/Header.svelte b/src/lib/header/Header.svelte index ee57d05..92e5433 100644 --- a/src/lib/header/Header.svelte +++ b/src/lib/header/Header.svelte @@ -14,10 +14,10 @@
- {#if testMode} -
TEST MODE ENABLED
- {/if}
- {#if $state.items?.length > 0} -
- item.value)} - depth={expandAll ? Infinity : 1}/> +
+
+
+ + + + +
+ {#if $state.itemCount >= 0} +
+ {$state.itemCount} Messages +
+ {/if}
- {:else } -
-

No query data

-
- {/if} + {#if $state.items?.length > 0} +
+ item.value)} + depth={expandAll ? Infinity : 1}/> +
+ {:else } +
+

No query data

+
+ {/if} +