feat(core): revert new RC styles

Revert to the old one line MW styles until reconsideration at the next LTS

Closes: #764
This commit is contained in:
alistair3149 2024-01-26 20:57:53 -05:00
parent 30db20d1b5
commit 2a41a0b1bb
No known key found for this signature in database

View file

@ -40,67 +40,19 @@
&-line {
/* Disable timeline dot for nested changeline */
.mw-changeslist-line::before {
display: none;
content: none;
}
&-inner {
width: 100%; // always take all avaliable width
color: var( --color-base--subtle );
/* New line for user */
& .changedby,
&-userLink {
&::before {
white-space: pre;
content: '\a';
}
}
}
}
&-separator {
color: var( --color-base--subtle );
&:empty {
display: inline-block;
width: var( --space-xs );
&::before {
display: none;
}
}
}
}
/* Sticky change byte */
.mw-diff-bytes {
float: right;
margin-left: var( --space-xs );
background: var( --color-surface-0 );
&::before,
&::after {
display: none;
}
.selected &,
.mw-changeslist-line:hover & {
background: transparent;
}
}
.mw-diff-bytes:not( .mw-changeslist-line-inner-characterDiff .mw-diff-bytes ),
.mw-changeslist-line-inner-characterDiff {
position: sticky;
top: 0;
right: 0;
}
.mw-diff-bytes ~ .mw-changeslist-separator,
.mw-changeslist-line-inner-separatorAftercharacterDiff {
display: none;
}
.cloptions {
padding: 0;
margin: 0;
@ -208,10 +160,7 @@ body:not( .mw-rcfilters-ui-initialized ) .mw-rcfilters-head {
padding: var( --space-sm ) var( --space-xs ) !important;
margin: 0 0 0 16px !important;
color: var( --color-base--subtle );
& + & {
border-top: 1px solid var( --border-color-base );
}
border-radius: var( --border-radius--small );
&:hover {
background-color: var( --background-color-quiet--hover );