mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-09-25 03:10:18 +00:00
Removed ad-hoc rtl rules - CSSJanus out of the box is doing just fine.
This commit is contained in:
parent
2c4ea9d393
commit
9cff4eb684
|
@ -13,9 +13,6 @@
|
|||
.wikiEditor-ui textarea:focus {
|
||||
outline: none;
|
||||
}
|
||||
body.rtl .wikiEditor-ui {
|
||||
float: right;
|
||||
}
|
||||
.wikiEditor-ui .wikiEditor-ui-bottom {
|
||||
|
||||
}
|
||||
|
@ -30,17 +27,11 @@ body.rtl .wikiEditor-ui {
|
|||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
body.rtl .wikiEditor-ui .wikiEditor-ui-left {
|
||||
float: right;
|
||||
}
|
||||
.wikiEditor-ui .wikiEditor-ui-right {
|
||||
float: right;
|
||||
background: #F3F3F3;
|
||||
overflow: hidden;
|
||||
}
|
||||
body.rtl .wikiEditor-ui .wikiEditor-ui-right {
|
||||
float: left;
|
||||
}
|
||||
.wikiEditor-wikitext {
|
||||
float: left;
|
||||
width: 100%;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* CSS for WikiEditor Table of Contents jQuery plugin
|
||||
*/
|
||||
|
||||
|
||||
.wikiEditor-ui-toc {
|
||||
/* height and width are set dynamically */
|
||||
/*float: right;*/
|
||||
|
@ -12,10 +12,6 @@
|
|||
.wikiEditor-ui-toc {
|
||||
border-left: solid silver 1px;
|
||||
}
|
||||
body.rtl .wikiEditor-ui-toc {
|
||||
border-right: solid silver 1px;
|
||||
border-left: none;
|
||||
}
|
||||
.wikiEditor-ui-toc ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
@ -40,10 +36,6 @@ body.rtl .wikiEditor-ui-toc {
|
|||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
body.rtl .tab-toc {
|
||||
background-position: right top;
|
||||
padding-right: 2em;
|
||||
}
|
||||
.tab-toc a {
|
||||
outline: none;
|
||||
}
|
||||
|
@ -69,45 +61,21 @@ body.rtl .tab-toc {
|
|||
padding: 0.125em;
|
||||
padding-left: 1em;
|
||||
}
|
||||
body.rtl .wikiEditor-ui-toc ul li div {
|
||||
padding-right: 1em;
|
||||
padding-left: 0;
|
||||
}
|
||||
.wikiEditor-ui-toc ul ul li div {
|
||||
padding-left: 2em;
|
||||
}
|
||||
body.rtl .wikiEditor-ui-toc ul ul li div {
|
||||
padding-right: 2em;
|
||||
padding-left: 0;
|
||||
}
|
||||
.wikiEditor-ui-toc ul ul ul li div {
|
||||
padding-left: 3em;
|
||||
}
|
||||
body.rtl .wikiEditor-ui-toc ul ul ul li div {
|
||||
padding-right: 3em;
|
||||
padding-left: 0;
|
||||
}
|
||||
.wikiEditor-ui-toc ul ul ul ul li div {
|
||||
padding-left: 4em;
|
||||
}
|
||||
body.rtl .wikiEditor-ui-toc ul ul ul ul li div {
|
||||
padding-right: 4em;
|
||||
padding-left: 0;
|
||||
}
|
||||
.wikiEditor-ui-toc ul ul ul ul ul li div {
|
||||
padding-left: 5em;
|
||||
}
|
||||
body.rtl .wikiEditor-ui-toc ul ul ul ul ul li div {
|
||||
padding-right: 5em;
|
||||
padding-left: 0;
|
||||
}
|
||||
.wikiEditor-ui-toc ul ul ul ul ul ul li div {
|
||||
padding-left: 6em;
|
||||
}
|
||||
body.rtl wikiEditor-ui-toc ul ul ul ul ul ul li div {
|
||||
padding-right: 6em;
|
||||
padding-left: 0;
|
||||
}
|
||||
.wikiEditor-ui-toc ul li div.current {
|
||||
background-color: #FAFAFA;
|
||||
color: #333333;
|
||||
|
@ -179,9 +147,6 @@ body.rtl wikiEditor-ui-toc ul ul ul ul ul ul li div {
|
|||
background: url(images/toc/grip.png) 50% 50% no-repeat;
|
||||
z-index: 0;
|
||||
}
|
||||
body.rtl .wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip {
|
||||
right: 2px !important;
|
||||
}
|
||||
.wikiEditor-ui-toolbar .tab-toc {
|
||||
float: right;
|
||||
margin: 3px 16px 3px 3px;
|
||||
|
@ -199,12 +164,6 @@ body.rtl .wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip {
|
|||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
body.rtl .wikiEditor-ui-toc-expandControl {
|
||||
padding-left: 1em;
|
||||
padding-right: 0;
|
||||
left: 10px;
|
||||
right: auto;
|
||||
}
|
||||
.wikiEditor-ui-text textarea {
|
||||
resize: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue