issue #56 导航改进

This commit is contained in:
fen 2013-11-06 12:08:29 +08:00
parent 290195b982
commit 18f4ef3641
3 changed files with 5 additions and 7 deletions

View File

@ -346,9 +346,8 @@ button {
font-weight: bold; }
#typecho-nav-list .child {
display: none;
position: absolute;
top: 36px;
top: -9999em;
margin: 0;
min-width: 160px;
max-width: 240px;
@ -357,7 +356,7 @@ button {
z-index: 250; }
#typecho-nav-list .root:hover .child {
display: block; }
top: 36px; }
#typecho-nav-list .child li a {
color: #BBB;

View File

@ -237,7 +237,7 @@ $(document).ready(function () {
} else {
var form = $('<form method="post" action="'
+ t.attr('rel') + '" class="comment-reply">'
+ '<p><textarea name="text" class="w-90" rows="3"></textarea></p>'
+ '<p><label for="text" class="visuallyhidden"><?php _e('内容'); ?></label><textarea id="text" name="text" class="w-90" rows="3"></textarea></p>'
+ '<p><button type="submit" class="btn-s primary"><?php _e('回复'); ?></button> <button type="button" class="btn-s cancel"><?php _e('取消'); ?></button></p>'
+ '</form>').insertBefore($('.comment-action', td));

View File

@ -52,9 +52,8 @@
}
#typecho-nav-list .child {
display: none;
position: absolute;
top: 36px;
top: -9999em;
margin: 0;
min-width: 160px;
max-width: 240px;
@ -64,7 +63,7 @@
}
#typecho-nav-list .root:hover .child {
display: block;
top: 36px;
}
#typecho-nav-list .child li a {