mirror of
https://github.com/typecho/typecho.git
synced 2025-03-23 19:40:22 +01:00
issue #56 导航改进
This commit is contained in:
parent
290195b982
commit
18f4ef3641
@ -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;
|
||||
|
@ -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));
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user