mediawiki-skins-Citizen/skinStyles/extensions/Wikibase/jquery.wikibase.toolbar.styles.less
alistair3149 3867f1588a
feat(skinStyles): add grade B support Wikibase (#439)
Add grade B support for Wikibase.

Wikibase is a massive extension with a lot of legacy styles and jquery dependencies.
There might be missing styles here and there for the initial implementation,
but it should work for now.
2022-05-11 18:01:43 -04:00

49 lines
1 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:Wikibase
* Module: jquery.wikibase.toolbar.styles
* Version: REL1_35 7bb503b
*
* Date: 2022-05-11
*/
/* jquery.wikibase.toolbarbutton.css */
.wikibase-toolbarbutton-disabled a:link,
.wikibase-toolbarbutton-disabled a:hover,
.wikibase-toolbarbutton-disabled a:active,
.wikibase-toolbarbutton-disabled a:visited {
color: var( --color-base--subtle );
}
.wikibase-toolbarbutton.ui-state-disabled.oo-ui-buttonElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
opacity: var( --opacity-icon-base );
}
.wikibase-toolbar-button .wb-icon {
opacity: var( --opacity-icon-base );
}
.wikibase-toolbar-button a:hover .wb-icon {
opacity: var( --opacity-icon-base--hover );
}
.wikibase-toolbar-button.ui-state-disabled a:hover .wb-icon {
opacity: var( --opacity-base--disabled );
}
.skin-citizen-dark {
// Toolbar icons
.wikibase-toolbar-button {
&-edit,
&-save,
&-remove,
&-cancel,
&-add {
.wb-icon {
filter: invert( 1 ), hue-rotate( 180deg );
}
}
}
}