2023-10-18 02:13:14 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2022-07-12 12:06:54 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
|
2023-10-18 02:13:14 +00:00
|
|
|
@selected-text-color: @color-progressive;
|
|
|
|
// This shade on a white background results in #eaf3ff a.k.a. @background-color-progressive-subtle
|
2022-07-19 10:17:26 +00:00
|
|
|
@selected-shading: rgba( 0, 109, 255, 21/255 );
|
2022-07-12 11:07:42 +00:00
|
|
|
|
2023-10-18 02:13:14 +00:00
|
|
|
// This shade on a white background results in #eaecf0 a.k.a. @background-color-interactive
|
|
|
|
@hover-shading: @background-color-button-quiet--active;
|
2022-07-12 11:07:42 +00:00
|
|
|
|
2023-10-18 02:13:14 +00:00
|
|
|
@on-click-text-color: @color-progressive;
|
2022-07-12 11:07:42 +00:00
|
|
|
// Same as .oo-ui-optionWidget-pressed, a.k.a. @background-color-primary--hover
|
|
|
|
@on-click-shading: rgba( 41, 98, 204, 0.1 );
|
|
|
|
|
2022-07-07 20:37:44 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineWidget {
|
|
|
|
.ve-ui-mwTransclusionOutline-ariaHidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlinePartWidget {
|
|
|
|
margin-top: 24px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
|
|
&:first-child .ve-ui-mwTransclusionOutlineButtonWidget {
|
|
|
|
margin-top: -24px;
|
|
|
|
}
|
|
|
|
|
2022-08-02 13:02:02 +00:00
|
|
|
&:last-child.ve-ui-mwTransclusionOutlineWikitextWidget,
|
|
|
|
&:last-child.ve-ui-mwTransclusionOutlinePlaceholderWidget {
|
|
|
|
margin-bottom: 0;
|
2022-07-07 20:37:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget {
|
|
|
|
display: block;
|
|
|
|
margin-top: -10px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .oo-ui-buttonElement-button {
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 8px 0 8px 36px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
2022-07-08 08:54:30 +00:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
2022-07-12 11:07:42 +00:00
|
|
|
background-color: @hover-shading;
|
2022-07-07 20:37:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* click */
|
|
|
|
&:active {
|
2022-07-12 11:07:42 +00:00
|
|
|
background-color: @on-click-shading;
|
|
|
|
color: @on-click-text-color;
|
2022-07-07 20:37:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> .oo-ui-iconElement-icon {
|
|
|
|
left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* selected */
|
|
|
|
&.oo-ui-optionWidget-selected > .oo-ui-buttonElement-button {
|
2022-07-19 10:17:26 +00:00
|
|
|
background-color: @selected-shading;
|
2022-07-07 20:37:44 +00:00
|
|
|
|
|
|
|
&:hover {
|
2022-08-10 13:02:48 +00:00
|
|
|
background-color: @hover-shading;
|
2022-07-12 11:07:42 +00:00
|
|
|
color: @selected-text-color;
|
2022-07-07 20:37:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-08 05:33:08 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineTemplateWidget {
|
|
|
|
&-sticky {
|
2023-10-18 02:13:14 +00:00
|
|
|
background-color: @background-color-base;
|
2022-07-12 12:06:54 +00:00
|
|
|
.position-sticky();
|
2022-07-08 05:33:08 +00:00
|
|
|
top: 0;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2022-07-07 20:37:44 +00:00
|
|
|
|
2022-07-08 05:33:08 +00:00
|
|
|
&-no-template-parameters {
|
|
|
|
font-style: italic;
|
2023-10-18 02:13:14 +00:00
|
|
|
color: @color-subtle;
|
2022-07-08 05:33:08 +00:00
|
|
|
margin: 8px 24px 24px 24px;
|
|
|
|
}
|
2022-07-07 20:05:09 +00:00
|
|
|
|
2022-07-08 05:33:08 +00:00
|
|
|
&-searchWidget {
|
|
|
|
margin: 8px 24px;
|
|
|
|
width: auto;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
/* Workaround to override oo-ui-inputWidget:last-child rule */
|
|
|
|
margin-right: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-no-match {
|
|
|
|
font-style: italic;
|
2023-10-18 02:13:14 +00:00
|
|
|
color: @color-subtle;
|
2022-07-08 05:33:08 +00:00
|
|
|
margin: 8px 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineToggleUnusedWidget {
|
|
|
|
margin: -4px 24px 0 24px;
|
|
|
|
|
|
|
|
.oo-ui-labelElement-label {
|
|
|
|
word-break: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
white-space: normal;
|
|
|
|
}
|
|
|
|
}
|
2022-07-07 20:05:09 +00:00
|
|
|
|
2022-07-08 05:33:08 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineParameterSelectWidget:focus {
|
2023-10-18 02:13:14 +00:00
|
|
|
border-radius: @border-radius-base;
|
|
|
|
box-shadow: @box-shadow-inset-small @box-shadow-color-progressive--focus;
|
|
|
|
outline: @outline-base--focus;
|
2022-07-08 05:33:08 +00:00
|
|
|
}
|
2022-07-07 20:05:09 +00:00
|
|
|
|
2022-07-08 07:04:21 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineParameterWidget {
|
|
|
|
overflow: hidden;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-left: 30px;
|
|
|
|
padding-top: 8px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
|
|
/* click */
|
|
|
|
&:active {
|
2022-07-12 11:07:42 +00:00
|
|
|
background-color: @on-click-shading;
|
|
|
|
color: @on-click-text-color;
|
2022-07-08 07:04:21 +00:00
|
|
|
}
|
2022-07-07 20:05:09 +00:00
|
|
|
|
2022-08-10 13:02:48 +00:00
|
|
|
&.ve-ui-mwTransclusionOutlineParameterWidget-activePage {
|
2022-07-19 10:17:26 +00:00
|
|
|
background-color: @selected-shading;
|
2022-08-10 13:02:48 +00:00
|
|
|
|
|
|
|
&,
|
|
|
|
&.oo-ui-optionWidget-highlighted {
|
|
|
|
color: @selected-text-color;
|
|
|
|
}
|
2022-07-09 06:54:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-optionWidget-highlighted {
|
2022-07-12 11:07:42 +00:00
|
|
|
background-color: @hover-shading;
|
2023-10-18 02:13:14 +00:00
|
|
|
color: @color-emphasized;
|
2022-07-08 07:04:21 +00:00
|
|
|
}
|
2022-07-07 20:05:09 +00:00
|
|
|
|
2022-07-08 07:04:21 +00:00
|
|
|
&-hasValue {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-07-07 20:05:09 +00:00
|
|
|
|
2022-07-08 07:04:21 +00:00
|
|
|
> .oo-ui-labelElement-label {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline;
|
|
|
|
}
|
2022-07-07 20:05:09 +00:00
|
|
|
|
2022-07-08 07:04:21 +00:00
|
|
|
.oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:hover + span {
|
|
|
|
/* Stronger :hover effect to make the different checkbox/label click regions more obvious */
|
|
|
|
border-width: 2px;
|
|
|
|
}
|
|
|
|
}
|
2022-07-07 20:05:09 +00:00
|
|
|
}
|