mediawiki-skins-Citizen/skinStyles/extensions/VisualEditor/ext.visualEditor.mwtransclusion.less
alistair3149 0fdc7c4ad7
feat(core): convert some CSS variables into Codex equivalent part 2
Also fix various inconsistencies with quiet buttons
2024-06-30 20:41:31 -04:00

86 lines
2.2 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:VisualEditor
* Module: ext.visualEditor.mwtransclusion
* Version: REL1_39 65d89c9
*
* Date: 2023-02-06
*/
/* ve.ui.MWTransclusionDialog.css */
.ve-ui-mwTemplateDialog .mw-widget-titleWidget-menu-withDescriptions .mw-widget-titleOptionWidget .oo-ui-labelElement-label {
font-weight: var( --font-weight-semibold );
}
/* ve.ui.MWTwoPaneTransclusionDialogLayout.less */
.ve-ui-mwTwoPaneTransclusionDialogLayout {
> .oo-ui-menuLayout-menu {
border-right-color: var( --border-color-base );
}
}
/* ve.ui.MWParameterPage.css */
.ve-ui-mwParameterPage-label {
font-weight: var( --font-weight-semibold );
}
.ve-ui-mwParameterPage-undocumentedLabel {
color: var( --color-subtle );
}
.ve-ui-mwParameterPage-doc-required,
.ve-ui-mwParameterPage-doc-deprecated,
.ve-ui-mwParameterPage-inlineDescription .ve-ui-mwParameterPage-doc-example {
color: var( --color-subtle );
}
/* ve.ui.MWTemplatePage.css */
.ve-ui-mwTemplatePage-description {
color: var( --color-subtle );
}
/* ve.ui.MWTransclusionOutlineControlsWidget.less */
.ve-ui-mwTransclusionOutlineControlsWidget {
background-color: var( --color-surface-1 );
border-top-color: var( --border-color-base );
}
/* ve.ui.MWTransclusionOutlineWidget.less */
.ve-ui-mwTransclusionOutlineTemplateWidget {
&-sticky {
background-color: var( --color-surface-1 );
}
&-no-match {
color: var( --color-subtle );
}
.ve-ui-mwTransclusionOutlineParameterSelectWidget:focus {
box-shadow: inset 0 0 0 1px var( --color-progressive );
}
.ve-ui-mwTransclusionOutlineParameterWidget {
&:active {
color: var( --color-progressive );
background-color: var( --background-color-progressive-subtle );
}
&.ve-ui-mwTransclusionOutlineParameterWidget-activePage,
&.ve-ui-mwTransclusionOutlineParameterWidget-activePage:hover,
&.ve-ui-mwTransclusionOutlineParameterWidget-activePage.oo-ui-optionWidget-highlighted {
color: var( --color-base );
background-color: var( --background-color-progressive-subtle );
}
&.oo-ui-optionWidget-highlighted {
color: var( --color-emphasized );
background-color: var( --background-color-button-quiet--hover );
}
&-hasValue {
font-weight: var( --font-weight-semibold );
}
}
}