Skip to content

Commit

Permalink
changes to css to change button color on selected/hover
Browse files Browse the repository at this point in the history
  • Loading branch information
AAloshine-scottlogic committed Feb 9, 2024
1 parent 8f84648 commit c7767d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
--action-button-disabled-text-colour: #111;

/* level buttons */
--level-button-colour: var(--main-text-colour);
--level-button-colour: var(--accent-background-colour);
--level-button-colour-disabled: #777;
--level-button-border-colour: var(--accent-border-colour);
--level-button-border-colour-disabled: #aaaaaa80;
--level-button-background-colour-selected: var(--accent-background-colour);
--level-button-background-colour-selected: var(--main-text-colour);
--level-button-background-colour-hover: #11484b;

/* level banner */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
padding: 1rem;
border: 0.125rem solid var(--level-button-border-colour);
border-radius: 0;
background-color: transparent;
color: var(--level-button-colour);
background-color: var(--level-button-colour);
font-size: 1.875rem;
}

Expand All @@ -22,6 +21,7 @@

.level-button.selected {
background-color: var(--level-button-background-colour-selected);
color: var(--level-button-colour);
}

.level-button.disabled {
Expand All @@ -33,3 +33,8 @@
.level-button[aria-disabled='false']:hover {
background-color: var(--level-button-background-colour-hover);
}

.level-button.selected:hover {
background-color: var(--level-button-background-colour-selected);
color: var(--level-button-colour);
}

0 comments on commit c7767d1

Please sign in to comment.