2019-05-09 11:23:45 +00:00
|
|
|
// Don't do any event bubbling on childs like <a><span>[</span>2]</a>, see T214693
|
|
|
|
#mw-content-text .reference a[ href*='#' ] * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2019-02-07 14:56:53 +00:00
|
|
|
.mwe-popups.mwe-popups-type-reference {
|
2019-01-30 19:15:54 +00:00
|
|
|
.mwe-popups-title {
|
2021-07-19 21:57:41 +00:00
|
|
|
// align icon with outer padding
|
|
|
|
margin: 0 0 12px 0;
|
2019-01-24 17:48:13 +00:00
|
|
|
|
2021-02-05 15:47:46 +00:00
|
|
|
.mw-ui-icon {
|
2021-07-19 21:57:41 +00:00
|
|
|
padding: 0 8px 0 0;
|
2021-02-05 15:47:46 +00:00
|
|
|
|
2021-07-19 21:57:41 +00:00
|
|
|
&:hover {
|
|
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
|
|
background-color: transparent !important;
|
2021-02-05 15:47:46 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-17 09:50:54 +00:00
|
|
|
// There is currently no "reference-note" icon specified in extension.json
|
|
|
|
.mw-ui-icon-reference-note {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mwe-popups-extract {
|
|
|
|
margin-right: 0;
|
|
|
|
max-height: inherit;
|
|
|
|
|
2020-10-27 13:24:40 +00:00
|
|
|
.mwe-popups-scroll {
|
2021-02-17 10:12:28 +00:00
|
|
|
// This is how the `margin-bottom: 47px` in popup.less is calculated
|
|
|
|
@marginBottom: 2 * @lineHeight + 7px;
|
|
|
|
// Same as the --pointer-height in popup.less
|
|
|
|
@pointerHeight: 8px;
|
|
|
|
max-height: 403px - @popupPadding - @marginBottom + @pointerHeight;
|
2020-10-27 13:24:40 +00:00
|
|
|
overflow: auto;
|
|
|
|
padding-right: @popupPadding;
|
|
|
|
}
|
2019-02-07 14:56:53 +00:00
|
|
|
|
2020-10-30 15:05:41 +00:00
|
|
|
.mw-parser-output {
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2019-05-09 11:16:33 +00:00
|
|
|
// Remove the default fade-out effect set by popup.less
|
2019-02-07 14:56:53 +00:00
|
|
|
&:after {
|
2019-05-09 11:16:33 +00:00
|
|
|
display: none;
|
2019-04-26 11:35:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mwe-popups-fade {
|
|
|
|
position: absolute;
|
2019-02-28 17:50:36 +00:00
|
|
|
width: 100%;
|
2019-04-26 11:35:27 +00:00
|
|
|
height: @lineHeight;
|
2019-02-28 17:50:36 +00:00
|
|
|
background-color: transparent;
|
|
|
|
background-image: linear-gradient( rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) );
|
2019-04-26 11:35:27 +00:00
|
|
|
opacity: 0;
|
|
|
|
pointer-events: none; // Allows clicking "through" the element
|
2023-02-03 17:44:28 +00:00
|
|
|
transition: opacity 250ms ease;
|
2019-02-28 17:50:36 +00:00
|
|
|
}
|
|
|
|
|
2019-04-26 11:35:27 +00:00
|
|
|
&.mwe-popups-fade-out .mwe-popups-fade {
|
|
|
|
opacity: 1;
|
2019-02-28 17:50:36 +00:00
|
|
|
}
|
2021-02-17 09:50:54 +00:00
|
|
|
}
|
2020-10-25 18:22:09 +00:00
|
|
|
|
2021-02-17 09:50:54 +00:00
|
|
|
.mwe-collapsible-placeholder {
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 1em 0;
|
|
|
|
position: relative;
|
2020-10-28 16:57:43 +00:00
|
|
|
|
2021-02-17 09:50:54 +00:00
|
|
|
.mw-ui-icon {
|
2021-07-19 21:57:41 +00:00
|
|
|
margin-left: -0.78em;
|
2021-02-17 09:50:54 +00:00
|
|
|
position: absolute;
|
|
|
|
}
|
2020-10-28 16:57:43 +00:00
|
|
|
|
2021-02-17 09:50:54 +00:00
|
|
|
.mwe-collapsible-placeholder-label {
|
2021-07-19 21:57:41 +00:00
|
|
|
margin-left: 2.5em;
|
2020-10-25 18:22:09 +00:00
|
|
|
}
|
2019-02-07 14:56:53 +00:00
|
|
|
}
|
2018-12-12 18:37:19 +00:00
|
|
|
}
|