mediawiki-skins-Citizen/skinStyles/extensions/Lingo/ext.Lingo.less
alistair3149 2bf20397e1
feat(core): use filter-invert CSS variable to flip color
This decouple the filter style from the  class.
Instead, filter-invert can be redefined if needed (e.g. :root.skin-citizen-dark)
2023-07-10 16:56:56 -04:00

39 lines
695 B
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:Lingo
* Module: ext.Lingo
* Version: REL1_35 e948775
*
* Date: 2022-04-29
*/
@media screen {
span.mw-lingo-term {
border-bottom-color: var( --color-base--subtle );
&:hover {
background-color: var( --background-color-quiet--hover );
}
}
}
.mw-lingo-tooltip {
border: 0;
border-radius: var( --border-radius--medium );
background-color: var( --color-surface-1 );
box-shadow: var( --box-shadow-dialog );
color: var( --color-base );
font-size: 0.8125rem;
line-height: var( --line-height-sm );
.qtip-content {
padding: var( --space-sm );
}
}
.mw-lingo-definition-link {
& > a::before {
filter: var( --filter-invert );
}
}