diff options
Diffstat (limited to 'www/wiki/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less')
-rw-r--r-- | www/wiki/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/www/wiki/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less b/www/wiki/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less new file mode 100644 index 00000000..23dc6785 --- /dev/null +++ b/www/wiki/extensions/WikiEditor/modules/jquery.wikiEditor.preview.less @@ -0,0 +1,37 @@ +/** + * CSS for WikiEditor Preview jQuery plugin + */ + +.wikiEditor-preview-loading { + padding: 1em; + background-color: #fff; + + span { + color: #666; + } +} + +.wikiEditor-preview-spinner { + padding-right: 1em; +} + +.wikiEditor-preview-contents { + padding: 1em; + background-color: #fff; +} + +/* FIXME: This only works for the first wikiEditor on the page! */ +/* stylelint-disable-next-line selector-no-id */ +#wikiEditor-0-preview-dialog { + .wikiEditor-ui-loading { + overflow: hidden; + border: 0; + } +} + +.ui-dialog { + .ui-dialog-buttonpane { + // stylelint-disable-next-line declaration-no-important + margin: 0 !important; + } +} |