add messages

This commit is contained in:
Anton Romanov 2018-10-02 10:58:41 +04:00
parent a9f4e51558
commit bf73be3b70
3 changed files with 47 additions and 3 deletions

View File

@ -712,4 +712,43 @@ ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons l
border: 0 solid #e7e7e7;
border-radius: 5px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
/* ---------------------------------------------------
FEEDBACK STYLE
----------------------------------------------------- */
.feedback-panel {
list-style-type: none;
padding: 5px;
}
.feedback-panel .alert {
padding: 5px;
margin-bottom: 5px;
cursor: pointer;
}
/* ---------------------------------------------------
MEDIAQUERIES
----------------------------------------------------- */
@media (min-width: 768px) {
.feedback-panel {
position: fixed;
overflow-y: hidden;
max-height: calc(100vh - 60px);
width: 250px;
top: 50px;
right: 15px;
opacity: .8;
z-index: 10000;
}
.feedback-panel .alert {
padding: 10px;
margin-bottom: 10px;
overflow: hidden;
}
.feedback-panel .alert:hover {
border-color: #888;
}
}

View File

@ -61,9 +61,14 @@
</div>
</div>
</nav>
<div layout:fragment="content">
<div class="container-fluid">
<div class="container">
<ul id="messages" class="feedback-panel">
</ul>
</div>
<div layout:fragment="content">
</div>
</div>
<footer>
<div class="container">
<div class="row">
@ -85,6 +90,7 @@
<!-- Custom scripts for this template -->
<script src="/js/agency.js"></script>
<script src="/js/core.js"></script>
</body>
</html>

View File

@ -19,7 +19,6 @@
</div>
</section>
<script src="/js/core.js"></script>
<script src="/js/papers.js"></script>
<script>
$( document ).ready(function() {