Skip to content

Commit

Permalink
Add player shaded cell support #84
Browse files Browse the repository at this point in the history
  • Loading branch information
alexis-martel committed Apr 15, 2023
1 parent 276f34a commit 0c9797e
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
--selection-colour: #B4D7FF;
--highlight-colour: #DCDCDD;
--error-colour: #ff5959;
--shaded-colour-1: rgba(0, 109, 239, 0.2);
--shaded-colour-2: rgba(0, 109, 239, 0.3);
--shaded-colour-3: rgba(0, 109, 239, 0.4);
}
}

Expand All @@ -22,6 +25,9 @@
--selection-colour: #1b538a;
--highlight-colour: #3f3f3f;
--error-colour: #d50000;
--shaded-colour-1: rgba(255, 250, 240, 0.2);
--shaded-colour-2: rgba(255, 250, 240, 0.3);
--shaded-colour-3: rgba(255, 250, 240, 0.4);
}
}

Expand Down Expand Up @@ -341,10 +347,17 @@ a {
background-color: var(--foreground-colour);
}

.oc-cell.oc-shaded-level-1 {
background-color: var(--highlight-colour);
.oc-shaded-level-1 {
background-color: var(--shaded-colour-1);
}

.oc-shaded-level-2 {
background-color: var(--shaded-colour-2);
}

.oc-shaded-level-3 {
background-color: var(--shaded-colour-3);
}

.oc-invisible {
background-color: transparent;
Expand Down

0 comments on commit 0c9797e

Please sign in to comment.