2020-04-13 15:05:10 +00:00
|
|
|
/* stylelint-disable selector-max-id */
|
|
|
|
|
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 {
|
2020-02-28 20:28:59 +00:00
|
|
|
#mw-content-text > form {
|
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.
|
2020-02-28 20:28:59 +00:00
|
|
|
#mw-history-compare {
|
2019-04-18 18:08:15 +00:00
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// The large "Compare selected revisions" button container
|
|
|
|
.mw-history-compareselectedversions {
|
2020-06-12 04:23:50 +00:00
|
|
|
background: @background-color-base;
|
2019-04-18 18:08:15 +00:00
|
|
|
position: sticky;
|
|
|
|
position: -webkit-sticky;
|
|
|
|
top: 0;
|
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;
|
2020-06-12 04:30:50 +00:00
|
|
|
border-radius: @border-radius-base;
|
2019-04-18 18:08:15 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#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();
|
2020-04-02 23:47:45 +00:00
|
|
|
.box-sizing( border-box );
|
|
|
|
position: relative;
|
2019-04-18 18:08:15 +00:00
|
|
|
min-height: inherit;
|
2020-04-02 23:47:45 +00:00
|
|
|
padding: 12px 0 10px 60px;
|
2019-04-18 18:08:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li:after {
|
|
|
|
.clearfix();
|
|
|
|
}
|
|
|
|
|
2020-04-02 23:47:45 +00:00
|
|
|
.mw-history-histlinks {
|
2020-05-07 13:59:17 +00:00
|
|
|
float: right;
|
2020-04-02 23:47:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Diff radio buttons, admin revision-delete checkbox.
|
2019-04-18 18:08:15 +00:00
|
|
|
input[ type='radio' ],
|
|
|
|
input[ type='checkbox' ] {
|
2020-04-02 23:47:45 +00:00
|
|
|
// Align checkboxes with text.
|
2019-04-18 18:08:15 +00:00
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[ type='radio' ] {
|
2020-04-02 23:47:45 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[ name='oldid' ] {
|
|
|
|
left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[ name='diff' ] {
|
|
|
|
left: 32px;
|
2019-04-18 18:08:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// checkbox appears slightly smaller than radio buttons,
|
|
|
|
// moving down 6px to vertically center.
|
|
|
|
input[ type='checkbox' ] {
|
2020-04-02 23:47:45 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 46px;
|
|
|
|
left: 32px;
|
2019-04-18 18:08:15 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-02 23:47:45 +00:00
|
|
|
.mw-diff-bytes,
|
|
|
|
.mw-changeslist-date {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2020-05-11 09:19:18 +00:00
|
|
|
// removes space between the .mw-diff-bytes and comments.
|
|
|
|
.comment {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 6px;
|
|
|
|
}
|
|
|
|
|
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,
|
2020-04-02 23:47:45 +00:00
|
|
|
.history-size.mw-diff-bytes,
|
2019-04-18 18:08:15 +00:00
|
|
|
.mw-changeslist-separator,
|
|
|
|
.mw-thanks-thank-link,
|
|
|
|
abbr {
|
|
|
|
display: none;
|
|
|
|
}
|
2020-04-02 23:47:45 +00:00
|
|
|
|
|
|
|
// Disable the parentheseses around the undo and rollback link.
|
|
|
|
.mw-changeslist-links:not( .mw-usertoollinks ):not( .mw-history-histlinks ) {
|
|
|
|
& > span:after,
|
|
|
|
& > span:before {
|
|
|
|
content: '';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-tag-markers {
|
2020-05-11 09:19:18 +00:00
|
|
|
// Disable the core margins of tags.
|
2020-04-02 23:47:45 +00:00
|
|
|
margin: 0;
|
2020-05-11 09:19:18 +00:00
|
|
|
// places the tags on the same line as the float-right undo button.
|
|
|
|
display: inline;
|
2020-04-02 23:47:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-user {
|
|
|
|
// (hack) - the history page injects unstyleable whitespace. to keep user aligned with other elements
|
|
|
|
// it most be moved to the left.
|
|
|
|
margin-left: -5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-history-undo {
|
2020-05-07 13:59:17 +00:00
|
|
|
float: right;
|
2020-04-02 23:47:45 +00:00
|
|
|
// Push the tags down to bottom so undo and tags do not overlay.
|
2020-05-07 13:59:17 +00:00
|
|
|
padding-bottom: 10px;
|
2020-04-02 23:47:45 +00:00
|
|
|
}
|
2019-04-18 18:08:15 +00:00
|
|
|
}
|