Commit 46c8f41f authored by Clint Mourlevat's avatar Clint Mourlevat

Fixing CSS for last change

parent fd568d9a
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<span class="click-edit" spellcheck="false">1</span> STRAT = <span class="click-edit" spellcheck="false">1</span> STRAT =
</div> </div>
<span class="align-middle display-1 font-weight-bold" id="amount">@(Model.UsdPrice.ToString("C2"))</span> <span class="align-middle display-1 font-weight-bold" id="amount">@(Model.UsdPrice.ToString("C2"))</span>
<span id="lastchange" class="text-@(Model.Last24Change > 0 ? "success":"danger") font-weight-bold"><sup> @((Model.Last24Change > 0 ? "+":"-")) @(Model.Last24Change.ToString("P2"))</sup></span> <span id="lastchange" class="change-@(Model.Last24Change > 0 ? "success":"danger") font-weight-bold"><sup> @((Model.Last24Change > 0 ? "+":"-")) @(Model.Last24Change.ToString("P2"))</sup></span>
</h1> </h1>
<a asp-controller="Home" asp-action="Generator" class="btn-secondary-box"><i class="fa fa-paper-plane"></i> Get a Stratis Address</a> <a asp-controller="Home" asp-action="Generator" class="btn-secondary-box"><i class="fa fa-paper-plane"></i> Get a Stratis Address</a>
</div> </div>
......
...@@ -3223,3 +3223,13 @@ h2 ...@@ -3223,3 +3223,13 @@ h2
border-top-color: #fff; border-top-color: #fff;
border-left-color: #fff; border-left-color: #fff;
} }
.change-success
{
color: lawngreen;
}
.change-danger
{
color: orangered;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment