mirror of
https://github.com/typecho/typecho.git
synced 2025-03-23 11:29:41 +01:00
修复导航样式
This commit is contained in:
parent
177d426913
commit
dff15b64a0
@ -678,6 +678,23 @@ margin-top: 25px;
|
||||
background: #292D33;
|
||||
}
|
||||
|
||||
.typecho-head-nav a {
|
||||
color: #BBB;
|
||||
}
|
||||
.typecho-head-nav a:hover {
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.typecho-head-nav .site-name {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
padding: 0 20px 0 10px;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#typecho-nav-list ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
@ -693,10 +710,6 @@ margin-top: 25px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#typecho-nav-list .parent {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#typecho-nav-list .parent a {
|
||||
display: block;
|
||||
float: left;
|
||||
@ -711,12 +724,12 @@ margin-top: 25px;
|
||||
#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;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
#typecho-nav-list .child {
|
||||
@ -745,7 +758,6 @@ margin-top: 25px;
|
||||
}
|
||||
|
||||
#typecho-nav-list .child li a {
|
||||
text-decoration: none;
|
||||
color: #BBB;
|
||||
display: block;
|
||||
padding: 0 20px;
|
||||
@ -766,12 +778,20 @@ margin-top: 25px;
|
||||
}
|
||||
|
||||
.typecho-head-nav .operate {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.typecho-head-nav .operate .author {
|
||||
.typecho-head-nav .operate a {
|
||||
display: inline-block;
|
||||
margin-left: -1px;
|
||||
padding: 0 20px;
|
||||
border: 1px solid #383D45;
|
||||
border-width: 0 1px;
|
||||
line-height: 36px;
|
||||
color: #BBB;
|
||||
}
|
||||
.typecho-head-nav .operate a:hover {
|
||||
background-color: #202328;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
@ -824,7 +844,7 @@ margin-top: 25px;
|
||||
}
|
||||
.typecho-page-title h2 a {
|
||||
margin-left: 10px;
|
||||
padding: 3px 6px;
|
||||
padding: 3px 8px;
|
||||
background: #E9E9E6;
|
||||
font-size: .8em;
|
||||
|
||||
@ -933,7 +953,7 @@ margin-top: 25px;
|
||||
*/
|
||||
.typecho-option-tabs {
|
||||
list-style: none;
|
||||
margin: 0 0 20px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@ -979,7 +999,7 @@ margin-top: 25px;
|
||||
}
|
||||
|
||||
.typecho-list-operate {
|
||||
margin-bottom: 20px;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.typecho-list-operate input,
|
||||
@ -1031,8 +1051,8 @@ a.operate-reply {
|
||||
*/
|
||||
/** 增加表格标题 by 70 */
|
||||
.typecho-list-table-title {
|
||||
margin: 1em 0;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.typecho-list-table {
|
||||
@ -1576,7 +1596,7 @@ ul.typecho-list-notable li .loading {
|
||||
|
||||
.typecho-post-area #auto-save-message {
|
||||
color: #999;
|
||||
line-height: 32px;
|
||||
font-size: .92857em;
|
||||
}
|
||||
|
||||
/*.typecho-post-area .typecho-preview-label {
|
||||
@ -1647,7 +1667,8 @@ ul.typecho-list-notable li .loading {
|
||||
.typecho-post-area label.typecho-label cite {
|
||||
}
|
||||
|
||||
.typecho-post-area .submit {
|
||||
.typecho-post-area .submit .right button {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.typecho-post-area .right {
|
||||
@ -2021,10 +2042,10 @@ ul.typecho-list-notable li .loading {
|
||||
background-color: #FFFBCC;
|
||||
}
|
||||
.tDnD_whileDrag {
|
||||
-ms-transform-origin: 0 0;
|
||||
-moz-transform-origin: 0 0;
|
||||
-webkit-transform-origin: 0 0;
|
||||
transform-origin: 0 0;
|
||||
-ms-transform-origin: 20% 0;
|
||||
-moz-transform-origin: 20% 0;
|
||||
-webkit-transform-origin: 20% 0;
|
||||
transform-origin: 20% 0;
|
||||
|
||||
-ms-transform: rotate(2deg);
|
||||
-moz-transform: rotate(2deg);
|
||||
|
@ -1,16 +1,16 @@
|
||||
<?php if(!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
|
||||
<div class="typecho-head-nav clearfix">
|
||||
<div id="typecho-nav-list">
|
||||
<a class="site-name" href="<?php $options->siteUrl(); ?>"><?php $options->title(); ?></a>
|
||||
<nav id="typecho-nav-list">
|
||||
<?php $menu->output(); ?>
|
||||
</div>
|
||||
<a href="">Typecho</a>
|
||||
<a href="<?php $options->siteUrl(); ?>"><?php _e('我的站点'); ?></a>
|
||||
</nav>
|
||||
<div class="operate">
|
||||
<?php Typecho_Plugin::factory('admin/menu.php')->navBar(); _e('欢迎'); ?>,
|
||||
<a href="<?php $options->adminUrl('profile.php'); ?>" class="author important"><?php $user->screenName(); ?></a>
|
||||
<a class="exit" href="<?php $options->logoutUrl(); ?>"><?php _e('登出'); ?></a>
|
||||
<!-- <?php Typecho_Plugin::factory('admin/menu.php')->navBar(); _e('欢迎'); ?>, -->
|
||||
<a href="<?php $options->adminUrl('profile.php'); ?>" class="author"><?php $user->screenName(); ?></a><!--
|
||||
--><a class="exit" href="<?php $options->logoutUrl(); ?>"><?php _e('登出'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if($notice->have() && in_array($notice->noticeType, array('success', 'notice', 'error'))): ?>
|
||||
<div class="message <?php $notice->noticeType(); ?> popup">
|
||||
<ul>
|
||||
|
@ -10,7 +10,7 @@ include 'menu.php';
|
||||
<div class="col-mb-12 typecho-list">
|
||||
<?php Typecho_Widget::widget('Widget_Plugins_List_Activated')->to($activatedPlugins); ?>
|
||||
<?php if ($activatedPlugins->have()): ?>
|
||||
<!--<h4 class="typecho-list-table-title"><?php _e('启用的插件'); ?></h4>-->
|
||||
<h4 class="typecho-list-table-title"><?php _e('启用的插件'); ?></h4>
|
||||
<table class="typecho-list-table">
|
||||
<colgroup>
|
||||
<col width="25%"/>
|
||||
|
@ -45,16 +45,15 @@ Typecho_Widget::widget('Widget_Contents_Post_Edit')->to($post);
|
||||
<p>
|
||||
<textarea style="height: <?php $options->editorSize(); ?>px" autocomplete="off" id="text" name="text" class="w-100 mono"><?php echo htmlspecialchars($post->text); ?></textarea>
|
||||
</p>
|
||||
|
||||
<?php include 'file-upload.php'; ?>
|
||||
|
||||
<?php Typecho_Plugin::factory('admin/write-post.php')->content($post); ?>
|
||||
<p class="submit">
|
||||
<span class="left">
|
||||
<span id="auto-save-message">保存于 1 分钟前</span>
|
||||
</span>
|
||||
|
||||
<span class="right">
|
||||
<span id="auto-save-message">1 分钟前保存 </span>
|
||||
<input type="hidden" name="cid" value="<?php $post->cid(); ?>" />
|
||||
<button type="submit" name="do" value="save" id="btn-save"><?php _e('保存草稿'); ?></button>
|
||||
<button type="submit" name="do" value="publish" class="primary" id="btn-submit"><?php _e('发布文章'); ?></button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user