mediawiki-skins-Citizen/skinStyles/extensions/Translate/ext.translate.specialpages.styles.less
alistair3149 fc47692421
feat(core): rename border-color variables and increase contrast
Align variable names with Codex
2024-04-19 15:20:59 -04:00

119 lines
2.7 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:Translate
* Module: ext.translate.specialpages.styles
* Version: MLEB 2021.07
*
* Date: 2021-07-29
*/
/* ext.translate.special.managegroups */
.mw-translate-smg-change .mw-translate-smg-notice-important {
background: var( --background-color-destructive );
border-color: var( --border-color-base );
}
.smg-rename-dropdown-menu {
background: var( --color-surface-1 );
border-color: var( --border-color-base );
}
/* Additional class to override CSS from skins */
.smg-rename-dropdown-menu.smg-rename-dropdown-menu button {
color: var( --color-base--emphasized );
}
.smg-rename-dropdown-menu.smg-rename-dropdown-menu button:hover {
color: var( --color-base--emphasized );
background-color: var( --color-surface-2 );
}
.smg-group-sync-cache-info {
background: var( --color-surface-2 );
}
.smg-group-sync-cache-info__group-errors {
background-color: var( --color-surface-3 );
}
/* ext.translate.special.pagemigration */
.mw-tpm-sp-unit__source,
.mw-tpm-sp-unit__target {
border-color: var( --border-color-base );
}
.mw-tpm-sp-error__message {
color: var( --color-destructive );
background-color: var( --background-color-destructive );
border-color: var( --border-color-base );
}
/* ext.translate.special.searchtranslations */
.tux-searchpage .tux-selectedbox .facet-item {
background-color: var( --color-surface-3 );
}
.tux-searchpage .facet {
color: var( --color-base );
}
.tux-searchpage .facet-item:hover {
background: var( --background-color-quiet--hover );
}
.tux-searchpage .facet-item .facet-count {
color: var( --color-base--subtle );
}
.tux-searchpage .facet-item a:visited,
.tux-searchpage .facet-item a:link {
color: var( --color-primary );
}
.tux-searchpage .count {
color: var( --color-base--subtle );
}
.tux-searchpage .searchcontent .results {
color: var( --color-base );
}
.tux-searchpage .results .tux-title {
color: var( --color-base--subtle );
}
.tux-searchpage .results .tux-pagination-line {
color: var( --border-color-base );
}
.translate-search-more-groups,
.translate-search-more-languages {
background-color: var( --color-surface-2 );
border-color: var( --border-color-base );
}
.translate-search-more-groups:hover,
.translate-search-more-languages:hover {
border-color: var( --border-color-interactive );
}
.translate-search-more-groups-info,
.translate-search-more-languages-info {
color: var( --color-base--subtle );
}
.tux-search-highlight {
background-color: var( --color-surface-2--active );
}
/* ext.translate.special.supportedlanguages */
.mw-special-SupportedLanguages .tagcloud .tag {
color: var( --color-base--emphasized );
}
/* ext.translate.special.translations */
.mw-sp-translate-table .mw-sp-translate-fuzzy {
background-color: var( --background-color-destructive );
}