mediawiki-skins-Citizen/skinStyles/mediawiki/special/mediawiki.special.changeslist.enhanced.less
alistair3149 a7f9c55c88
feat(core): update hover transition styles and implementation
The timing and easing function are defined separately than the property.
It is now accessible as a CSS variable (transition-hover)
2023-07-07 16:36:38 -04:00

42 lines
766 B
Plaintext

/*
* Citizen - Recent Changes Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
/*!
* Styling for Special:Watchlist and Special:RecentChanges when preference 'usenewrc'
* a.k.a. Enhanced Recent Changes is enabled.
*/
.mw-enhanced-rc {
table& {
padding: var( --space-sm ) 0;
margin: 0 !important;
font-size: 0.875rem;
transition: var( --transition-hover );
transition-property: background;
&:hover {
background-color: var( --background-color-quiet--hover );
}
}
td& {
font-family: var( --font-family-monospace );
}
&-time {
font-family: var( --font-family-monospace );
}
&-nested {
display: block;
margin-top: var( --space-xxs );
.mw-tag-markers {
margin: var( --space-xxs );
}
}
}