mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 18:29:50 +00:00
Merge "Reduce selector specificity to necessary minimum"
This commit is contained in:
commit
be177d0b9d
|
@ -68,6 +68,18 @@
|
|||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
// (cur|prev) links
|
||||
.mw-history-histlinks {
|
||||
float: right;
|
||||
}
|
||||
|
||||
// Date
|
||||
.mw-changeslist-date {
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
clear: none;
|
||||
}
|
||||
|
||||
// User name
|
||||
.history-user {
|
||||
float: left;
|
||||
|
@ -84,7 +96,46 @@
|
|||
}
|
||||
}
|
||||
|
||||
// Container for rollback, undo buttons
|
||||
.mw-changeslist-links:not( .mw-usertoollinks ):not( .mw-history-histlinks ) {
|
||||
// removing parentheses around undo button
|
||||
& > span:before {
|
||||
content: '';
|
||||
}
|
||||
|
||||
& > span:after {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
|
||||
// edit summary
|
||||
.comment {
|
||||
// meant to give space for the undo button to the right of
|
||||
// the revision description.
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
// edit summary, +/- bytes changed, tags
|
||||
.comment,
|
||||
.updatedmarker,
|
||||
.mw-diff-bytes,
|
||||
.mw-tag-markers {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
// add left margin to create a faux column after the radio buttons
|
||||
.history-user,
|
||||
.comment,
|
||||
.updatedmarker,
|
||||
.mw-diff-bytes,
|
||||
.mw-history-tools,
|
||||
.mw-tag-markers {
|
||||
margin-left: @revision-selectors-width;
|
||||
}
|
||||
|
||||
// stylelint-disable selector-max-id
|
||||
// `#pagehistory` needs to come last due to id specificity best-practice.
|
||||
#pagehistory {
|
||||
margin-bottom: 24px;
|
||||
padding: 0;
|
||||
|
@ -124,56 +175,6 @@
|
|||
input[ type='checkbox' ] {
|
||||
top: 6px;
|
||||
}
|
||||
|
||||
// (cur|prev) links
|
||||
.mw-history-histlinks {
|
||||
float: right;
|
||||
}
|
||||
|
||||
// date
|
||||
.mw-changeslist-date {
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
clear: none;
|
||||
}
|
||||
|
||||
// container for rollback, undo buttons
|
||||
.mw-changeslist-links:not( .mw-usertoollinks ):not( .mw-history-histlinks ) {
|
||||
// removing parentheses around undo button
|
||||
& > span:before {
|
||||
content: '';
|
||||
}
|
||||
|
||||
& > span:after {
|
||||
content: '';
|
||||
}
|
||||
}
|
||||
|
||||
// edit summary
|
||||
.comment {
|
||||
// meant to give space for the undo button to the right of
|
||||
// the revision description.
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
// edit summary, +/- bytes changed, tags
|
||||
.comment,
|
||||
.updatedmarker,
|
||||
.mw-diff-bytes,
|
||||
.mw-tag-markers {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
// add left margin to create a faux column after the radio buttons
|
||||
.history-user,
|
||||
.comment,
|
||||
.updatedmarker,
|
||||
.mw-diff-bytes,
|
||||
.mw-history-tools,
|
||||
.mw-tag-markers {
|
||||
margin-left: @revision-selectors-width;
|
||||
}
|
||||
}
|
||||
// stylelint-enable selector-max-id
|
||||
|
||||
|
|
Loading…
Reference in a new issue