mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: Alerts styling
This commit is contained in:
parent
1e86e581fc
commit
54d335989d
@ -2,19 +2,19 @@
|
|||||||
<div class="notifications-list">
|
<div class="notifications-list">
|
||||||
<% loop $NotificationsToday %>
|
<% loop $NotificationsToday %>
|
||||||
<div class="alert alert-warning">
|
<div class="alert alert-warning">
|
||||||
<div class="container">
|
<div class="alert__container container">
|
||||||
<% if $DisplayTitle && $Title %>
|
<% if $DisplayTitle && $Title %>
|
||||||
<h2>$Title</h2>
|
<h2 class="alert__title">$Title</h2>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<div class="typography">
|
<div class="alert__html typography">
|
||||||
$Content
|
$Content
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if $TargetLink %>
|
<% if $TargetLink %>
|
||||||
<% with $TargetLink %>
|
<% with $TargetLink %>
|
||||||
<a
|
<a
|
||||||
class="alert-link" href="$LinkURL"
|
class="alert__link" href="$LinkURL"
|
||||||
<% if $OpenInNewWindow %> target="_blank"<% end_if %>
|
<% if $OpenInNewWindow %> target="_blank"<% end_if %>
|
||||||
>
|
>
|
||||||
$Title
|
$Title
|
||||||
@ -22,9 +22,13 @@
|
|||||||
<% end_with %>
|
<% end_with %>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<b class="btn btn-danger btn-close" data-bs-dismiss="alert" aria-label="Close">
|
<button
|
||||||
|
type="button"
|
||||||
|
class="alert__close btn btn-danger btn-close"
|
||||||
|
data-bs-dismiss="alert" aria-label="Close"
|
||||||
|
>
|
||||||
<i class="fas fa-times"></i>
|
<i class="fas fa-times"></i>
|
||||||
</b>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
|
Loading…
Reference in New Issue
Block a user