添加部分图标
@@ -122,6 +122,11 @@ button {
|
||||
border: none;
|
||||
background-color: #e9e9e6;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
-ms-border-radius: 2px;
|
||||
-o-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
display: inline-block;
|
||||
padding: 0 12px;
|
||||
height: 32px;
|
||||
@@ -146,17 +151,15 @@ button {
|
||||
font-size: 1.14286em;
|
||||
font-weight: bold; }
|
||||
|
||||
button, .dropdown-menu {
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
-ms-border-radius: 2px;
|
||||
-o-border-radius: 2px;
|
||||
border-radius: 2px; }
|
||||
|
||||
.primary {
|
||||
border: none;
|
||||
background-color: #467b96;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
-ms-border-radius: 2px;
|
||||
-o-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
color: #FFF; }
|
||||
.primary:hover {
|
||||
background-color: #41728c; }
|
||||
@@ -169,17 +172,13 @@ button, .dropdown-menu {
|
||||
.btn-group {
|
||||
display: inline-block; }
|
||||
|
||||
.btn-group > a, .btn-group > span {
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
-ms-border-radius: 0;
|
||||
-o-border-radius: 0;
|
||||
border-radius: 0;
|
||||
margin-left: -1px; }
|
||||
|
||||
/* 下拉菜单 */
|
||||
.btn-drop {
|
||||
position: relative; }
|
||||
|
||||
.dropdown-toggle {
|
||||
padding-right: 8px; }
|
||||
|
||||
.dropdown-menu {
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
@@ -187,23 +186,22 @@ button, .dropdown-menu {
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #f9f9f7;
|
||||
border: 1px solid #D9D9D6;
|
||||
background: #FFF;
|
||||
text-align: left;
|
||||
min-width: 108px;
|
||||
display: none; }
|
||||
.dropdown-menu li {
|
||||
white-space: nowrap; }
|
||||
|
||||
.dropdown-menu li p {
|
||||
padding: 5px 15px; }
|
||||
|
||||
.dropdown-menu li a {
|
||||
display: block;
|
||||
padding: 3px 15px;
|
||||
color: #666; }
|
||||
.dropdown-menu li a:hover {
|
||||
background: #e9e9e9;
|
||||
text-decoration: none !important; }
|
||||
.dropdown-menu li.multiline {
|
||||
padding: 5px 12px 12px; }
|
||||
.dropdown-menu a {
|
||||
display: block;
|
||||
padding: 5px 12px;
|
||||
color: #666; }
|
||||
.dropdown-menu a:hover {
|
||||
background: #F6F6F3;
|
||||
text-decoration: none !important; }
|
||||
|
||||
/**
|
||||
* 提示信息框
|
||||
@@ -661,13 +659,19 @@ a.operate-reply {
|
||||
border-top: 1px solid #F0F0EC;
|
||||
word-break: break-all; }
|
||||
|
||||
.typecho-list-table .status {
|
||||
margin-left: 5px;
|
||||
color: #999;
|
||||
font-size: .92857em;
|
||||
font-style: normal; }
|
||||
|
||||
.typecho-list-table tbody tr:hover td {
|
||||
background-color: #F6F6F3; }
|
||||
|
||||
.typecho-list-table tbody tr.checked td {
|
||||
background-color: #FFF9E8; }
|
||||
|
||||
.typecho-list-table .warning {
|
||||
.warning {
|
||||
color: #B94A48; }
|
||||
|
||||
.typecho-list-table tr td .hidden-by-mouse {
|
||||
@@ -884,7 +888,7 @@ a.operate-reply {
|
||||
.typecho-page-main ul.tag-list li {
|
||||
display: inline-block;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 5px 10px;
|
||||
padding: 5px 5px 5px 10px;
|
||||
cursor: pointer; }
|
||||
|
||||
.typecho-page-main ul.tag-list li:hover {
|
||||
@@ -931,19 +935,9 @@ a.operate-reply {
|
||||
color: #999;
|
||||
font-size: .92857em; }
|
||||
|
||||
#upload-panel.drag, .tDnD_whileDrag {
|
||||
#upload-panel.drag {
|
||||
background-color: #FFFBCC; }
|
||||
|
||||
.tDnD_whileDrag {
|
||||
-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);
|
||||
-webkit-transform: rotate(2deg);
|
||||
webkit-transform: rotate(2deg); }
|
||||
|
||||
#file-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
@@ -956,9 +950,49 @@ a.operate-reply {
|
||||
margin-left: 5px;
|
||||
color: #B94A48; }
|
||||
|
||||
/* 拖动排序 */
|
||||
.tDnD_whileDrag {
|
||||
background-color: #FFFBCC;
|
||||
-webkit-transform-origin: 20% 0;
|
||||
-moz-transform-origin: 20% 0;
|
||||
-ms-transform-origin: 20% 0;
|
||||
-o-transform-origin: 20% 0;
|
||||
transform-origin: 20% 0;
|
||||
-webkit-transform: rotate(2deg);
|
||||
-moz-transform: rotate(2deg);
|
||||
-ms-transform: rotate(2deg);
|
||||
-o-transform: rotate(2deg);
|
||||
transform: rotate(2deg); }
|
||||
|
||||
/**
|
||||
* 导入扩展样式
|
||||
*/
|
||||
/**
|
||||
* icons
|
||||
*/
|
||||
.i-edit, .i-delete, .i-caret-up, .i-caret-down, .i-exlink {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: inline-block;
|
||||
vertical-align: text-bottom;
|
||||
background: url('../images/icons-s2ae04ce87c.png');
|
||||
background: url(../images/icons.png) no-repeat; }
|
||||
|
||||
.i-edit {
|
||||
background-position: 0 -32px; }
|
||||
|
||||
.i-delete {
|
||||
background-position: 0 -16px; }
|
||||
|
||||
.i-caret-up {
|
||||
background-position: 0 -64px; }
|
||||
|
||||
.i-caret-down {
|
||||
background-position: 0 -48px; }
|
||||
|
||||
.i-exlink {
|
||||
background-position: 0 0; }
|
||||
|
||||
.typecho-mime {
|
||||
background-image: url(../images/mime.gif);
|
||||
background-repeat: no-repeat;
|
||||
|
||||
@@ -16,7 +16,7 @@ if (isset($post) || isset($page)) {
|
||||
将要上传的文件拖放到这里 或者 <a href="###" class="upload-file">选择文件上传</a>
|
||||
<ul id="file-list">
|
||||
<?php while ($attachment->next()): ?>
|
||||
<li data-cid="<?php $attachment->cid(); ?>" data-url="<?php echo $attachment->attachment->url; ?>" data-image="<?php echo $attachment->attachment->isImage ? 1 : 0; ?>"><input type="hidden" name="attachment[]" value="<?php $attachment->cid(); ?>" /><a class="file" target="_blank" href="<?php $options->adminUrl('media.php?cid=' . $attachment->cid); ?>"><?php $attachment->title(); ?></a> <?php echo number_format(ceil($attachment->attachment->size / 1024)); ?> Kb <a href="#" class="insert">插入</a> <a href="#" class="delete">×</a></li>
|
||||
<li data-cid="<?php $attachment->cid(); ?>" data-url="<?php echo $attachment->attachment->url; ?>" data-image="<?php echo $attachment->attachment->isImage ? 1 : 0; ?>"><input type="hidden" name="attachment[]" value="<?php $attachment->cid(); ?>" /><a class="file" target="_blank" href="<?php $options->adminUrl('media.php?cid=' . $attachment->cid); ?>"><?php $attachment->title(); ?></a> <?php echo number_format(ceil($attachment->attachment->size / 1024)); ?> Kb <a href="###" class="insert">插入</a> <a href="###" class="delete" title="删除"><i class="i-delete"></i></a></li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
After Width: | Height: | Size: 559 B |
|
After Width: | Height: | Size: 193 B |
|
After Width: | Height: | Size: 177 B |
|
After Width: | Height: | Size: 289 B |
|
After Width: | Height: | Size: 283 B |
|
After Width: | Height: | Size: 311 B |
|
Before Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 55 B |
@@ -45,7 +45,7 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
|
||||
<div class="operate">
|
||||
<input type="checkbox" class="typecho-table-select-all" />
|
||||
<div class="btn-group btn-drop">
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="icon-caret-down"></i></button>
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="i-caret-down"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="<?php $options->index('/action/comments-edit?do=approved'); ?>"><?php _e('通过'); ?></a></li>
|
||||
<li><a href="<?php $options->index('/action/comments-edit?do=waiting'); ?>"><?php _e('待审核'); ?></a></li>
|
||||
@@ -116,14 +116,14 @@ $comments = Typecho_Widget::widget('Widget_Comments_Admin');
|
||||
<?php if ('comment' == $comments->type): ?>
|
||||
<?php $comments->gravatar(40); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ('comment' != $comments->type): ?>
|
||||
<?php _e('引用'); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</td>
|
||||
<td valign="top" class="comment-head">
|
||||
<div class="comment-meta">
|
||||
<strong class="comment-author"><?php $comments->author(true); ?></strong>
|
||||
<?php if ('comment' != $comments->type): ?>
|
||||
<small>(<?php _e('引用'); ?>)</small>
|
||||
<?php endif; ?>
|
||||
<?php if($comments->mail): ?>
|
||||
<br /><span><a href="mailto:<?php $comments->mail(); ?>"><?php $comments->mail(); ?></a></span>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -18,7 +18,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
<div class="operate">
|
||||
<input type="checkbox" class="typecho-table-select-all" />
|
||||
<div class="btn-group btn-drop">
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="icon-caret-down"></i></button>
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="i-caret-down"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a lang="<?php _e('你确认要删除这些附件吗?'); ?>" href="<?php $options->index('/action/contents-attachment-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
|
||||
</ul>
|
||||
@@ -63,7 +63,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
<td><a href="<?php $options->adminUrl('manage-comments.php?cid=' . $attachments->cid); ?>" class="balloon-button size-<?php echo Typecho_Common::splitByCount($attachments->commentsNum, 1, 10, 20, 50, 100); ?>"><?php $attachments->commentsNum(); ?></a></td>
|
||||
<td>
|
||||
<a class="typecho-mime typecho-mime-<?php echo $mime; ?>" href="<?php $options->adminUrl('media.php?cid=' . $attachments->cid); ?>"><?php $attachments->title(); ?></a>
|
||||
<a class="right" href="<?php $attachments->permalink(); ?>"><img src="<?php $options->adminUrl('images/link.png'); ?>" title="<?php _e('浏览 %s', $attachments->title); ?>" width="16" height="16" alt="view" /></a>
|
||||
<a class="right" href="<?php $attachments->permalink(); ?>"><i class="i-exlink" title="<?php _e('浏览 %s', $attachments->title); ?>"></i></a>
|
||||
</td>
|
||||
<td><?php $attachments->author(); ?></td>
|
||||
<td>
|
||||
|
||||
@@ -23,14 +23,16 @@ include 'menu.php';
|
||||
<div class="operate">
|
||||
<input type="checkbox" class="typecho-table-select-all" />
|
||||
<div class="btn-group btn-drop">
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="icon-caret-down"></i></button>
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="i-caret-down"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a lang="<?php _e('此分类下的所有内容将被删除, 你确认要删除这些分类吗?'); ?>" href="<?php $options->index('/action/metas-category-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
|
||||
<li><a lang="<?php _e('刷新分类可能需要等待较长时间, 你确认要刷新这些分类吗?'); ?>" href="<?php $options->index('/action/metas-category-edit?do=refresh'); ?>"><?php _e('刷新'); ?></a></li>
|
||||
<li><p><button type="button" class="merge" rel="<?php $options->index('/action/metas-category-edit?do=merge'); ?>"><?php _e('合并到'); ?></button>
|
||||
<select name="merge">
|
||||
<?php $categories->parse('<option value="{mid}">{name}</option>'); ?>
|
||||
</select></p></li>
|
||||
<li class="multiline">
|
||||
<button type="button" class="merge btn-s" rel="<?php $options->index('/action/metas-category-edit?do=merge'); ?>"><?php _e('合并到'); ?></button>
|
||||
<select name="merge">
|
||||
<?php $categories->parse('<option value="{mid}">{name}</option>'); ?>
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -58,7 +60,7 @@ include 'menu.php';
|
||||
<tr id="mid-<?php $categories->theId(); ?>">
|
||||
<td><input type="checkbox" value="<?php $categories->mid(); ?>" name="mid[]"/></td>
|
||||
<td><a href="<?php echo $request->makeUriByRequest('mid=' . $categories->mid); ?>"><?php $categories->name(); ?></a>
|
||||
<a class="right" href="<?php $categories->permalink(); ?>"><img src="<?php $options->adminUrl('images/link.png'); ?>" title="<?php _e('浏览 %s', $categories->name); ?>" width="16" height="16" alt="view" /></a>
|
||||
<a class="right" href="<?php $categories->permalink(); ?>"><i class="i-exlink" title="<?php _e('浏览 %s', $categories->name); ?>"></i></a>
|
||||
</td>
|
||||
<td><?php $categories->slug(); ?></td>
|
||||
<td>
|
||||
@@ -86,12 +88,14 @@ include 'menu.php';
|
||||
<div class="operate">
|
||||
<input type="checkbox" class="typecho-table-select-all" />
|
||||
<div class="btn-group btn-drop">
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="icon-caret-down"></i></button>
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="i-caret-down"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a lang="<?php _e('此标签下的所有内容将被删除, 你确认要删除这些标签吗?'); ?>" href="<?php $options->index('/action/metas-tag-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
|
||||
<li><a lang="<?php _e('刷新标签可能需要等待较长时间, 你确认要刷新这些标签吗?'); ?>" href="<?php $options->index('/action/metas-tag-edit?do=refresh'); ?>"><?php _e('刷新'); ?></a></li>
|
||||
<li><p><button type="button" class="merge" rel="<?php $options->index('/action/metas-tag-edit?do=merge'); ?>"><?php _e('合并到'); ?></button>
|
||||
<input type="text" name="merge" /></p></li>
|
||||
<li class="multiline">
|
||||
<button type="button" class="merge" rel="<?php $options->index('/action/metas-tag-edit?do=merge'); ?>"><?php _e('合并到'); ?></button>
|
||||
<input type="text" name="merge" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -103,7 +107,7 @@ include 'menu.php';
|
||||
<li class="size-<?php $tags->split(5, 10, 20, 30); ?>" id="<?php $tags->theId(); ?>">
|
||||
<input type="checkbox" value="<?php $tags->mid(); ?>" name="mid[]"/>
|
||||
<span rel="<?php echo $request->makeUriByRequest('mid=' . $tags->mid); ?>"><?php $tags->name(); ?></span>
|
||||
<a class="tag-edit-link" href="<?php echo $request->makeUriByRequest('mid=' . $tags->mid); ?>">✎</a>
|
||||
<a class="tag-edit-link" href="<?php echo $request->makeUriByRequest('mid=' . $tags->mid); ?>"><i class="i-edit"></i></a>
|
||||
</li>
|
||||
<?php endwhile; ?>
|
||||
<?php else: ?>
|
||||
|
||||
@@ -15,7 +15,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
<div class="operate">
|
||||
<input type="checkbox" class="typecho-table-select-all" />
|
||||
<div class="btn-group btn-drop">
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="icon-caret-down"></i></button>
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="i-caret-down"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a lang="<?php _e('你确认要删除这些页面吗?'); ?>" href="<?php $options->index('/action/contents-page-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
|
||||
</ul>
|
||||
@@ -73,7 +73,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
}
|
||||
?>
|
||||
<?php if ('page_draft' != $pages->type): ?>
|
||||
<a class="right" href="<?php $pages->permalink(); ?>"><img src="<?php $options->adminUrl('images/link.png'); ?>" title="<?php _e('浏览 %s', htmlspecialchars($pages->title)); ?>" width="16" height="16" alt="view" /></a>
|
||||
<a class="right" href="<?php $pages->permalink(); ?>"><i class="i-exlink" title="<?php _e('浏览 %s', htmlspecialchars($pages->title)); ?>"></i></a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td><?php $pages->slug(); ?></td>
|
||||
|
||||
@@ -15,7 +15,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
<div class="operate">
|
||||
<input type="checkbox" class="typecho-table-select-all" />
|
||||
<div class="btn-group btn-drop">
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="icon-caret-down"></i></button>
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="i-caret-down"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a lang="<?php _e('你确认要删除这些文章吗?'); ?>" href="<?php $options->index('/action/contents-post-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
|
||||
</ul>
|
||||
@@ -72,17 +72,17 @@ $stat = Typecho_Widget::widget('Widget_Stat');
|
||||
<a href="<?php $options->adminUrl('write-post.php?cid=' . $posts->cid); ?>"><?php $posts->title(); ?></a>
|
||||
<?php
|
||||
if ($posts->hasSaved || 'post_draft' == $posts->type) {
|
||||
echo '<em>(' . _t('草稿') . ')</em>';
|
||||
echo '<em class="status">' . _t('草稿') . '</em>';
|
||||
} else if ('waiting' == $posts->status) {
|
||||
echo '<em>(' . _t('待审核') . ')</em>';
|
||||
echo '<em class="status">' . _t('待审核') . '</em>';
|
||||
} else if ('private' == $posts->status) {
|
||||
echo '<em>(' . _t('私密') . ')</em>';
|
||||
echo '<em class="status">' . _t('私密') . '</em>';
|
||||
} else if ($posts->password) {
|
||||
echo '<em>(' . _t('密码保护') . ')</em>';
|
||||
echo '<em class="status">' . _t('密码保护') . '</em>';
|
||||
}
|
||||
?>
|
||||
<?php if ('post_draft' != $posts->type): ?>
|
||||
<a class="right" href="<?php $posts->permalink(); ?>"><img src="<?php $options->adminUrl('images/link.png'); ?>" title="<?php _e('浏览 %s', htmlspecialchars($posts->title)); ?>" width="16" height="16" alt="view" /></a>
|
||||
<a class="right" href="<?php $posts->permalink(); ?>"><i class="i-exlink" title="<?php _e('浏览 %s', htmlspecialchars($posts->title)); ?>" /></i></a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td><a href="<?php $options->adminUrl('manage-posts.php?uid=' . $posts->author->uid); ?>"><?php $posts->author(); ?></a></td>
|
||||
|
||||
@@ -13,7 +13,7 @@ include 'menu.php';
|
||||
<div class="operate">
|
||||
<input type="checkbox" class="typecho-table-select-all" />
|
||||
<div class="btn-group btn-drop">
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="icon-caret-down"></i></button>
|
||||
<button class="dropdown-toggle btn-s" type="button" href="">选中项 <i class="i-caret-down"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a lang="<?php _e('你确认要删除这些用户吗?'); ?>" href="<?php $options->index('/action/users-edit?do=delete'); ?>"><?php _e('删除'); ?></a></li>
|
||||
</ul>
|
||||
@@ -56,7 +56,7 @@ include 'menu.php';
|
||||
<td><input type="checkbox" value="<?php $users->uid(); ?>" name="uid[]"/></td>
|
||||
<td><a href="<?php $options->adminUrl('manage-posts.php?uid=' . $users->uid); ?>" class="balloon-button left size-<?php echo Typecho_Common::splitByCount($users->postsNum, 1, 10, 20, 50, 100); ?>"><?php $users->postsNum(); ?></a></td>
|
||||
<td><a href="<?php $options->adminUrl('user.php?uid=' . $users->uid); ?>"><?php $users->name(); ?></a>
|
||||
<a class="right" href="<?php $users->permalink(); ?>"><img src="<?php $options->adminUrl('images/link.png'); ?>" title="<?php _e('浏览 %s', $users->screenName); ?>" width="16" height="16" alt="view" /></a>
|
||||
<a class="right" href="<?php $users->permalink(); ?>"><i class="i-exlink" title="<?php _e('浏览 %s', $users->screenName); ?>"></i></a>
|
||||
</td>
|
||||
<td><?php $users->screenName(); ?></td>
|
||||
<td><?php if($users->mail): ?><a href="mailto:<?php $users->mail(); ?>"><?php $users->mail(); ?></a><?php else: _e('暂无'); endif; ?></td>
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
background-color: $color;
|
||||
cursor: pointer;
|
||||
|
||||
@include border-radius(2px);
|
||||
|
||||
&:hover {
|
||||
background-color: darken($color, 3%);
|
||||
// @include background-image(linear-gradient($color, darken($color, 3%)));
|
||||
@@ -40,10 +42,6 @@ button {
|
||||
.btn-s { height: 28px; }
|
||||
.btn-l { height: 40px; font-size: 1.14286em; font-weight: bold; }
|
||||
|
||||
button, .dropdown-menu {
|
||||
@include border-radius(2px);
|
||||
}
|
||||
|
||||
.primary {
|
||||
@include button(#467B96);
|
||||
color: #FFF;
|
||||
@@ -53,19 +51,13 @@ button, .dropdown-menu {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.btn-group > a, .btn-group > span {
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
-ms-border-radius: 0;
|
||||
-o-border-radius: 0;
|
||||
border-radius: 0;
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
/* 下拉菜单 */
|
||||
.btn-drop {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dropdown-toggle {
|
||||
padding-right: 8px;
|
||||
}
|
||||
.dropdown-menu {
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
@@ -73,27 +65,26 @@ button, .dropdown-menu {
|
||||
left: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #f9f9f7;
|
||||
border: 1px solid #D9D9D6;
|
||||
background: #FFF;
|
||||
text-align: left;
|
||||
min-width: 108px;
|
||||
display: none;
|
||||
|
||||
li {
|
||||
white-space: nowrap;
|
||||
&.multiline {
|
||||
padding: 5px 12px 12px;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: 5px 12px;
|
||||
color: #666;
|
||||
&:hover {
|
||||
background: #F6F6F3;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu li p {
|
||||
padding: 5px 15px;
|
||||
}
|
||||
|
||||
.dropdown-menu li a {
|
||||
display: block;
|
||||
padding: 3px 15px;
|
||||
color: #666;
|
||||
&:hover {
|
||||
background: #e9e9e9;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* icons
|
||||
*/
|
||||
|
||||
$icons: sprite-map("icons/*.png");
|
||||
|
||||
%i-16 {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: inline-block;
|
||||
vertical-align: text-bottom;
|
||||
background: $icons;
|
||||
background: url(../images/icons.png) no-repeat;
|
||||
}
|
||||
|
||||
.i-edit {
|
||||
@extend %i-16;
|
||||
background-position: sprite-position($icons, icon-edit);
|
||||
}
|
||||
.i-delete {
|
||||
@extend %i-16;
|
||||
background-position: sprite-position($icons, icon-delete);
|
||||
}
|
||||
.i-caret-up {
|
||||
@extend %i-16;
|
||||
background-position: sprite-position($icons, icon-caret-up);
|
||||
}
|
||||
.i-caret-down {
|
||||
@extend %i-16;
|
||||
background-position: sprite-position($icons, icon-caret-down);
|
||||
}
|
||||
.i-exlink {
|
||||
@extend %i-16;
|
||||
background-position: sprite-position($icons, icon-exlink);
|
||||
}
|
||||
@@ -8,6 +8,8 @@
|
||||
* @version $Id: grid.source.css 470 2008-09-26 15:23:38Z i.feelinglucky $
|
||||
*/
|
||||
|
||||
@import "compass";
|
||||
|
||||
/**
|
||||
* Typecho 全局样式
|
||||
*/
|
||||
@@ -419,6 +421,12 @@ a.operate-reply {
|
||||
border-top: 1px solid #F0F0EC;
|
||||
word-break: break-all;
|
||||
}
|
||||
.typecho-list-table .status {
|
||||
margin-left: 5px;
|
||||
color: #999;
|
||||
font-size: .92857em;
|
||||
font-style: normal;
|
||||
}
|
||||
.typecho-list-table tbody tr:hover td {
|
||||
background-color: #F6F6F3;
|
||||
}
|
||||
@@ -427,7 +435,7 @@ a.operate-reply {
|
||||
background-color: #FFF9E8;
|
||||
}
|
||||
|
||||
.typecho-list-table .warning {
|
||||
.warning {
|
||||
color: #B94A48;
|
||||
}
|
||||
|
||||
@@ -698,7 +706,7 @@ background: #FFF1A8;
|
||||
.typecho-page-main ul.tag-list li {
|
||||
display: inline-block;
|
||||
margin: 0 0 5px 0;
|
||||
padding: 5px 10px;
|
||||
padding: 5px 5px 5px 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.typecho-page-main ul.tag-list li:hover {
|
||||
@@ -740,20 +748,9 @@ background: #FFF1A8;
|
||||
font-size: .92857em;
|
||||
}
|
||||
|
||||
#upload-panel.drag, .tDnD_whileDrag {
|
||||
#upload-panel.drag {
|
||||
background-color: #FFFBCC;
|
||||
}
|
||||
.tDnD_whileDrag {
|
||||
-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);
|
||||
-webkit-transform: rotate(2deg);
|
||||
webkit-transform: rotate(2deg);
|
||||
}
|
||||
|
||||
#file-list {
|
||||
list-style: none;
|
||||
@@ -764,9 +761,18 @@ background: #FFF1A8;
|
||||
#file-list .delete { margin-left: 5px; color: #B94A48; }
|
||||
|
||||
|
||||
/* 拖动排序 */
|
||||
.tDnD_whileDrag {
|
||||
background-color: #FFFBCC;
|
||||
@include transform-origin(20%, 0);
|
||||
@include rotate(2deg);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 导入扩展样式
|
||||
*/
|
||||
|
||||
@import "icons";
|
||||
@import "components";
|
||||
@import "hidden";
|
||||
@import "hidden";
|
||||
|
||||
@@ -9,18 +9,15 @@ include 'menu.php';
|
||||
<?php include 'page-title.php'; ?>
|
||||
<div class="col-group typecho-page-main">
|
||||
<div class="col-mb-12">
|
||||
<div class="message notice typecho-radius-topleft typecho-radius-topright typecho-radius-bottomleft typecho-radius-bottomright">
|
||||
<div id="typecho-welcome">
|
||||
<form action="<?php echo Typecho_Router::url('do', array('action' => 'upgrade', 'widget' => 'Upgrade'),
|
||||
Typecho_Common::url('index.php', $options->siteUrl)); ?>" method="post">
|
||||
<h6><?php _e('检测到新版本!'); ?></h6>
|
||||
<blockquote>
|
||||
<h3><?php _e('检测到新版本!'); ?></h3>
|
||||
<ul>
|
||||
<li><?php _e('您已经更新了系统程序, 我们还需要执行一些后续步骤来完成升级'); ?></li>
|
||||
<li><?php _e('此程序将把您的系统从 <strong>%s</strong> 升级到 <strong>%s</strong>', $options->version, Typecho_Common::VERSION); ?></li>
|
||||
<li><strong><?php _e('在升级之前强烈建议先备份您的数据'); ?></strong></li>
|
||||
<li><strong class="warning"><?php _e('在升级之前强烈建议先备份您的数据'); ?></strong></li>
|
||||
</ul>
|
||||
</blockquote>
|
||||
<br />
|
||||
<p><button class="primary" type="submit"><?php _e('完成升级 »'); ?></button></p>
|
||||
</form>
|
||||
</div>
|
||||
|
||||