feat(MediaWiki): tweak rcfilter other review tools styles

This commit is contained in:
alistair3149 2023-07-06 19:07:08 -04:00
parent 45c970e70b
commit 99e475b635
No known key found for this signature in database
2 changed files with 35 additions and 6 deletions

View file

@ -9,12 +9,6 @@
*/
.client-js {
.mw-recentchanges-toplinks {
&:not( .mw-recentchanges-toplinks-collapsed ) {
border-color: var( --border-color-base );
}
}
.mw-rcfilters-spinner {
& .mw-rcfilters-spinner-bounce,
&::before,

View file

@ -89,8 +89,43 @@
}
}
.client-js .mw-recentchanges-toplinks {
padding-left: 0;
}
/* Skeleton lazyloader for rcfilter */
.client-js body:not( .mw-rcfilters-ui-initialized ) .mw-rcfilters-head {
border-radius: var( --border-radius--small );
background: var( --color-surface-2 );
}
.client-js .mw-recentchanges-toplinks:not( .mw-recentchanges-toplinks-collapsed ) {
padding: 0; /* Shift padding to button only */
border-color: var( --border-color-base );
border-radius: var( --border-radius--small );
margin-bottom: 16px; /* Same margin between rcfilter and saved filter */
/* Extend button to full width */
.oo-ui-buttonElement-frameless.oo-ui-labelElement:first-child {
display: block;
background: var( --color-surface-2 );
border-top-left-radius: var( --border-radius--small );
border-top-right-radius: var( --border-radius--small );
.oo-ui-buttonElement-button {
display: block;
}
.oo-ui-indicatorElement-indicator {
right: 6px !important;
}
}
}
.mw-recentchanges-toplinks {
.oo-ui-buttonElement-frameless.oo-ui-labelElement:first-child {
margin: 0;
}
}
/*