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-06 11:56:40 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset-collapsed .oo-ui-inline-help {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset-input {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-addParameterFieldset-input .oo-ui-fieldLayout-field {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-08-17 11:53:28 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-single-transclusion .ve-ui-mwTemplateDialog-pocSidebar-debug-container {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
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-07-23 15:07:39 +00:00
|
|
|
.ve-ui-mwTransclusionDialog-bigger .ve-ui-mwTransclusionDialog-small-screen .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%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-bigger .ve-ui-mwTransclusionDialog-small-screen .oo-ui-menuLayout > .oo-ui-menuLayout-content {
|
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
|
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-07-15 15:35:42 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineItem {
|
2021-07-13 08:57:57 +00:00
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-left: 24px;
|
|
|
|
padding-top: 8px;
|
2021-05-17 15:43:49 +00:00
|
|
|
}
|
|
|
|
|
2021-08-16 14:06:39 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineItem.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 */
|
|
|
|
.ve-ui-mwTransclusionOutlineItem.oo-ui-optionWidget-selected {
|
|
|
|
/* background-color: rgba( 0%, 100%, 0%, 0.2 ); */
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineItem.oo-ui-optionWidget-highlighted,
|
2021-07-13 08:57:57 +00:00
|
|
|
.ve-ui-mwTransclusionOutlineItem:hover {
|
2021-08-16 16:17:14 +00:00
|
|
|
/* This shade on a white background results in #eaecf0 */
|
|
|
|
background-color: rgba( 0, 24, 73, 0.082 );
|
2021-07-13 08:57:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineItem .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 {
|
|
|
|
border-left: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
border-right: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 8px 0 8px 36px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwTransclusionOutlineButtonWidget.oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover {
|
|
|
|
background-color: #eaecf0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-08-23 11:25:15 +00:00
|
|
|
|
|
|
|
.ve-ui-mwTransclusionDialog-multipart-message {
|
|
|
|
margin: 20px;
|
|
|
|
}
|