2024-08-06 22:03:48 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
|
|
|
|
/* This code initially was stolen shamelessly from enwikipedia's Common.css */
|
2009-01-26 19:23:27 +00:00
|
|
|
table.mw-abuselog-details {
|
|
|
|
margin: 1em 1em 1em 0;
|
2024-08-06 22:03:48 +00:00
|
|
|
background: @background-color-interactive-subtle;
|
|
|
|
border: @border-base;
|
2009-01-26 19:23:27 +00:00
|
|
|
border-collapse: collapse;
|
2012-04-13 14:50:19 +00:00
|
|
|
width: 100%;
|
|
|
|
table-layout: fixed;
|
2009-01-26 19:23:27 +00:00
|
|
|
|
2024-08-07 05:56:42 +00:00
|
|
|
th,
|
|
|
|
td {
|
|
|
|
border: @border-base;
|
|
|
|
padding: 0.2em;
|
|
|
|
}
|
2009-01-26 19:23:27 +00:00
|
|
|
|
2024-08-07 05:56:42 +00:00
|
|
|
th {
|
|
|
|
background: @background-color-interactive;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2009-01-26 19:23:27 +00:00
|
|
|
|
2024-08-07 05:56:42 +00:00
|
|
|
caption {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2009-01-26 22:31:02 +00:00
|
|
|
}
|
|
|
|
|
2019-01-23 10:34:43 +00:00
|
|
|
.mw-abusefilter-log-hidden-entry {
|
|
|
|
text-decoration: line-through;
|
2024-08-06 22:03:48 +00:00
|
|
|
color: @color-disabled;
|
2019-01-23 10:34:43 +00:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2018-09-21 14:14:48 +00:00
|
|
|
body td.mw-abusefilter-history-changed {
|
2024-08-06 22:03:48 +00:00
|
|
|
background: @background-color-destructive-subtle;
|
2009-01-27 07:11:04 +00:00
|
|
|
font-weight: bold;
|
2009-01-27 01:31:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-abuselog-var-value {
|
2009-01-28 01:12:34 +00:00
|
|
|
white-space: pre-wrap;
|
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.mw-abuselog-var-value {
|
2014-01-11 11:27:01 +00:00
|
|
|
max-height: 25em;
|
2009-01-29 23:38:55 +00:00
|
|
|
max-width: 100%;
|
2009-01-28 01:12:34 +00:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
td.mw-abuselog-var {
|
|
|
|
width: 30%;
|
2009-01-28 20:09:05 +00:00
|
|
|
}
|
|
|
|
|
2018-02-17 14:09:36 +00:00
|
|
|
table.mw-abusefilter-list-scrollable {
|
|
|
|
display: block;
|
|
|
|
border: 0;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
2018-03-23 09:13:41 +00:00
|
|
|
.client-nojs .mw-abusefilter-javascript-tools {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mw-abusefilter-throttle-parameters,
|
|
|
|
#mw-abusefilter-warn-parameters,
|
2014-10-04 14:42:46 +00:00
|
|
|
#mw-abusefilter-disallow-parameters,
|
2018-03-23 09:13:41 +00:00
|
|
|
#mw-abusefilter-tag-parameters,
|
|
|
|
#mw-abusefilter-block-parameters {
|
|
|
|
width: 50%;
|
|
|
|
padding-left: 3em;
|
|
|
|
}
|
|
|
|
|
2014-10-04 14:42:46 +00:00
|
|
|
.mw-abusefilter-preview-buttons {
|
2018-03-23 09:13:41 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2014-10-04 14:42:46 +00:00
|
|
|
#mw-abusefilter-warn-preview,
|
|
|
|
#mw-abusefilter-disallow-preview {
|
2024-08-06 22:03:48 +00:00
|
|
|
border: @border-base;
|
2018-03-23 09:13:41 +00:00
|
|
|
margin: 2em;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.client-nojs #mw-abusefilter-export-link,
|
|
|
|
.client-js #mw-abusefilter-export {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-04-16 17:53:12 +00:00
|
|
|
tr.mw-abusefilter-list-disabled,
|
|
|
|
tr.mw-abusefilter-list-disabled td {
|
2024-08-06 22:03:48 +00:00
|
|
|
color: @color-disabled;
|
2009-01-28 20:09:05 +00:00
|
|
|
}
|
|
|
|
|
2017-04-16 17:53:12 +00:00
|
|
|
tr.mw-abusefilter-list-deleted,
|
|
|
|
tr.mw-abusefilter-list-deleted td {
|
2024-08-06 22:03:48 +00:00
|
|
|
color: @color-subtle;
|
2009-01-30 00:54:20 +00:00
|
|
|
}
|
|
|
|
|
2018-05-03 18:32:03 +00:00
|
|
|
tr.mw-abusefilter-list-throttled,
|
|
|
|
tr.mw-abusefilter-list-throttled td {
|
2024-08-06 22:03:48 +00:00
|
|
|
color: @color-error;
|
2018-05-03 18:32:03 +00:00
|
|
|
}
|
|
|
|
|
2009-01-30 00:54:20 +00:00
|
|
|
.mw-abusefilter-examine-match,
|
|
|
|
.mw-abusefilter-syntaxresult-ok,
|
|
|
|
li.mw-abusefilter-changeslist-match {
|
2011-11-22 16:10:49 +00:00
|
|
|
/* @embed */
|
2017-04-16 17:53:12 +00:00
|
|
|
background-image: url( yes_check.png );
|
2009-01-30 00:54:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-abusefilter-examine-nomatch,
|
|
|
|
.mw-abusefilter-syntaxresult-error,
|
|
|
|
li.mw-abusefilter-changeslist-nomatch {
|
2011-11-22 16:10:49 +00:00
|
|
|
/* @embed */
|
2017-04-16 17:53:12 +00:00
|
|
|
background-image: url( red_x.png );
|
2009-01-30 00:54:20 +00:00
|
|
|
}
|
|
|
|
|
2019-08-17 16:53:13 +00:00
|
|
|
#mw-abusefilter-edit-rules .mw-input {
|
|
|
|
width: 100%; /* So that we can use relative width for mw-abusefilter-editor */
|
|
|
|
}
|
|
|
|
|
2020-09-20 11:55:06 +00:00
|
|
|
#mw-abusefilter-editing-form .mw-label {
|
|
|
|
/* See T231962, the 100% width set above may squeeze the labels */
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2018-03-30 06:55:03 +00:00
|
|
|
div.mw-abusefilter-editor {
|
2023-01-31 05:15:34 +00:00
|
|
|
width: 90%; /* Same as wpFilterRules and mw-abusefilter-notes-editor */
|
2019-08-17 16:53:13 +00:00
|
|
|
height: 30em; /* Similar to wpFilterRules */
|
2018-03-30 06:55:03 +00:00
|
|
|
line-height: 1.5em;
|
2024-08-06 22:03:48 +00:00
|
|
|
border: @border-base;
|
2018-04-16 15:01:35 +00:00
|
|
|
display: none;
|
2018-03-30 06:55:03 +00:00
|
|
|
}
|
|
|
|
|
2019-08-17 16:53:13 +00:00
|
|
|
#wpFilterRules {
|
2023-01-31 05:15:34 +00:00
|
|
|
width: 90%; /* Same as mw-abusefilter-editor */
|
2019-08-17 16:53:13 +00:00
|
|
|
height: 27em; /* Same as mw-abusefilter-editor, minus extra space */
|
|
|
|
}
|
|
|
|
|
2023-01-31 05:15:34 +00:00
|
|
|
#mw-abusefilter-notes-editor,
|
|
|
|
#mw-abusefilter-edit-description-input,
|
|
|
|
#mw-abusefilter-edit-group-input {
|
|
|
|
width: 90%; /* Same as mw-abusefilter-editor */
|
2023-11-08 14:02:35 +00:00
|
|
|
max-width: none; /* OOUI's default of 50em is too low for this field */
|
2019-08-17 16:53:13 +00:00
|
|
|
}
|
|
|
|
|
2020-09-24 22:56:59 +00:00
|
|
|
#mw-abusefilter-switcheditor {
|
|
|
|
/* Hidden until the click handler is installed */
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-03-16 08:42:42 +00:00
|
|
|
fieldset.mw-abusefilter-edit-buttons {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
2018-03-15 17:22:37 +00:00
|
|
|
.mw-abusefilter-load-filter-id {
|
2018-06-13 02:28:29 +00:00
|
|
|
max-width: 50em;
|
2018-03-15 17:22:37 +00:00
|
|
|
}
|
|
|
|
|
2018-03-23 09:13:41 +00:00
|
|
|
.client-nojs .mw-abusefilter-load-filter-id {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-03-04 20:52:35 +00:00
|
|
|
/* Needs reinforced CSS selectors to override MonoBook's .special li */
|
|
|
|
/* @see T78304, T331211 */
|
2023-03-11 15:34:22 +00:00
|
|
|
#mw-abusefilter-syntaxresult,
|
2023-03-04 20:52:35 +00:00
|
|
|
#mw-content-text li.mw-abusefilter-changeslist-nomatch,
|
|
|
|
#mw-content-text li.mw-abusefilter-changeslist-match {
|
2011-11-03 00:13:27 +00:00
|
|
|
/* Do not consolidate these into a "background:" rule; it will override the background-image: settings in above rulesets */
|
|
|
|
background-repeat: no-repeat;
|
2009-01-30 00:54:20 +00:00
|
|
|
padding-left: 25px;
|
2011-11-03 00:13:27 +00:00
|
|
|
background-position: left center;
|
2009-01-30 00:54:20 +00:00
|
|
|
}
|
2009-03-11 05:55:06 +00:00
|
|
|
|
2011-07-06 02:44:06 +00:00
|
|
|
/* Name is in site content language */
|
2013-06-10 16:52:15 +00:00
|
|
|
/* @noflip */
|
2023-11-08 14:02:35 +00:00
|
|
|
.sitedir-ltr .TablePager_col_af_public_comments { /* stylelint-disable-line selector-class-pattern */
|
2011-07-06 02:44:06 +00:00
|
|
|
direction: ltr;
|
|
|
|
}
|
2013-06-10 16:52:15 +00:00
|
|
|
|
|
|
|
/* @noflip */
|
2023-11-08 14:02:35 +00:00
|
|
|
.sitedir-rtl .TablePager_col_af_public_comments { /* stylelint-disable-line selector-class-pattern */
|
2011-07-06 02:44:06 +00:00
|
|
|
direction: rtl;
|
2011-08-26 20:12:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#mw-abusefilter-filter-tools {
|
2013-06-10 16:52:15 +00:00
|
|
|
display: inline;
|
2011-08-26 20:12:34 +00:00
|
|
|
}
|
|
|
|
|
2018-03-26 18:41:20 +00:00
|
|
|
#mw-abusefilter-expr-result {
|
|
|
|
word-break: break-all;
|
2020-08-19 15:08:35 +00:00
|
|
|
/* Shown dinamically via JS */
|
|
|
|
display: none;
|
2018-03-26 18:41:20 +00:00
|
|
|
}
|
|
|
|
|
2018-05-01 12:55:35 +00:00
|
|
|
.mw-abusefilter-history-buttons {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-06-27 18:05:52 +00:00
|
|
|
|
2018-03-26 18:41:20 +00:00
|
|
|
.mw-abusefilter-tools-error {
|
2024-08-06 22:03:48 +00:00
|
|
|
color: @color-error;
|
2018-03-26 18:41:20 +00:00
|
|
|
}
|
|
|
|
|
2018-06-27 18:05:52 +00:00
|
|
|
/* Ace highlight customisation */
|
|
|
|
|
2023-11-08 14:02:35 +00:00
|
|
|
span.ace_invalid.ace_deprecated { /* stylelint-disable-line selector-class-pattern */
|
2018-06-27 18:05:52 +00:00
|
|
|
color: #fe6767;
|
|
|
|
background-color: initial;
|
|
|
|
}
|
|
|
|
|
2023-11-08 14:02:35 +00:00
|
|
|
span.ace_support.ace_function { /* stylelint-disable-line selector-class-pattern */
|
2018-06-27 18:05:52 +00:00
|
|
|
color: #495dd0;
|
|
|
|
}
|