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

@ -713,3 +713,42 @@ ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons l
border-radius: 5px; border-radius: 5px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); 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>
</div> </div>
</nav> </nav>
<div class="container-fluid">
<div class="container">
<ul id="messages" class="feedback-panel">
</ul>
</div>
<div layout:fragment="content"> <div layout:fragment="content">
</div> </div>
</div>
<footer> <footer>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@ -85,6 +90,7 @@
<!-- Custom scripts for this template --> <!-- Custom scripts for this template -->
<script src="/js/agency.js"></script> <script src="/js/agency.js"></script>
<script src="/js/core.js"></script>
</body> </body>
</html> </html>

View File

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