Warning Style

This commit is contained in:
Andre Beging
2025-03-28 19:37:29 +01:00
parent e327544240
commit a9730f2adf
3 changed files with 9 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
</NotFound>
</Router>
<MessageAlert/>
<MessageProvider />
<ModalProvider Centered="true" />
</Blazorise.ThemeProvider>

View File

@@ -3,6 +3,7 @@
@{
var divClass = $"{CssClass} pc-main";
if (Prospect is { Complete: true }) divClass += " complete";
if (Prospect is { Warning: true }) divClass += " warning";
}
<div class="@divClass">

View File

@@ -23,6 +23,12 @@
padding: 16px;
}
.pc-main.warning {
-webkit-box-shadow: 0 0 9px 4px rgba(214,100,23,0.87);
-moz-box-shadow: 0 0 9px 4px rgba(214,100,23,0.87);
box-shadow: 0 0 9px 4px rgba(214,100,23,0.87);
}
.complete {
background: #76ff003b;
}