Reduce visual clutter in Special:Contributions

Force rollback, tagmarkers and revision delete/undelete onto their
own lines without floats

Bug: T229704
Change-Id: I0727f89bf4e906def9d3cfc8af8f921d6c12c68a
This commit is contained in:
jdlrobson 2019-08-02 14:27:41 -07:00 committed by Jan Drewniak
parent c85f48cdd1
commit 9c1e1abc97
2 changed files with 22 additions and 2 deletions

View File

@ -40,10 +40,16 @@
list-style: none;
position: relative;
min-height: 80px;
width: 100%;
/* !important to override the too-specific rule .content ol li, .content ul li */
margin: 0 !important;
padding: 12px 0;
border-bottom: 1px solid @colorGray14;
&:before,
&:after {
.clearfix();
}
}
.changeslist-row-item() {

View File

@ -18,10 +18,16 @@
padding: 1em 0 0 0 !important; // overriding .content h4
}
ul.mw-contributions-list,
ul.special {
padding-left: 0 !important; // overriding `.content ul`
margin-left: 0 !important; // overriding `.client-js .mw-changeslist ul`
li {
list-style-type: none;
.changeslist-row();
}
// the following selector are nested due to their
// generic names.
.mw-title {
@ -29,6 +35,7 @@ ul.special {
}
.comment {
float: left;
clear: both;
font-style: italic;
line-height: 1.4em;
@ -44,7 +51,8 @@ ul.special {
display: block;
}
.mw-changeslist-line-inner > * {
.mw-changeslist-line-inner > *,
ul.mw-contributions-list li > * {
float: left;
margin-right: 0.5em;
}
@ -108,11 +116,17 @@ ul.special {
white-space: nowrap;
}
.mw-revdelundel-link,
.mw-tag-markers {
display: block;
}
/**
* Button style rollback link, visible to admins.
*/
.mw-rollback-link {
.mw-ui-button();
float: right;
font-size: @taglineFontSize;
float: left;
clear: both;
}