2019-07-29 09:50:05 +00:00
|
|
|
/**
|
|
|
|
* The "changeslist" module appears on Special pages such
|
|
|
|
* as recent changes, watchlist, and parts of the action history page.
|
|
|
|
*/
|
|
|
|
|
2019-08-08 20:01:03 +00:00
|
|
|
@import '../minerva.less/minerva.mixins.less';
|
|
|
|
@import '../minerva.less/minerva.variables.less';
|
2019-10-07 18:06:28 +00:00
|
|
|
@import 'mediawiki.ui/mixins.buttons.less';
|
2022-05-16 16:55:54 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2019-07-29 09:50:05 +00:00
|
|
|
|
2019-09-26 19:34:04 +00:00
|
|
|
// Decrease the font-size of the advanced filters module (see T229360).
|
|
|
|
.mw-rcfilters-container,
|
|
|
|
.mw-rcfilters-ui-overlay,
|
|
|
|
.watchlistDetails {
|
|
|
|
font-size: @taglineFontSize;
|
|
|
|
}
|
|
|
|
|
2019-08-06 12:09:26 +00:00
|
|
|
.mw-changeslist h4 {
|
|
|
|
font-size: @fontSizeH3;
|
|
|
|
padding: 1em 0 0 0 !important; // overriding .content h4
|
|
|
|
}
|
|
|
|
|
2019-08-02 21:27:41 +00:00
|
|
|
ul.mw-contributions-list,
|
2019-07-29 09:50:05 +00:00
|
|
|
ul.special {
|
|
|
|
padding-left: 0 !important; // overriding `.content ul`
|
2019-08-06 12:09:26 +00:00
|
|
|
margin-left: 0 !important; // overriding `.client-js .mw-changeslist ul`
|
2019-07-29 09:50:05 +00:00
|
|
|
|
2019-08-02 21:27:41 +00:00
|
|
|
li {
|
|
|
|
list-style-type: none;
|
|
|
|
.changeslist-row();
|
|
|
|
}
|
|
|
|
|
2019-07-29 09:50:05 +00:00
|
|
|
// the following selector are nested due to their
|
|
|
|
// generic names.
|
2020-03-26 22:46:02 +00:00
|
|
|
.mw-contributions-title,
|
2019-07-29 09:50:05 +00:00
|
|
|
.mw-title {
|
|
|
|
font-weight: bold;
|
2020-03-18 18:25:54 +00:00
|
|
|
// Word-break overlong user names, see T237230.
|
|
|
|
.hyphens( auto );
|
2019-07-29 09:50:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
2019-08-02 21:27:41 +00:00
|
|
|
float: left;
|
2019-07-29 09:50:05 +00:00
|
|
|
clear: both;
|
|
|
|
font-style: italic;
|
|
|
|
line-height: 1.4em;
|
|
|
|
padding: 0.5em 0;
|
2021-12-04 12:29:25 +00:00
|
|
|
// avoid overflows on very long words in edit summaries (T297045)
|
|
|
|
max-width: 100%;
|
2019-07-29 09:50:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-27 01:49:49 +00:00
|
|
|
a.mw-contributions-title,
|
2020-03-26 22:46:02 +00:00
|
|
|
.mw-title a {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
2019-09-27 16:38:53 +00:00
|
|
|
// T232955: Properly align deletion comments
|
|
|
|
span.mw-changeslist-log-entry {
|
|
|
|
.comment {
|
|
|
|
float: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-29 09:50:05 +00:00
|
|
|
.mw-changeslist-line {
|
|
|
|
.changeslist-row();
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-changeslist-line-inner {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2019-08-02 21:27:41 +00:00
|
|
|
.mw-changeslist-line-inner > *,
|
|
|
|
ul.mw-contributions-list li > * {
|
2019-07-29 09:50:05 +00:00
|
|
|
float: left;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2023-03-31 19:50:36 +00:00
|
|
|
.mw-changeslist-line-inner::before,
|
|
|
|
.mw-changeslist-line-inner::after {
|
2019-07-29 09:50:05 +00:00
|
|
|
.clearfix();
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-changeslist-date,
|
|
|
|
.mw-tag-markers {
|
|
|
|
clear: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Colored watchlist and recent changes numbers.
|
|
|
|
*/
|
|
|
|
.mw-plusminus-pos {
|
2023-04-09 13:49:29 +00:00
|
|
|
color: @color-success;
|
2019-07-29 09:50:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-plusminus-neg {
|
2023-04-09 13:49:29 +00:00
|
|
|
color: @color-destructive;
|
2019-07-29 09:50:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-plusminus-null {
|
2023-04-09 13:49:29 +00:00
|
|
|
color: @color-subtle;
|
2019-07-29 09:50:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Bidi-isolate these numbers.
|
|
|
|
* See https://phabricator.wikimedia.org/T93484
|
|
|
|
*/
|
|
|
|
.mw-plusminus-pos,
|
|
|
|
.mw-plusminus-neg,
|
|
|
|
.mw-plusminus-null {
|
|
|
|
unicode-bidi: -moz-isolate;
|
|
|
|
unicode-bidi: isolate;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* "pill" style tags meant to emulate the OOUI ".oo-ui-tagItemWidget" style.
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mw-tag-markers {
|
|
|
|
margin: 0 0 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-tag-marker {
|
|
|
|
// due to the extra space afforded by padding,
|
|
|
|
// we can make the font-size a bit smaller to save space.
|
|
|
|
font-size: @taglineFontSize;
|
|
|
|
display: inline-block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 1.6em;
|
2023-04-09 13:49:29 +00:00
|
|
|
border: @border-base;
|
2023-05-05 09:37:49 +00:00
|
|
|
border-radius: @border-radius-pill;
|
2019-07-29 09:50:05 +00:00
|
|
|
line-height: 1.6em;
|
|
|
|
padding: 0 0.6em;
|
|
|
|
vertical-align: middle;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-10-07 18:15:17 +00:00
|
|
|
ul.mw-contributions-list li .mw-rollback-link {
|
2019-09-27 18:01:45 +00:00
|
|
|
float: right;
|
2019-10-07 18:15:17 +00:00
|
|
|
font-size: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
// rollback edit link
|
|
|
|
.mw-rollback-link a {
|
|
|
|
// separating rollback link from undo link.
|
|
|
|
margin-left: 1em;
|
2019-09-27 18:01:45 +00:00
|
|
|
}
|
|
|
|
|
2019-08-02 21:27:41 +00:00
|
|
|
.mw-revdelundel-link,
|
|
|
|
.mw-tag-markers {
|
|
|
|
display: block;
|
|
|
|
}
|
2019-11-04 21:34:02 +00:00
|
|
|
|
|
|
|
// On Watchlist and RecentChanges the user is on a separate line per T236328.
|
|
|
|
// This does not apply to the history page.
|
|
|
|
// It is unnecessary on Special:Contributions since all contributions are by the same user.
|
|
|
|
.mw-special-Watchlist,
|
|
|
|
.mw-special-Recentchanges {
|
2020-01-06 13:56:09 +00:00
|
|
|
.mw-userlink,
|
|
|
|
.mw-usertoollinks {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2023-03-31 19:50:36 +00:00
|
|
|
.mw-userlink::before,
|
|
|
|
.mw-usertoollinks::after {
|
2020-01-06 13:56:09 +00:00
|
|
|
content: '';
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
2019-11-04 21:34:02 +00:00
|
|
|
}
|
2023-04-27 16:26:44 +00:00
|
|
|
|
|
|
|
.mw-tempuserlink {
|
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
// Since the user link is split over two lines,
|
|
|
|
// add the background color on the bdi instead
|
|
|
|
bdi {
|
|
|
|
// @background-color-interactive
|
|
|
|
background-color: #eaecf0;
|
|
|
|
padding: 2px 8px 2px 8px;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
}
|
|
|
|
}
|
2019-11-04 21:34:02 +00:00
|
|
|
}
|
2022-03-22 16:14:52 +00:00
|
|
|
|
|
|
|
// `.content` must be specified to override padding of
|
|
|
|
// `.content h2` rule provided by ResourceLoaderSkinModule.
|
|
|
|
.content .mw-index-pager-list-header {
|
|
|
|
.changeslist-header();
|
2022-03-31 17:28:57 +00:00
|
|
|
box-sizing: border-box;
|
2022-03-22 16:14:52 +00:00
|
|
|
}
|