mediawiki-skins-Citizen/skinStyles/extensions/Lingo/ext.Lingo.less
alistair3149 00b2495c1a
feat(core): use px for border-radius
- Move border radius calculation to CSS variable instead of LESS
- Rename CSS variable according to Codex, soft-deprecating the existing border radius
2024-07-05 13:24:31 -04:00

39 lines
712 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-subtle );
&:hover {
background-color: var( --background-color-button-quiet--hover );
}
}
}
.mw-lingo-tooltip {
font-size: var( --font-size-x-small );
line-height: var( --line-height-sm );
color: var( --color-base );
background-color: var( --color-surface-1 );
border: 0;
border-radius: var( --border-radius-medium );
box-shadow: var( --box-shadow-dialog );
.qtip-content {
padding: var( --space-sm );
}
}
.mw-lingo-definition-link {
& > a::before {
filter: var( --filter-invert );
}
}