diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-12-03 13:29:22 +0100 |
commit | ca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch) | |
tree | ec04cc15b867bc21eedca904cea9af0254531a11 /extensions/WikiEditor/modules/jquery.wikiEditor.toc.css | |
parent | a22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff) |
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook
* Use only css to hide our menu bar when printing
Diffstat (limited to 'extensions/WikiEditor/modules/jquery.wikiEditor.toc.css')
-rw-r--r-- | extensions/WikiEditor/modules/jquery.wikiEditor.toc.css | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/extensions/WikiEditor/modules/jquery.wikiEditor.toc.css b/extensions/WikiEditor/modules/jquery.wikiEditor.toc.css new file mode 100644 index 00000000..bb1e8775 --- /dev/null +++ b/extensions/WikiEditor/modules/jquery.wikiEditor.toc.css @@ -0,0 +1,177 @@ +/* + * CSS for WikiEditor Table of Contents jQuery plugin + */ + +.wikiEditor-ui-toc { + /* height and width are set dynamically */ + /*float: right;*/ + padding: 0; + overflow: auto; + overflow-x: hidden; +} +.wikiEditor-ui-toc { + border-left: solid silver 1px; +} +.wikiEditor-ui-toc ul { + padding: 0; + margin: 0; + list-style: none; + /* IE needs to be told in great detail how to act, or it misbehaves */ + list-style-image: none; + list-style-position: outside; + list-style-type: none; + width: 100%; +} +.tab-toc { + /* Should match the toolbar */ + /* @embed */ + background-image: url(images/toolbar/base.png); + background-position: left top; + background-repeat: repeat-x; + height: 26px; + padding: 3px 0; + line-height: 26px; + padding-left: 1em; + border-bottom: solid 1px silver; + white-space: nowrap; + overflow: hidden; +} +.tab-toc a { + outline: none; +} +.wikiEditor-ui-toc li { + padding: 0; + margin: 0; +} +.wikiEditor-ui-toc ul ul { + padding: 0; + margin: 0; + margin-bottom: 0 !important; + margin-top: 0 !important; + list-style: none; + background-image: none; +} +.wikiEditor-ui-toc ul li div { + display: block; + font-size: 0.9em; + cursor: pointer; + color: #0645ad; +} +.wikiEditor-ui-toc ul li div { + padding: 0.125em; + padding-left: 1em; +} +.wikiEditor-ui-toc ul ul li div { + padding-left: 2em; +} +.wikiEditor-ui-toc ul ul ul li div { + padding-left: 3em; +} +.wikiEditor-ui-toc ul ul ul ul li div { + padding-left: 4em; +} +.wikiEditor-ui-toc ul ul ul ul ul li div { + padding-left: 5em; +} +.wikiEditor-ui-toc ul ul ul ul ul ul li div { + padding-left: 6em; +} +.wikiEditor-ui-toc ul li div.current { + background-color: #FAFAFA; + color: #333333; +} +.wikiEditor-ui-toc ul li div.section-0 { + font-size: 1em; + padding-top: 0.5em; + padding-bottom: 0.5em; + border-bottom: solid 1px #DDDDDD; +} +/* Collapsing changes */ +.wikiEditor-ui-toc { + overflow-y: hidden; + position: relative; +} +.wikiEditor-ui-toc ul { + overflow-y: auto; + overflow-x: hidden; + height: 100%; + margin-bottom: 0 !important; + +} +.wikiEditor-ui-toc ul ul { + float: none; + height: auto; +} +#wikiEditor-ui-toc-collapse { + height: 100%; + width: 18px; + position: absolute; + top: 0; + left: 0; +} +.wikiEditor-ui-toc-collapse-open { + /* @embed */ + background: #f3f3f3 url(images/toc/close.png) 4px 50% no-repeat; + border-left: 1px solid #DDDDDD; +} +.wikiEditor-ui-toc-collapse-closed { + /* @embed */ + background: #f3f3f3 url(images/toc/open.png) 4px 50% no-repeat; +} +/* Resizing Changes */ +.wikiEditor-ui-toc-resize-vertical, +.ui-resizable-w { + width: 4px; + position: absolute; + top: 0; + left: 0; + height: 100%; + cursor: ew-resize; +} +.wikiEditor-ui .wikiEditor-ui-right { + overflow: visible; +} +.wikiEditor-ui-right .ui-resizable-w { + left: 0px !important; + z-index: 0; +} +.wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip { + width: 5px; + height: 12px; + padding: 3px; + position: absolute; + top: 7px; + left: -12px !important; + cursor: ew-resize; + /* @embed */ + background: url(images/toc/grip.png) 50% 50% no-repeat; + z-index: 0; +} +.wikiEditor-ui-toolbar .tab-toc { + float: right; + margin: 3px 16px 3px 3px; + line-height: 26px; +} +.wikiEditor-ui-toc-expandControl { + position: absolute; + z-index: 2; + top: 0px; + right: 10px; + height: 26px; + padding: 3px 0; + line-height: 26px; + padding-right: 1em; + white-space: nowrap; + overflow: hidden; +} +.wikiEditor-ui-text textarea { + resize: none; +} +.wikiEditor-ui-text textarea:focus { + outline: none; +} +/* Self Clearing for the wikiText view */ +.wikiEditor-ui-view-wikiText { + overflow: auto; + width: 100%; +}
\ No newline at end of file |