Skip to content

Commit

Permalink
fix(ui): Minor fixes related to css (#206)
Browse files Browse the repository at this point in the history
* Hints within the advanced section should now be visible
* Advanced section should now be properly themed
* Fixed light button color

---------

Co-authored-by: lupusA <[email protected]>
  • Loading branch information
lupusA and lupusA authored Nov 12, 2023
1 parent 1fd4dd2 commit 644d9af
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
19 changes: 11 additions & 8 deletions src/css/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ body {
border-color: var(--color-primary);
}

#kopia .btn-light {
background-color: var(--color-light);
border-color: var(--color-light);
}

#kopia .btn-secondary {
background-color: var(--color-secondary);
border-color: var(--color-secondary);
Expand Down Expand Up @@ -130,20 +135,17 @@ body {
#kopia .form-check-input:focus,
#kopia .accordion-button:focus {
color: var(--color-text-body);
background-color: var(--background-color);
box-shadow: 0 0 0 0.10rem var(--color-primary);
}

#kopia .form-check-input {
color: var(--color-text-body);
}

#kopia .form-text {
color: var(--color-text-form-help)
}

#kopia .text-muted.form-text,
#kopia .form-text,
#kopia .form-control::placeholder {
color: var(--color-text-form-help);
color: var(--color-text-form-help) !important
}

#kopia .accordion-body,
Expand Down Expand Up @@ -234,8 +236,9 @@ body {
vertical-align: middle;
}

.advancedOptions {
background-color: #f0f0f0;
#kopia .advancedOptions {
background-color: var(--background-color);
color: var(--color-text-body);
padding: 10px;
border: 1px solid #ccc;
}
Expand Down
4 changes: 4 additions & 0 deletions src/css/Theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
--color-submit: #00B4D8;
--color-select: #fefefe;
--color-link: #2A7FFF;
--color-light: #6c757d;

--color-text: #ffffff;
--color-text-body: #000000;
Expand All @@ -34,6 +35,7 @@
--color-submit: #00B4D8;
--color-select: #2c2c2c;
--color-link: #799bd1;
--color-light: #6c757d;

--color-text: #cfcfcf;
--color-text-body: #cfcfcf;
Expand All @@ -60,6 +62,7 @@
--color-submit: #a0c4ff;
--color-select: #fefefe;
--color-link: #2A7FFF;
--color-light: #6c757d;

--color-text: #000000;
--color-text-body: #000000;
Expand All @@ -86,6 +89,7 @@
--color-submit: #00B4D8;
--color-select: #fefefe;
--color-link: #03045E;
--color-light: #6c757d;

--color-text: #ffffff;
--color-text-body: #03045E;
Expand Down

0 comments on commit 644d9af

Please sign in to comment.