diff --git a/cista-front/src/assets/main.css b/cista-front/src/assets/main.css index 60ead97..814bed8 100644 --- a/cista-front/src/assets/main.css +++ b/cista-front/src/assets/main.css @@ -3,9 +3,10 @@ :root { --primary-color: #000; --primary-background: #ddd; - --header-background: #246; + --header-background: var(--soft-color); --header-color: #ccc; --primary-color: #000; + --soft-color: #146; --accent-color: #f80; --transition-time: 0.2s; /* The following are overridden by responsive layouts */ @@ -16,7 +17,7 @@ @media (prefers-color-scheme: dark) { :root { --primary-color: #ddd; - --primary-background: #003; + --primary-background: var(--soft-color); --header-background: #000; --header-color: #ccc; } @@ -235,3 +236,9 @@ main { opacity: 0; } } +.error-message { + padding: .5em; + font-weight: bold; + background: var(--accent-color); + color: #000; +} diff --git a/cista-front/src/components/FileExplorer.vue b/cista-front/src/components/FileExplorer.vue index 9c4bc4c..cb9288d 100644 --- a/cista-front/src/components/FileExplorer.vue +++ b/cista-front/src/components/FileExplorer.vue @@ -129,8 +129,8 @@ - - {{props.documents.length}} items shown: + + {{props.documents.length}} items {{ formatSize(props.documents.reduce((a, b) => a + b.size, 0)) }} @@ -140,7 +140,7 @@