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;
|
list-style: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 80px;
|
min-height: 80px;
|
||||||
|
width: 100%;
|
||||||
/* !important to override the too-specific rule .content ol li, .content ul li */
|
/* !important to override the too-specific rule .content ol li, .content ul li */
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
padding: 12px 0;
|
padding: 12px 0;
|
||||||
border-bottom: 1px solid @colorGray14;
|
border-bottom: 1px solid @colorGray14;
|
||||||
|
|
||||||
|
&:before,
|
||||||
|
&:after {
|
||||||
|
.clearfix();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.changeslist-row-item() {
|
.changeslist-row-item() {
|
||||||
|
|
|
@ -18,10 +18,16 @@
|
||||||
padding: 1em 0 0 0 !important; // overriding .content h4
|
padding: 1em 0 0 0 !important; // overriding .content h4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul.mw-contributions-list,
|
||||||
ul.special {
|
ul.special {
|
||||||
padding-left: 0 !important; // overriding `.content ul`
|
padding-left: 0 !important; // overriding `.content ul`
|
||||||
margin-left: 0 !important; // overriding `.client-js .mw-changeslist 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
|
// the following selector are nested due to their
|
||||||
// generic names.
|
// generic names.
|
||||||
.mw-title {
|
.mw-title {
|
||||||
|
@ -29,6 +35,7 @@ ul.special {
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
|
float: left;
|
||||||
clear: both;
|
clear: both;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
|
@ -44,7 +51,8 @@ ul.special {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-changeslist-line-inner > * {
|
.mw-changeslist-line-inner > *,
|
||||||
|
ul.mw-contributions-list li > * {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
}
|
}
|
||||||
|
@ -108,11 +116,17 @@ ul.special {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mw-revdelundel-link,
|
||||||
|
.mw-tag-markers {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Button style rollback link, visible to admins.
|
* Button style rollback link, visible to admins.
|
||||||
*/
|
*/
|
||||||
.mw-rollback-link {
|
.mw-rollback-link {
|
||||||
.mw-ui-button();
|
.mw-ui-button();
|
||||||
float: right;
|
|
||||||
font-size: @taglineFontSize;
|
font-size: @taglineFontSize;
|
||||||
|
float: left;
|
||||||
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue