2023-09-29 21:55:29 +00:00
|
|
|
/* stylelint-disable selector-max-id, no-descending-specificity, unit-disallowed-list */
|
2020-04-13 15:05:10 +00:00
|
|
|
|
2023-09-29 21:55:29 +00:00
|
|
|
@import 'mediawiki.skin.variables';
|
2023-11-02 06:52:29 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
@import '../minerva.less/minerva.variables.less';
|
|
|
|
@import '../minerva.less/minerva.mixins.less';
|
2023-09-29 21:55:29 +00:00
|
|
|
|
|
|
|
/* Simplify default version */
|
|
|
|
.mw-mf-amc-disabled {
|
2023-12-14 00:00:46 +00:00
|
|
|
/** compare feature not available, T353401 */
|
|
|
|
#mw-history-compare input,
|
2023-09-29 21:55:29 +00:00
|
|
|
.mw-history-compareselectedversions,
|
2023-11-02 06:52:29 +00:00
|
|
|
/* Header shows date, so this is superfluous. */
|
2023-10-30 23:12:01 +00:00
|
|
|
&.action-history .mw-changeslist-date,
|
2023-09-29 21:55:29 +00:00
|
|
|
/* current link is hidden as previous link spans entire row. */
|
|
|
|
.mw-history-histlinks-current,
|
|
|
|
/* tools are hidden for historic reasons. Feel free to reconsider. */
|
2023-10-30 23:12:01 +00:00
|
|
|
&.action-history .mw-tag-markers,
|
2023-09-29 21:55:29 +00:00
|
|
|
/* tools are hidden for historic reasons. Feel free to reconsider. */
|
|
|
|
.mw-usertoollinks,
|
2023-10-30 23:12:01 +00:00
|
|
|
/* Hidden for historic reasons. Feel free to reconsider. */
|
|
|
|
.mw-history-revisionactions,
|
2023-09-29 21:55:29 +00:00
|
|
|
/* tools are hidden for historic reasons. Feel free to reconsider. */
|
|
|
|
.mw-pager-tools {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-changeslist-time {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-history-histlinks span {
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Make the previous link cover the entire row. */
|
|
|
|
.mw-history-histlinks-previous {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
color: transparent;
|
2023-12-14 23:20:46 +00:00
|
|
|
z-index: @z-indexAboveContent;
|
2023-09-29 21:55:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.action-history #pagehistory li {
|
|
|
|
padding: 12px 16px 12px 85px;
|
|
|
|
font-size: 1rem;
|
|
|
|
min-height: 90px;
|
|
|
|
|
|
|
|
.history-user a {
|
|
|
|
color: @color-subtle;
|
2024-01-18 22:44:56 +00:00
|
|
|
|
|
|
|
bdi {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2023-09-29 21:55:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-userlink::before {
|
|
|
|
content: '';
|
|
|
|
.cdx-mixin-css-icon( @cdx-icon-user-avatar, @color-subtle );
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-anonuserlink::before {
|
|
|
|
.cdx-mixin-css-icon( @cdx-icon-user-anonymous, @color-subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-tempuserlink::before {
|
|
|
|
.cdx-mixin-css-icon( @cdx-icon-user-temporary, @color-subtle );
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
max-height: 2.6em;
|
2023-11-02 06:52:29 +00:00
|
|
|
color: @color-subtle;
|
2024-01-05 19:18:13 +00:00
|
|
|
line-height: 1.4;
|
2023-09-29 21:55:29 +00:00
|
|
|
white-space: normal;
|
|
|
|
display: -webkit-box;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
font-size: 0.875rem;
|
|
|
|
font-style: normal;
|
2024-01-05 19:18:13 +00:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-09-29 21:55:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-diff-bytes,
|
|
|
|
.mw-changeslist-time {
|
|
|
|
position: absolute;
|
|
|
|
top: 12px;
|
|
|
|
left: 16px;
|
|
|
|
font-size: 0.875rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-diff-bytes {
|
|
|
|
top: 36px;
|
|
|
|
}
|
|
|
|
}
|
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;
|
2022-05-16 16:58:50 +00:00
|
|
|
.position-sticky();
|
2019-04-18 18:08:15 +00:00
|
|
|
top: 0;
|
2023-05-26 15:29:03 +00:00
|
|
|
z-index: @z-indexAboveContent;
|
2019-04-18 18:08:15 +00:00
|
|
|
|
|
|
|
// "Compare selected revisions" button
|
|
|
|
.mw-history-compareselectedversions-button {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2022-09-08 14:31:26 +00:00
|
|
|
.mw-history-revisionactions {
|
|
|
|
margin-bottom: 2%;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
2019-04-18 18:08:15 +00:00
|
|
|
// Admin specific "change visibility of selected revisions" buttons.
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-12 23:52:52 +00:00
|
|
|
.mw-thanks-thank-link {
|
|
|
|
margin-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jquery-confirmable-text {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
|
2019-04-18 18:08:15 +00:00
|
|
|
// "Change visibility of selected revisions" button (for admins only)
|
|
|
|
.mw-history-revisiondelete-button {
|
2023-04-09 13:49:29 +00:00
|
|
|
background-color: @background-color-lightest;
|
2019-04-18 18:08:15 +00:00
|
|
|
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();
|
2022-05-16 16:55:54 +00:00
|
|
|
box-sizing: border-box;
|
2020-04-02 23:47:45 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2023-03-31 19:50:36 +00:00
|
|
|
li::after {
|
2019-04-18 18:08:15 +00:00
|
|
|
.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,
|
2023-09-29 21:55:29 +00:00
|
|
|
.mw-changeslist-separator {
|
2019-04-18 18:08:15 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2020-04-02 23:47:45 +00:00
|
|
|
|
2023-09-29 21:55:29 +00:00
|
|
|
abbr {
|
|
|
|
background: #eaecf0;
|
|
|
|
border-radius: 2px;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0 6px 1px;
|
|
|
|
}
|
|
|
|
|
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 ) {
|
2023-03-31 19:50:36 +00:00
|
|
|
& > span::after,
|
|
|
|
& > span::before {
|
2020-04-02 23:47:45 +00:00
|
|
|
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.
|
2023-09-29 21:55:29 +00:00
|
|
|
.mw-mf-amc-enabled & {
|
|
|
|
margin-left: -5px;
|
|
|
|
}
|
2020-04-02 23:47:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2023-09-19 15:57:57 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
// Increase touch area of undo button.
|
|
|
|
padding: 5px 8px;
|
|
|
|
}
|
2020-04-02 23:47:45 +00:00
|
|
|
}
|
2019-04-18 18:08:15 +00:00
|
|
|
}
|