From ee8c8219509d35adbbdf2f310e26bc32c9ce60c7 Mon Sep 17 00:00:00 2001 From: Christoph Anderson Date: Mon, 11 Sep 2023 20:02:15 +0200 Subject: [PATCH] - Minor fixes for themes. - Changed variant of navigation button in DirectoryObject. - Removed index.css and reverted to old implementation --- public/index.css | 4 ---- public/index.html | 3 +-- src/DirectoryObject.jsx | 6 +++--- src/css/App.css | 9 +++++++++ src/css/Theme.css | 6 +++++- 5 files changed, 18 insertions(+), 10 deletions(-) delete mode 100644 public/index.css diff --git a/public/index.css b/public/index.css deleted file mode 100644 index 6c620de..0000000 --- a/public/index.css +++ /dev/null @@ -1,4 +0,0 @@ -div#appVersion { - display: none - } - \ No newline at end of file diff --git a/public/index.html b/public/index.html index 1de80fa..f22fed5 100644 --- a/public/index.html +++ b/public/index.html @@ -3,7 +3,6 @@ - @@ -16,7 +15,7 @@
-
+ diff --git a/src/DirectoryObject.jsx b/src/DirectoryObject.jsx index 315591d..958c849 100644 --- a/src/DirectoryObject.jsx +++ b/src/DirectoryObject.jsx @@ -123,10 +123,10 @@ export class DirectoryObject extends Component { {this.state.mountInfo.path ? <> - + {window.kopiaUI && <>   - + }   }   -   diff --git a/src/css/App.css b/src/css/App.css index 09927cf..1b7ba60 100644 --- a/src/css/App.css +++ b/src/css/App.css @@ -96,6 +96,15 @@ body { filter: brightness(80%); } +a { + color: var(--color-link); +} + +a:hover { + color: var(--color-link); + filter: brightness(80%); +} + .table-striped>tbody>tr:nth-of-type(odd)>* { color: var(--text-color-body); background-color: var(--color-stripe); diff --git a/src/css/Theme.css b/src/css/Theme.css index f3c068c..8264263 100644 --- a/src/css/Theme.css +++ b/src/css/Theme.css @@ -7,6 +7,7 @@ --color-success: #5ea5cd; --color-submit: #00B4D8; --color-select: #f2f9ff; + --color-link: #2A7FFF; --text-color: #ffffff; --text-color-body: #000000; @@ -25,6 +26,7 @@ --color-submit: #00B4D8; --color-stripe: #323232; --color-select: #323232; + --color-link: #6a8ec6; --text-color: #cfcfcf; --text-color-body: #cfcfcf; @@ -43,6 +45,7 @@ --color-success: #bdb2ff; --color-submit: #a0c4ff; --color-select: #f2f9ff; + --color-link: #2A7FFF; --text-color: #000000; --text-color-body: #000000; @@ -56,10 +59,11 @@ --background-color: #ffffff; --color-primary: #03045E; --color-secondary: #0077B6; - --color-warning: #ecd131; + --color-warning: #e8cc2a; --color-success: #0077B6; --color-submit: #00B4D8; --color-select: #f2f9ff; + --color-link: #03045E; --text-color: #ffffff; --text-color-body: #03045E;