bottom notification test

This commit is contained in:
harukin 2019-02-10 20:38:21 +09:00
parent a5499127dd
commit 3c399fd333
2 changed files with 10 additions and 4 deletions

View File

@ -1914,9 +1914,10 @@ dl.bb-dl > dd > li {
left: -40px; left: -40px;
transition: all 300ms 0s; transition: all 300ms 0s;
} }
#user_menu > ul > iframe { .region_1-on #user_menu > ul > iframe {
position: relative; position: fixed;
left: -15px; left: -10px;
bottom: 50px;
} }
#user_menu > ul > li:hover { #user_menu > ul > li:hover {
background-color: #e1dede; background-color: #e1dede;
@ -2227,6 +2228,11 @@ nav .navbar-nav > .text-truncate {
margin-right: calc(calc(50% - $converse_widts) / 2); margin-right: calc(calc(50% - $converse_widts) / 2);
} }
} }
@media screen and (max-height: 780px) {
#user_menu > ul > iframe {
display: none;
}
}
.toplevel_item:nth-child(2n) { .toplevel_item:nth-child(2n) {
float: left; float: left;
} }

View File

@ -67,7 +67,7 @@
<p>利用規約</p> <p>利用規約</p>
</a> </a>
</li> </li>
<iframe id="frame" width="115%" height="120%" src="./page/harukin/noti" frameborder="0"></iframe> <iframe id="frame" src="./page/harukin/noti" frameborder="0"></iframe>
<script> <script>
$(function(){ $(function(){
$('#frame').on('load', function(){ $('#frame').on('load', function(){