summaryrefslogtreecommitdiff
path: root/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/WikiEditor/modules/jquery.wikiEditor.preview.less')
-rw-r--r--extensions/WikiEditor/modules/jquery.wikiEditor.preview.less35
1 files changed, 35 insertions, 0 deletions
diff --git a/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less b/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less
new file mode 100644
index 00000000..fc8155bc
--- /dev/null
+++ b/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less
@@ -0,0 +1,35 @@
+/**
+ * CSS for WikiEditor Preview jQuery plugin
+ */
+
+.wikiEditor-preview-loading {
+ padding: 1em;
+ background-color: white;
+
+ span {
+ color: #666666;
+ }
+}
+
+.wikiEditor-preview-spinner {
+ padding-right: 1em;
+}
+
+.wikiEditor-preview-contents {
+ padding: 1em;
+ background-color: white;
+}
+
+/* FIXME: This only works for the first wikiEditor on the page! */
+#wikiEditor-0-preview-dialog {
+ .wikiEditor-ui-loading {
+ overflow: hidden;
+ border: none;
+ }
+}
+
+.ui-dialog {
+ .ui-dialog-buttonpane {
+ margin: 0 !important;
+ }
+}