Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): Minor theme changes #187

Merged
merged 1 commit into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions public/index.css

This file was deleted.

3 changes: 1 addition & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="index.css">
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="Kopia UI" />
Expand All @@ -16,7 +15,7 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<div id="appVersion">
<div id="appVersion" style="display: none">
<hr />
<p class="version-info">Version %REACT_APP_FULL_VERSION_INFO%</p>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/DirectoryObject.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ export class DirectoryObject extends Component {
<Row>
<Col xs="auto">
{this.state.mountInfo.path ? <>
<Button size="sm" variant="info" onClick={this.unmount}>Unmount</Button>
<Button size="sm" variant="secondary" onClick={this.unmount}>Unmount</Button>
{window.kopiaUI && <>
&nbsp;
<Button size="sm" variant="info" onClick={this.browseMounted}>Browse</Button>
<Button size="sm" variant="secondary" onClick={this.browseMounted}>Browse</Button>
</>}
&nbsp;<input id="mountedPath" value={this.state.mountInfo.path} />
<Button size="sm" variant="primary" onClick={this.copyPath}><FontAwesomeIcon
Expand All @@ -135,7 +135,7 @@ export class DirectoryObject extends Component {
<Button size="sm" variant="primary" onClick={this.mount}>Mount as Local Filesystem</Button>
</>}
&nbsp;
<Button size="sm" variant="info"
<Button size="sm" variant="secondary"
href={"/snapshots/dir/" + this.props.match.params.oid + "/restore"}>Restore
Files & Directories</Button>
&nbsp;
Expand Down
9 changes: 9 additions & 0 deletions src/css/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 5 additions & 1 deletion src/css/Theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
--color-success: #5ea5cd;
--color-submit: #00B4D8;
--color-select: #f2f9ff;
--color-link: #2A7FFF;

--text-color: #ffffff;
--text-color-body: #000000;
Expand All @@ -25,6 +26,7 @@
--color-submit: #00B4D8;
--color-stripe: #323232;
--color-select: #323232;
--color-link: #6a8ec6;

--text-color: #cfcfcf;
--text-color-body: #cfcfcf;
Expand All @@ -43,6 +45,7 @@
--color-success: #bdb2ff;
--color-submit: #a0c4ff;
--color-select: #f2f9ff;
--color-link: #2A7FFF;

--text-color: #000000;
--text-color-body: #000000;
Expand All @@ -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;
Expand Down
Loading