mediawiki-extensions-AbuseF.../abusefilter.css
Robin Pepermans a8b4a4762d (follow-up r91518; bug 29658 et al.) Improving RTL support for several extensions:
AbuseFilter: aligning rules edit box as LTR, since they are essentially English
CodeReview: aligning commit messages according to content language direction; and aligning input boxes on SpecialRepoAdmin as LTR
FlaggedRevs: aligning box shown on articles to content language dir; and adding direction marks to ReviewedPages & UnreviewedPages
LiquidThreads:
* add direction mark
* make headings follow the content language dir
* remove lqt_post_ltr/rtl (added a few commits ago) to use mw-content-ltr/rtl in core
UploadWizard: make calendar input follow user direction (not content direction, as since r91518) (see bug 28902)
2011-07-06 02:44:06 +00:00

123 lines
2.4 KiB
CSS

/* This code was stolen shamelessly from enwikipedia's Common.css */
table.mw-abuselog-details {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
width: 80%;
}
table.mw-abuselog-details th, table.mw-abuselog-details td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.mw-abuselog-details th {
background: #f2f2f2;
text-align: center;
}
table.mw-abuselog-details caption {
font-weight: bold;
}
.mw-abusefilter-history-changed {
background: #ffe0e0;
font-weight: bold;
}
.mw-abuselog-var-value {
white-space: pre-wrap;
font-family: monospace;
}
div.mw-abuselog-var-value {
max-height: 10em;
max-width: 100%;
overflow: auto;
}
td.mw-abuselog-var {
width: 30%;
}
tr.mw-abusefilter-list-disabled, tr.mw-abusefilter-list-disabled td {
color: #666666;
}
tr.mw-abusefilter-list-deleted, tr.mw-abusefilter-list-deleted td {
color: #aaaaaa;
}
.mw-abusefilter-examine-match,
.mw-abusefilter-syntaxresult-ok,
li.mw-abusefilter-changeslist-match {
background-image: url(yes_check.png);
}
.mw-abusefilter-examine-nomatch,
.mw-abusefilter-examine-syntaxerror,
.mw-abusefilter-syntaxresult-error,
li.mw-abusefilter-changeslist-nomatch {
background-image: url(red_x.png);
}
#mw-abusefilter-syntaxresult,
li.mw-abusefilter-changeslist-nomatch,
li.mw-abusefilter-changeslist-match {
background: no-repeat left center;
padding-left: 25px;
}
table.mw-abusefilter-diff {
width: 80%;
border-collapse: collapse;
}
table.mw-abusefilter-diff td,
table.mw-abusefilter-diff th {
border: 1px solid #888888;
}
.mw-abusefilter-diff-added,
.mw-abusefilter-diff-multiline .diff-addedline {
background: #cfc;
}
.mw-abusefilter-diff-removed,
.mw-abusefilter-diff-multiline .diff-deletedline {
background: #ffa;
}
.mw-abusefilter-diff-context,
.mw-abusefilter-diff-multiline .diff-context {
background: #eee;
}
.mw-abusefilter-diff-multiline {
width: 100%;
}
.mw-abusefilter-diff-multiline td {
border: none !important;
}
.mw-abusefilter-diff-multiline .diff-marker {
font-size: 0.8em;
}
.mw-abusefilter-diff-multiline td.diff-addedline,
.mw-abusefilter-diff-multiline td.diff-deletedline {
width: 50%;
}
/* Rules are in English */
/* @noflip */textarea#wpFilterRules { direction: ltr; }
/* Name is in site content language */
/* @noflip */.sitedir-ltr .TablePager_col_af_public_comments {
direction: ltr;
}
/* @noflip */.sitedir-rtl .TablePager_col_af_public_comments {
direction: rtl;
}