Browse Source

美化界面

fudan
欧醚 3 years ago
parent
commit
9b79f2bda8
Signed by: OmmyZhang GPG Key ID: 757D312E7C9D13F7
1 changed files with 13 additions and 11 deletions
  1. +13
    -11
      templates/list.html

+ 13
- 11
templates/list.html View File

@ -76,15 +76,18 @@
}
.new {
overflow: hidden;
position: relative;
margin-bottom: 30px;
}
.new-collapse {
max-height: 340px;
max-height: 360px;
}
.show-button {
position: relative;
.show-mask {
display: block;
position: absolute;
top: 0;
text-align: center;
margin-top: -340px;
padding-top: 340px;
padding-top: 320px;
width: 100%;
}
.footer {
@ -148,18 +151,17 @@
<li>建议在电脑上操作以免丢失未保存的内容。如果出错(例如验证问题答错了),请回退,多数浏览器都会恢复之前填写的内容。</li>
</ul>
</div>
</div>
<a href="##" onclick="showNew()" style="display:block">
<div class="show-button">
<span><svg fill="#000" viewBox="0 12 24 48" width="24"><path d="m0 24 l12 18 l12 -18 z"></path></svg></span>
</div>
<a href="##" onclick="showNew()" class="show-mask">
<span><svg fill="#fff" viewBox="0 12 24 48" width="24"><path d="m0 24 l12 18 l12 -18 z"></path></svg></span>
</a>
</div>
<script>
function showNew() {
$('#new').removeClass('new-collapse');
$('.show-button').hide();
$('.show-mask').hide();
}
</script>

Loading…
Cancel
Save