aboutsummaryrefslogtreecommitdiffstats
path: root/code/ui/phase
diff options
context:
space:
mode:
Diffstat (limited to 'code/ui/phase')
-rw-r--r--code/ui/phase/PhaseTimer.razor18
1 files changed, 8 insertions, 10 deletions
diff --git a/code/ui/phase/PhaseTimer.razor b/code/ui/phase/PhaseTimer.razor
index 9293976..73f44e2 100644
--- a/code/ui/phase/PhaseTimer.razor
+++ b/code/ui/phase/PhaseTimer.razor
@@ -16,26 +16,24 @@ phasetimer {
align-items: center;
}
.box {
- background-color: rgba(0, 0, 0, 0.20);
- backdrop-filter-blur: 8px;
- padding: 5px;
color: white;
font-weight: 700;
- font-size: 30px;
+ font-size: 25px;
font-family: "Roboto";
+ text-shadow: 1px 1px 0 0 rgba(0,0,0,0.75);
}
</style>
@if (HasTime())
{
-<div class="box">
+<smallbox class="box">
@GetTime()
-</div>
+</smallbox>
} else
{
-<div class="box">
+<smallbox class="box">
@GetPhase()
-</div>
+</smallbox>
}
@code
@@ -54,8 +52,8 @@ phasetimer {
return MurderGame.Instance.CurrentPhase.Title;
}
- protected override int BuildHash()
+ protected override int BuildHash()
{
- return HashCode.Combine(MurderGame.Instance.CurrentPhase.TimeLeft.GetHashCode(), MurderGame.Instance.CurrentPhase.Title.GetHashCode());
+ return HashCode.Combine(MurderGame.Instance.CurrentPhase.TimeLeft.GetHashCode(), MurderGame.Instance.CurrentPhase.Title.GetHashCode());
}
}