diff --git a/admin/css/style.css b/admin/css/style.css index 1d825d0d..5b2d5f99 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -1030,18 +1030,18 @@ a.operate-reply { .typecho-list-table td .thumb-box img { } -.typecho-list-table tbody tr.even, ul.typecho-list-notable li.even { +.typecho-list-table tbody tr.even { } -.typecho-list-table tbody tr:hover td, ul.typecho-list-notable li:hover { +.typecho-list-table tbody tr:hover td { background-color: #F6F6F3; } -.typecho-list-table tbody tr.checked td, ul.typecho-list-notable li.checked { +.typecho-list-table tbody tr.checked td { background-color: #FFF9E8; } -.typecho-list-table tbody tr.even.checked td, ul.typecho-list-notable li.even.checked { +.typecho-list-table tbody tr.even.checked td { } .typecho-list-table h4 { @@ -1060,11 +1060,11 @@ a.operate-reply { .typecho-list-table img.inline { } -.typecho-list-table tr td .hidden-by-mouse, ul.typecho-list-notable li .hidden-by-mouse { +.typecho-list-table tr td .hidden-by-mouse { visibility: hidden; } -.typecho-list-table tr:hover td .hidden-by-mouse, ul.typecho-list-notable li:hover .hidden-by-mouse { +.typecho-list-table tr:hover td .hidden-by-mouse { visibility: visible; } @@ -1757,63 +1757,37 @@ ul.typecho-list-notable li .loading { .typecho-page-main ul.tag-list { list-style: none; margin: 0; - padding: 0; + padding: 20px; + background-color: #FFF; } .typecho-page-main ul.tag-list li { - padding: 2px 4px; - list-style: none; - margin: 0; - line-height: 28px; - white-space:nowrap; - float: left; - display: block; + display: inline-block; + margin: 0 0 5px 0; + padding: 5px 10px; cursor: pointer; } +.typecho-page-main ul.tag-list li:hover { + background-color: #E9E9E6; +} .typecho-page-main ul.tag-list li input { display: none; } -.typecho-page-main ul.tag-list li:hover { - background: none; + +.typecho-page-main ul.tag-list li.checked { + background-color: #FFFBCC; } -.typecho-page-main ul.tag-list li.checked, .typecho-page-main ul.tag-list li.even.checked { - background: none; - text-decoration: underline; -} +.typecho-page-main ul.tag-list li.size-5 { font-size: 1em; } +.typecho-page-main ul.tag-list li.size-10 { font-size: 1.2em; } +.typecho-page-main ul.tag-list li.size-20 { font-size: 1.4em; } +.typecho-page-main ul.tag-list li.size-30 { font-size: 1.6em; } +.typecho-page-main ul.tag-list li.size-0 { font-size: 1.8em; } -.typecho-page-main ul.tag-list li.size-5 { - font-size: 13px; - color: #777; -} - -.typecho-page-main ul.tag-list li.size-10 { - font-size: 16px; - color: #666; -} - -.typecho-page-main ul.tag-list li.size-20 { - font-size: 18px; - color: #555; -} - -.typecho-page-main ul.tag-list li.size-30 { - font-size: 22px; - color: #444; -} - -.typecho-page-main ul.tag-list li.size-0 { - font-size: 28px; - color: #333; -} - -.typecho-page-main .typecho-mini-panel .tag-selection { -} - -.typecho-page-main .typecho-mini-panel .tag-selection a { -} +.typecho-page-main .tag-edit-link { visibility: hidden; } +.typecho-page-main li:hover .tag-edit-link { visibility: visible; } /* .typecho-attachment-photo-box .description { } diff --git a/admin/manage-metas.php b/admin/manage-metas.php index b98ea052..ff790678 100644 --- a/admin/manage-metas.php +++ b/admin/manage-metas.php @@ -103,6 +103,7 @@ include 'menu.php';
  • name(); ?> +
  • @@ -169,25 +170,25 @@ include 'common-js.php'; actionEl : '.dropdown-menu a' }); - $('.typecho-table-select-all').click(function () { - var selection = $('.tag-selection'); + // $('.typecho-table-select-all').click(function () { + // var selection = $('.tag-selection'); - if (0 == selection.length) { - selection = $('
    ').prependTo('.typecho-mini-panel'); - } + // if (0 == selection.length) { + // selection = $('
    ').prependTo('.typecho-mini-panel'); + // } - selection.html(''); + // selection.html(''); - if ($(this).prop('checked')) { - $('.typecho-list-notable li').each(function () { - var span = $('span', this), - a = $('' + span.text() + ''); + // if ($(this).prop('checked')) { + // $('.typecho-list-notable li').each(function () { + // var span = $('span', this), + // a = $('' + span.text() + ''); - this.aHref = a; - selection.append(a); - }); - } - }); + // this.aHref = a; + // selection.append(a); + // }); + // } + // }); } $('.btn-drop').dropdownMenu({ @@ -200,22 +201,22 @@ include 'common-js.php'; btn.parents('form').attr('action', btn.attr('rel')).submit(); }); - $('.typecho-list-notable li').click(function () { - var selection = $('.tag-selection'), span = $('span', this), - a = $('' + span.text() + ''), - li = $(this); + // $('.typecho-list-notable li').click(function () { + // var selection = $('.tag-selection'), span = $('span', this), + // a = $('' + span.text() + ''), + // li = $(this); - if (0 == selection.length) { - selection = $('
    ').prependTo('.typecho-mini-panel'); - } + // if (0 == selection.length) { + // selection = $('
    ').prependTo('.typecho-mini-panel'); + // } - if (li.hasClass('checked')) { - this.aHref = a; - a.appendTo(selection); - } else { - this.aHref.remove(); - } - }); + // if (li.hasClass('checked')) { + // this.aHref = a; + // a.appendTo(selection); + // } else { + // this.aHref.remove(); + // } + // }); mid)): ?> $('.typecho-mini-panel').effect('highlight', '#AACB36'); diff --git a/var/Widget/Metas/Tag/Edit.php b/var/Widget/Metas/Tag/Edit.php index 4e008b7b..9b4be0d0 100644 --- a/var/Widget/Metas/Tag/Edit.php +++ b/var/Widget/Metas/Tag/Edit.php @@ -129,12 +129,12 @@ class Widget_Metas_Tag_Edit extends Widget_Abstract_Metas implements Widget_Inte /** 标签名称 */ $name = new Typecho_Widget_Helper_Form_Element_Text('name', NULL, NULL, - _t('标签名称*'), _t('这是标签在站点中显示的名称.可以使用中文,如"地球".')); + _t('标签名称 *'), _t('这是标签在站点中显示的名称.可以使用中文,如 "地球".')); $form->addInput($name); /** 标签缩略名 */ $slug = new Typecho_Widget_Helper_Form_Element_Text('slug', NULL, NULL, - _t('标签缩略名'), _t('标签缩略名用于创建友好的链接形式,如果留空则默认使用标签名称.')); + _t('标签缩略名'), _t('标签缩略名用于创建友好的链接形式, 如果留空则默认使用标签名称.')); $form->addInput($slug); /** 标签动作 */