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:
parent
c85f48cdd1
commit
9c1e1abc97
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue