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/variables.less';
|
|
|
|
@import 'mediawiki.ui/mixins.buttons.less';
|
2019-03-29 21:43:19 +00:00
|
|
|
|
|
|
|
.action-history {
|
2019-11-26 05:02:40 +00:00
|
|
|
#mw-content-text > form { // stylelint-disable-line selector-max-id
|
2019-03-29 21:43:19 +00:00
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2019-04-18 18:08:15 +00:00
|
|
|
// the margin value used to create a "faux" column after the
|
|
|
|
// radio buttons.
|
|
|
|
@revision-selectors-width: 50px;
|
|
|
|
|
|
|
|
// form element wrapping history page content. Overrides #mw-content-text > form
|
|
|
|
// for tablet widths.
|
2019-11-26 05:02:40 +00:00
|
|
|
#mw-history-compare { // stylelint-disable-line selector-max-id
|
2019-04-18 18:08:15 +00:00
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// The large "Compare selected revisions" button container
|
|
|
|
.mw-history-compareselectedversions {
|
|
|
|
position: sticky;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
top: 0;
|
|
|
|
background: @skinContentBgColor;
|
2019-05-27 14:48:09 +00:00
|
|
|
z-index: @z-indexAboveContent;
|
2019-04-18 18:08:15 +00:00
|
|
|
|
|
|
|
// "Compare selected revisions" button
|
|
|
|
.mw-history-compareselectedversions-button {
|
2019-07-30 20:59:17 +00:00
|
|
|
.mw-ui-button();
|
2019-04-18 18:08:15 +00:00
|
|
|
.mw-ui-button-colors-primary( @colorProgressive, @colorProgressiveHighlight, @colorProgressiveActive );
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
-webkit-appearance: unset;
|
|
|
|
font-weight: bold;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Admin specific "change visibility of selected revisions" buttons.
|
|
|
|
.mw-history-revisionactions,
|
|
|
|
.mw-checkbox-toggle-controls {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Second large "Compare selected revisions" button container at bottom of page
|
|
|
|
& ~ .mw-history-compareselectedversions {
|
|
|
|
// hide second "Compare selected revisions" button near bottom
|
|
|
|
.mw-history-compareselectedversions-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// show second "Change visibility of selected revisions" button near bottom
|
|
|
|
.mw-history-revisionactions,
|
|
|
|
.mw-checkbox-toggle-controls {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// "Change visibility of selected revisions" button (for admins only)
|
|
|
|
.mw-history-revisiondelete-button {
|
|
|
|
.mw-ui-button();
|
|
|
|
.mw-ui-button-states();
|
|
|
|
background-color: @colorGray15;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
2019-11-26 05:02:40 +00:00
|
|
|
// stylelint-disable selector-max-id
|
2019-04-18 18:08:15 +00:00
|
|
|
#pagehistory {
|
|
|
|
margin-bottom: 24px;
|
2019-08-22 20:31:31 +00:00
|
|
|
padding: 0;
|
2019-04-18 18:08:15 +00:00
|
|
|
|
|
|
|
li {
|
2019-08-22 20:31:31 +00:00
|
|
|
.changeslist-row();
|
2019-04-18 18:08:15 +00:00
|
|
|
min-height: inherit;
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li:after {
|
|
|
|
.clearfix();
|
|
|
|
}
|
|
|
|
|
|
|
|
// diff radio buttons, admin revision-delete checkbox
|
|
|
|
input[ type='radio' ],
|
|
|
|
input[ type='checkbox' ] {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
// aligning checkboxes with text
|
|
|
|
top: 5px;
|
|
|
|
margin-right: 10px;
|
|
|
|
// FIXME: Overrides the border: 0 in reset.less
|
|
|
|
// When that reset rule doesn't exist, neither should this.
|
|
|
|
border: 1px solid @grayLight;
|
|
|
|
}
|
|
|
|
|
|
|
|
// FIXME: Override the background: none; in reset.less.
|
|
|
|
// When that reset rule doesn't exist, neither should this.
|
|
|
|
input[ type='radio' ] {
|
|
|
|
background: @grayMediumDark;
|
|
|
|
}
|
|
|
|
|
|
|
|
// checkbox appears slightly smaller than radio buttons,
|
|
|
|
// moving down 6px to vertically center.
|
|
|
|
input[ type='checkbox' ] {
|
|
|
|
top: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// (cur|prev) links
|
|
|
|
.mw-history-histlinks {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
// date
|
|
|
|
.mw-changeslist-date {
|
|
|
|
float: left;
|
|
|
|
font-weight: bold;
|
2019-07-29 09:50:05 +00:00
|
|
|
clear: none;
|
2019-04-18 18:08:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// user name
|
|
|
|
.history-user {
|
|
|
|
float: left;
|
|
|
|
// margin separates the entire username (talk | contrib) block
|
|
|
|
// from the (cur|prev) links on the right. Approximates a
|
|
|
|
margin-right: 0.5em;
|
|
|
|
|
|
|
|
.mw-userlink {
|
|
|
|
// margin separates the username
|
|
|
|
// from the (talk | contrib) links. Approximates a
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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,
|
2019-09-27 18:01:45 +00:00
|
|
|
.updatedmarker,
|
2019-04-18 18:08:15 +00:00
|
|
|
.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,
|
2019-09-27 18:01:45 +00:00
|
|
|
.updatedmarker,
|
2019-04-18 18:08:15 +00:00
|
|
|
.mw-diff-bytes,
|
|
|
|
.mw-history-tools,
|
|
|
|
.mw-tag-markers {
|
|
|
|
margin-left: @revision-selectors-width;
|
|
|
|
}
|
|
|
|
}
|
2019-11-26 05:02:40 +00:00
|
|
|
// stylelint-enable selector-max-id
|
2019-04-18 18:08:15 +00:00
|
|
|
|
2020-01-27 20:42:37 +00:00
|
|
|
// hide page instructions, article size, double dot separator, thank link
|
2019-04-18 18:08:15 +00:00
|
|
|
.mw-history-legend,
|
|
|
|
.history-size,
|
|
|
|
.mw-changeslist-separator,
|
|
|
|
.mw-thanks-thank-link,
|
|
|
|
abbr {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|