2014-03-18 20:52:39 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWTransclusionDialog styles.
|
|
|
|
*
|
2020-01-08 17:13:04 +00:00
|
|
|
* @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt
|
2014-03-18 20:52:39 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2014-10-28 00:38:20 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset > .oo-ui-widget {
|
2014-03-18 20:52:39 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-10-28 00:38:20 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset > .oo-ui-buttonElement-framed {
|
2014-03-18 20:52:39 +00:00
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
|
|
|
|
2015-06-15 10:25:44 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .mw-widget-titleInputWidget {
|
2018-04-05 15:56:17 +00:00
|
|
|
min-width: 10em;
|
2014-04-16 23:24:45 +00:00
|
|
|
}
|
|
|
|
|
2014-03-18 20:52:39 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset .ve-ui-mwParameterSearchWidget {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset .oo-ui-searchWidget-results {
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: 5em;
|
|
|
|
}
|
|
|
|
|
2021-08-30 15:03:30 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset-collapsed .oo-ui-inline-help,
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset-collapsed .ve-ui-mwTransclusionDialog-addParameterFieldset-input {
|
2021-08-06 11:56:40 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset-input {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset-input .oo-ui-fieldLayout-field {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-08-31 16:01:11 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset .oo-ui-fieldLayout-messages .oo-ui-messageWidget {
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2021-08-06 11:56:40 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset-header.oo-ui-iconElement .oo-ui-iconElement-icon {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2014-03-18 20:52:39 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-removeButton {
|
|
|
|
position: absolute;
|
2018-12-11 23:48:30 +00:00
|
|
|
top: 0.85714286em; /* Equals ≈`12px` */
|
2014-03-18 20:52:39 +00:00
|
|
|
right: 1.5em;
|
|
|
|
}
|
|
|
|
|
2015-01-27 00:47:59 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addButton {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2021-05-10 12:56:03 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-enhancedSearch .mw-widget-titleWidget-menu-withDescriptions .mw-widget-titleOptionWidget .oo-ui-labelElement-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-enhancedSearch .mw-widget-titleWidget-menu-withDescriptions .mw-widget-titleOptionWidget .oo-ui-labelElement-label .oo-ui-labelElement-label-highlight {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2021-05-19 16:51:48 +00:00
|
|
|
.ve-ui-mwTemplateTitleInputWidget-redirectedfrom {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2021-07-13 07:07:59 +00:00
|
|
|
.ve-ui-mwTemplateDialog-pocSidebar-debug-container {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 2.5em;
|
|
|
|
overflow: auto;
|
2021-10-07 13:29:51 +00:00
|
|
|
/* Compensate for 2 * 2px padding on the .oo-ui-outlineControlsWidget + 1px border */
|
|
|
|
margin-bottom: 5px;
|
2021-07-13 07:07:59 +00:00
|
|
|
}
|
|
|
|
|
2021-08-17 11:53:28 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-single-transclusion .ve-ui-mwTemplateDialog-pocSidebar-debug-container {
|
|
|
|
bottom: 0;
|
2021-10-07 13:29:51 +00:00
|
|
|
margin-bottom: 0;
|
2021-08-17 11:53:28 +00:00
|
|
|
}
|
|
|
|
|
2021-07-13 07:07:59 +00:00
|
|
|
.ve-ui-mwTemplateDialog-pocSidebar-debug-container > .oo-ui-outlineSelectWidget {
|
2021-08-04 12:37:28 +00:00
|
|
|
background-color: rgba( 100%, 0%, 100%, 0.1 );
|
2021-07-13 07:07:59 +00:00
|
|
|
height: auto;
|
2021-08-04 12:37:28 +00:00
|
|
|
outline: 1px solid #f0f;
|
2021-07-13 07:07:59 +00:00
|
|
|
}
|
|
|
|
|
2017-02-28 20:24:22 +00:00
|
|
|
.ve-ui-mwTemplateDialog .oo-ui-outlineOptionWidget.oo-ui-flaggedElement-empty .oo-ui-iconElement-icon {
|
|
|
|
opacity: 0.51;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTemplateDialog .oo-ui-outlineOptionWidget.oo-ui-flaggedElement-empty .oo-ui-labelElement-label {
|
|
|
|
color: #72777d;
|
|
|
|
}
|
|
|
|
|
2014-09-04 00:18:41 +00:00
|
|
|
.ve-ui-mwTransclusionDialog .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labelElement-label {
|
2014-03-18 20:52:39 +00:00
|
|
|
height: 1.5em;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2021-06-04 15:41:41 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-collapsed .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconElement-icon,
|
|
|
|
.ve-ui-mwTransclusionDialog-collapsed .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labelElement-label,
|
|
|
|
.ve-ui-mwTransclusionDialog-collapsed .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
|
|
|
.ve-ui-mwTransclusionDialog-expanded .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
|
|
|
.ve-ui-mwTransclusionDialog-expanded .oo-ui-bookletLayout .ve-ui-mwParameterPage-addUndocumented {
|
2014-12-12 21:01:04 +00:00
|
|
|
display: none;
|
2014-03-18 20:52:39 +00:00
|
|
|
}
|
2016-05-16 14:38:57 +00:00
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-labelElement-label,
|
|
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .oo-ui-fieldsetLayout > .oo-ui-iconElement-icon,
|
|
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-removeButton,
|
|
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .ve-ui-mwTemplatePage-more,
|
2021-04-26 08:34:48 +00:00
|
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout .ve-ui-mwParameterPage-addUndocumented,
|
2016-05-16 14:38:57 +00:00
|
|
|
.ve-ui-mwTransclusionDialog.ve-ui-mwTemplateDialog-ready .oo-ui-bookletLayout > .oo-ui-gridLayout > .oo-ui-panelLayout {
|
|
|
|
-webkit-transition: all 250ms ease-in-out;
|
|
|
|
-moz-transition: all 250ms ease-in-out;
|
|
|
|
transition: all 250ms ease-in-out;
|
|
|
|
}
|
2021-05-03 10:40:02 +00:00
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-bigger .oo-ui-menuLayout > .oo-ui-menuLayout-menu {
|
|
|
|
width: 240px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-bigger .oo-ui-menuLayout > .oo-ui-menuLayout-content {
|
|
|
|
left: 240px;
|
|
|
|
}
|
2021-05-03 12:46:56 +00:00
|
|
|
|
2021-09-09 13:06:52 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-bigger .ve-ui-mwTransclusionDialog-small-screen.ve-ui-mwTransclusionDialog-expanded .oo-ui-menuLayout > .oo-ui-menuLayout-menu {
|
2021-08-09 16:28:56 +00:00
|
|
|
border-right: 0;
|
2021-07-23 15:07:39 +00:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-09-09 13:06:52 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-bigger .ve-ui-mwTransclusionDialog-small-screen.ve-ui-mwTransclusionDialog-expanded .oo-ui-menuLayout > .oo-ui-menuLayout-content {
|
|
|
|
display: none;
|
2021-07-23 15:07:39 +00:00
|
|
|
}
|
|
|
|
|
2021-05-03 12:46:56 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addTemplateFieldset .oo-ui-inline-help {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2021-06-04 15:41:41 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-collapsed .oo-ui-bookletLayout .ve-ui-mwTransclusionDialog-addTemplateFieldset.oo-ui-fieldsetLayout > .oo-ui-labelElement-label {
|
2021-05-03 12:46:56 +00:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2021-05-17 15:43:49 +00:00
|
|
|
|
2021-09-21 08:35:36 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineWidget {
|
2021-08-31 10:27:06 +00:00
|
|
|
/* .oo-ui-window-head uses a 1px outline which overlaps the top pixel of the sidebar */
|
|
|
|
padding-top: 1px;
|
|
|
|
}
|
|
|
|
|
2021-10-27 09:39:03 +00:00
|
|
|
.ve-ui-mwTransclusionOutline-ariaHidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-08-31 10:27:06 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineParameterSelectWidget:focus {
|
|
|
|
border-radius: 2px;
|
|
|
|
box-shadow: inset 0 0 0 1px #36c;
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
2021-08-31 10:15:03 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineParameterWidget {
|
2021-08-31 10:27:06 +00:00
|
|
|
overflow: hidden;
|
2021-07-13 08:57:57 +00:00
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-left: 24px;
|
|
|
|
padding-top: 8px;
|
2021-08-31 10:27:06 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2021-05-17 15:43:49 +00:00
|
|
|
}
|
|
|
|
|
2021-08-31 10:15:03 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-labelElement > .oo-ui-labelElement-label {
|
2021-07-13 08:57:57 +00:00
|
|
|
cursor: pointer;
|
2021-08-16 14:06:39 +00:00
|
|
|
display: inline;
|
2021-07-13 08:57:57 +00:00
|
|
|
}
|
|
|
|
|
2021-08-16 16:17:14 +00:00
|
|
|
/* TODO: Remove debug color */
|
2021-08-31 10:15:03 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-optionWidget-selected {
|
2021-08-16 16:17:14 +00:00
|
|
|
/* background-color: rgba( 0%, 100%, 0%, 0.2 ); */
|
|
|
|
}
|
|
|
|
|
2021-08-31 10:15:03 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineParameterWidget.oo-ui-optionWidget-highlighted,
|
|
|
|
.ve-ui-mwTransclusionOutlineParameterWidget:hover {
|
2021-09-13 09:07:22 +00:00
|
|
|
/* This shade on a white background results in #eaecf0 a.k.a. @background-color-base--hover
|
|
|
|
a.k.a. @wmui-color-base80 */
|
2021-08-16 16:17:14 +00:00
|
|
|
background-color: rgba( 0, 24, 73, 0.082 );
|
2021-07-13 08:57:57 +00:00
|
|
|
}
|
|
|
|
|
2021-08-31 10:15:03 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineParameterWidget .oo-ui-checkboxInputWidget.oo-ui-widget-enabled [ type='checkbox' ]:hover + span {
|
2021-08-16 14:06:39 +00:00
|
|
|
/* Stronger :hover effect to make the different checkbox/label click regions more obvious */
|
2021-07-13 08:57:57 +00:00
|
|
|
border-width: 2px;
|
|
|
|
}
|
2021-07-13 10:15:47 +00:00
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget,
|
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget > .oo-ui-buttonElement-button {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget.oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 8px 0 8px 36px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2021-08-27 16:22:37 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget.oo-ui-optionWidget-selected .oo-ui-buttonElement-button {
|
|
|
|
background-color: #eaf3ff;
|
|
|
|
}
|
|
|
|
|
2021-07-13 10:15:47 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
|
|
|
|
background-color: #eaecf0;
|
2021-09-13 09:07:22 +00:00
|
|
|
color: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:active,
|
|
|
|
.ve-ui-mwTransclusionOutlineParameterWidget:active {
|
|
|
|
/* Same as .oo-ui-optionWidget-pressed, a.k.a. @background-color-primary--hover */
|
|
|
|
background-color: rgba( 41, 98, 204, 0.1 );
|
|
|
|
color: #36c;
|
2021-07-13 10:15:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget.oo-ui-buttonElement-frameless.oo-ui-iconElement:first-child {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
|
|
|
|
left: 10px;
|
|
|
|
}
|
2021-07-12 15:00:04 +00:00
|
|
|
|
2021-08-05 14:31:56 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-outlineControlsWidget {
|
|
|
|
padding: 2px;
|
|
|
|
display: flex;
|
2021-08-17 12:23:35 +00:00
|
|
|
align-items: flex-start;
|
|
|
|
justify-content: left;
|
2021-08-05 14:31:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-outlineControlsWidget > .oo-ui-outlineControlsWidget-movers {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-outlineControlsWidget .oo-ui-buttonWidget {
|
2021-08-17 12:23:35 +00:00
|
|
|
margin-left: 4px !important; /* stylelint-disable-line declaration-no-important */
|
2021-08-05 14:31:56 +00:00
|
|
|
}
|
|
|
|
|
2021-08-17 12:23:35 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-outlineControlsWidget > .oo-ui-outlineControlsWidget-items > .oo-ui-buttonWidget:first-child {
|
2021-08-05 14:31:56 +00:00
|
|
|
margin-left: 0 !important; /* stylelint-disable-line declaration-no-important */
|
|
|
|
}
|
|
|
|
|
2021-08-17 12:23:35 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-newSidebar .oo-ui-outlineControlsWidget > .oo-ui-outlineControlsWidget-movers > .oo-ui-buttonWidget:nth-child( 2 ) {
|
|
|
|
margin-left: -4px !important; /* stylelint-disable-line declaration-no-important */
|
|
|
|
}
|
|
|
|
|
2021-07-16 16:03:48 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineTemplateWidget-searchWidget {
|
2021-08-11 06:09:40 +00:00
|
|
|
margin: 8px 24px;
|
2021-07-16 16:03:48 +00:00
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
2021-07-12 15:00:04 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineTemplateWidget-no-match {
|
|
|
|
font-style: italic;
|
2021-07-16 16:03:48 +00:00
|
|
|
color: #72777d;
|
2021-08-11 06:09:40 +00:00
|
|
|
margin: 8px 24px;
|
2021-07-12 15:00:04 +00:00
|
|
|
}
|
2021-11-04 17:48:36 +00:00
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-floatingHelpElement {
|
|
|
|
position: absolute;
|
|
|
|
right: 23px;
|
|
|
|
bottom: 23px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-floatingHelpElement-fieldsetLayout label {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|