mirror of
https://github.com/typecho/typecho.git
synced 2025-03-24 20:09:47 +01:00
修改导航菜单
This commit is contained in:
parent
7b1324364a
commit
846ff1c477
@ -679,15 +679,16 @@ margin-top: 25px;
|
||||
background: #292D33;
|
||||
}
|
||||
|
||||
.typecho-nav-list {
|
||||
}
|
||||
|
||||
#typecho-nav-list ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#typecho-nav-list ul:first-child {
|
||||
border-left: 1px solid #383D45;
|
||||
}
|
||||
|
||||
#typecho-nav-list .root {
|
||||
position: relative;
|
||||
float: left;
|
||||
@ -698,30 +699,36 @@ margin-top: 25px;
|
||||
}
|
||||
|
||||
#typecho-nav-list .parent a {
|
||||
color: #FFF;
|
||||
display: block;
|
||||
float: left;
|
||||
padding: 0 20px;
|
||||
border-right: 1px solid #383D45;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
display: block;
|
||||
padding: 0 20px;
|
||||
float: left;
|
||||
color: #BBB;
|
||||
}
|
||||
|
||||
#typecho-nav-list .parent a:hover,
|
||||
#typecho-nav-list .focus .parent a,
|
||||
#typecho-nav-list .root:hover .parent a {
|
||||
background: #202328;
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#typecho-nav-list .focus .parent a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#typecho-nav-list .child {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 36px;
|
||||
margin: 0;
|
||||
width: 160px;
|
||||
background: #202328;
|
||||
overflow: hidden;
|
||||
z-index: 250;
|
||||
width: 160px;
|
||||
}
|
||||
|
||||
#typecho-nav-list .root:hover .child {
|
||||
@ -737,18 +744,9 @@ margin-top: 25px;
|
||||
#typecho-nav-list .child li.last {
|
||||
}
|
||||
|
||||
#typecho-nav-list .child li a:hover,
|
||||
#typecho-nav-list .child li.focus a,
|
||||
#typecho-nav-list .child li.focus a:hover {
|
||||
background: #292D33;
|
||||
}
|
||||
#typecho-nav-list .child li.focus a {
|
||||
color: #6DA1BB;
|
||||
}
|
||||
|
||||
#typecho-nav-list .child li a {
|
||||
text-decoration: none;
|
||||
color: #FFF;
|
||||
color: #BBB;
|
||||
display: block;
|
||||
padding: 0 20px;
|
||||
overflow: hidden;
|
||||
@ -758,6 +756,15 @@ margin-top: 25px;
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
#typecho-nav-list .child li a:hover {
|
||||
background: #292D33;
|
||||
color: #FFF;
|
||||
}
|
||||
#typecho-nav-list .child li.focus a {
|
||||
color: #6DA1BB;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.typecho-head-nav .operate {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
@ -1993,7 +2000,7 @@ ul.typecho-list-notable li .loading {
|
||||
* Upload
|
||||
*/
|
||||
#upload-panel {
|
||||
padding: 10px 15px;
|
||||
padding: 15px;
|
||||
border: 1px dashed #D9D9D6;
|
||||
background-color: #FFF;
|
||||
color: #999;
|
||||
|
@ -64,7 +64,7 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);
|
||||
</section>
|
||||
|
||||
<section class="typecho-post-option category-option">
|
||||
<label class="typecho-label"><?php _e('所属分类'); ?></label>
|
||||
<label class="typecho-label"><?php _e('分类'); ?></label>
|
||||
<?php Typecho_Widget::widget('Widget_Metas_Category_List')->to($category); ?>
|
||||
<ul>
|
||||
<?php
|
||||
@ -82,7 +82,7 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);
|
||||
</section>
|
||||
|
||||
<section class="typecho-post-option">
|
||||
<label for="tags" class="typecho-label"><?php _e('标签'); ?></label>
|
||||
<label for="token-input-tags" class="typecho-label"><?php _e('标签'); ?></label>
|
||||
<p><input id="tags" name="tags" type="text" value="<?php $post->tags(',', false); ?>" class="w-100 text" /></p>
|
||||
</section>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user