diff --git a/admin/css/style.css b/admin/css/style.css
index c7d75b3d..f66d2cb1 100644
--- a/admin/css/style.css
+++ b/admin/css/style.css
@@ -38,6 +38,8 @@ code, pre, .mono {
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}
+.p { margin: 1em 0; }
+
a.balloon-button {
display: inline-block;
padding: 0 6px;
@@ -1712,7 +1714,6 @@ ul.typecho-post-option li:last-child {
}
#advance-panel li, #upload-panel li {
- border: none;
}
ul.typecho-post-option li ul {
@@ -1974,9 +1975,100 @@ ul.autocompleter-choices span.autocompleter-queried {
float: left;
}
+/*
+ * Hide from both screenreaders and browsers: h5bp.com/u
+ */
-/* Jquery Timepicker */
+.hidden {
+ display: none !important;
+ visibility: hidden;
+}
+
+/*
+ * Hide only visually, but have it available for screenreaders: h5bp.com/v
+ */
+
+.visuallyhidden {
+ border: 0;
+ clip: rect(0 0 0 0);
+ height: 1px;
+ margin: -1px;
+ overflow: hidden;
+ padding: 0;
+ position: absolute;
+ width: 1px;
+}
+
+/*
+ * Extends the .visuallyhidden class to allow the element to be focusable
+ * when navigated to via the keyboard: h5bp.com/p
+ */
+
+.visuallyhidden.focusable:active,
+.visuallyhidden.focusable:focus {
+ clip: auto;
+ height: auto;
+ margin: 0;
+ overflow: visible;
+ position: static;
+ width: auto;
+}
+
+/*
+ * Hide visually and from screenreaders, but maintain layout
+ */
+
+.invisible {
+ visibility: hidden;
+}
+
+/*
+ * Editor
+ */
+.editor {
+ margin-bottom: -0.5em;
+ font-size: .92857em;
+}
+.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; }
+
+
+/*
+ * Upload
+ */
+#upload-panel {
+ padding: 10px 15px;
+ border: 1px dashed #CCC;
+ background-color: #FFF;
+ color: #999;
+ font-size: .92857em;
+}
+#file-list {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+#file-list li { padding-top: 5px; }
+#file-list .loading { padding-left: 20px; }
+#file-list .delete { margin-left: 5px; color: #B94A48; }
+
+
+/*
+ * Jquery Timepicker
+ */
#ui-datepicker-div {
+ display: none;
padding: 10px;
border: 1px solid #CCC;
background: #FFF;
@@ -2039,7 +2131,10 @@ ul.autocompleter-choices span.autocompleter-queried {
}
#ui-datepicker-div .ui-datepicker-close { float: right; }
-/* Jquery Tokeninput */
+
+/*
+ * Jquery Tokeninput
+ */
ul.token-input-list {
list-style: none;
margin: 0;
diff --git a/admin/file-upload-js.php b/admin/file-upload-js.php
index c583cb13..3aa418b6 100644
--- a/admin/file-upload-js.php
+++ b/admin/file-upload-js.php
@@ -6,6 +6,20 @@ if (isset($post) && $post instanceof Typecho_Widget && $post->have()) {
$fileParentContent = $page;
}
?>
+
+
+
diff --git a/admin/file-upload.php b/admin/file-upload.php
index d1191235..55670518 100644
--- a/admin/file-upload.php
+++ b/admin/file-upload.php
@@ -12,7 +12,7 @@ if (isset($post) || isset($page)) {
}
?>
-