diff --git a/admin/css/style.css b/admin/css/style.css index a4151395..8036565e 100644 --- a/admin/css/style.css +++ b/admin/css/style.css @@ -440,6 +440,9 @@ button { content: " *"; color: #B94A48; } +.typecho-option span { + margin-right: 15px; } + .typecho-option .description { margin: .5em 0 0; color: #999; @@ -970,13 +973,18 @@ a.operate-reply { /** * icons */ +.icon-sprite-hack { + background: url('../images/icons-s2ae04ce87c.png'); } + .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:hover, .i-delete:hover, .i-caret-up:hover, .i-caret-down:hover, .i-exlink:hover { + filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=75); + opacity: 0.75; } .i-edit { background-position: 0 -32px; } @@ -1034,32 +1042,32 @@ a.operate-reply { * Editor */ .editor { - margin-bottom: -0.5em; - font-size: .92857em; } + margin-bottom: -1em; } + +.wmd-button-row { + list-style: none; + margin: 0; + padding: 0; } + .wmd-button-row li { + display: inline-block; + margin-right: 4px; + padding: 3px; + cursor: pointer; } + .wmd-button-row li:hover { + background-color: #E9E9E6; } + .wmd-button-row li.wmd-spacer { + height: 20px; + margin: 0 10px 0 6px; + padding: 3px 0; + width: 1px; + background: #E9E9E6; + cursor: default; } .editor span { - display: inline-block; - padding: 0 12px; - height: 25px; - line-height: 25px; - cursor: pointer; } - .editor span:hover { - background-color: #E9E9E6; } - .editor span:active { - background-color: #467B96; - color: #FFF; } - -.btnBold { - font-weight: bold; } - -.btnItalic { - font-style: italic; } - -.btnLink { - text-decoration: underline; } - -.btnDel { - text-decoration: line-through; } + display: block; + width: 20px; + height: 20px; + background: transparent url(../images/editor.png) no-repeat; } /** * Jquery Timepicker diff --git a/admin/images/editor.png b/admin/images/editor.png new file mode 100644 index 00000000..6b6b7d43 Binary files /dev/null and b/admin/images/editor.png differ diff --git a/admin/images/editor/editor-bold.png b/admin/images/editor/editor-bold.png new file mode 100644 index 00000000..7ce0d4b8 Binary files /dev/null and b/admin/images/editor/editor-bold.png differ diff --git a/admin/images/editor/editor-code.png b/admin/images/editor/editor-code.png new file mode 100644 index 00000000..c49bd79f Binary files /dev/null and b/admin/images/editor/editor-code.png differ diff --git a/admin/images/editor/editor-heading.png b/admin/images/editor/editor-heading.png new file mode 100644 index 00000000..eb0a3c42 Binary files /dev/null and b/admin/images/editor/editor-heading.png differ diff --git a/admin/images/editor/editor-hr.png b/admin/images/editor/editor-hr.png new file mode 100644 index 00000000..b764ded2 Binary files /dev/null and b/admin/images/editor/editor-hr.png differ diff --git a/admin/images/editor/editor-image.png b/admin/images/editor/editor-image.png new file mode 100644 index 00000000..58208e9d Binary files /dev/null and b/admin/images/editor/editor-image.png differ diff --git a/admin/images/editor/editor-italic.png b/admin/images/editor/editor-italic.png new file mode 100644 index 00000000..707aca31 Binary files /dev/null and b/admin/images/editor/editor-italic.png differ diff --git a/admin/images/editor/editor-link.png b/admin/images/editor/editor-link.png new file mode 100644 index 00000000..f5f7853f Binary files /dev/null and b/admin/images/editor/editor-link.png differ diff --git a/admin/images/editor/editor-olist.png b/admin/images/editor/editor-olist.png new file mode 100644 index 00000000..9a5b88ea Binary files /dev/null and b/admin/images/editor/editor-olist.png differ diff --git a/admin/images/editor/editor-quote.png b/admin/images/editor/editor-quote.png new file mode 100644 index 00000000..a5804946 Binary files /dev/null and b/admin/images/editor/editor-quote.png differ diff --git a/admin/images/editor/editor-redo.png b/admin/images/editor/editor-redo.png new file mode 100644 index 00000000..b22468d7 Binary files /dev/null and b/admin/images/editor/editor-redo.png differ diff --git a/admin/images/editor/editor-ulist.png b/admin/images/editor/editor-ulist.png new file mode 100644 index 00000000..e7948be5 Binary files /dev/null and b/admin/images/editor/editor-ulist.png differ diff --git a/admin/images/editor/editor-undo.png b/admin/images/editor/editor-undo.png new file mode 100644 index 00000000..75925fc8 Binary files /dev/null and b/admin/images/editor/editor-undo.png differ diff --git a/admin/manage-medias.php b/admin/manage-medias.php index acc63e55..36bd7674 100644 --- a/admin/manage-medias.php +++ b/admin/manage-medias.php @@ -63,7 +63,7 @@ $stat = Typecho_Widget::widget('Widget_Stat');