mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 02:24:04 +00:00
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:
parent
30db20d1b5
commit
2a41a0b1bb
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue