toaster components + deprecated alert.location

main
psychobunny 9 years ago
parent 709f820afe
commit 8139f6a26d

@ -2,9 +2,9 @@
position: fixed; position: fixed;
width: 300px; width: 300px;
z-index: 10002; z-index: 10002;
.toaster-alert {
.pointer; right: 20px;
} bottom: 0px;
.alert { .alert {
img { img {
@ -13,23 +13,3 @@
} }
} }
} }
.alert-left-top {
left:20px;
top:70px;
}
.alert-left-bottom {
left:20px;
bottom:20px;
}
.alert-right-top {
right:20px;
top:70px;
}
.alert-right-bottom {
right:20px;
bottom:20px;
}

@ -1,4 +1,4 @@
<div id="{alert_id}" class="alert alert-dismissable alert-{type} clearfix"> <div id="{alert_id}" class="alert alert-dismissable alert-{type} clearfix" component="toaster/toast">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<!-- IF image --> <!-- IF image -->

@ -13,10 +13,7 @@
<button type="button" class="btn btn-default next"><i class="fa fa-fw fa-angle-down"></i></button> <button type="button" class="btn btn-default next"><i class="fa fa-fw fa-angle-down"></i></button>
</div> </div>
</div> </div>
<div class="alert-window alert-left-top"></div> <div component="toaster/tray" class="alert-window"></div>
<div class="alert-window alert-left-bottom"></div>
<div class="alert-window alert-right-top"></div>
<div class="alert-window alert-right-bottom"></div>
<script> <script>
require(['forum/footer']); require(['forum/footer']);

Loading…
Cancel
Save