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 {
|
2020-10-27 13:24:40 +00:00
|
|
|
margin: 0 0 @popupPadding;
|
2020-10-28 16:57:43 +00:00
|
|
|
}
|
2019-01-24 17:48:13 +00:00
|
|
|
|
2020-10-28 16:57:43 +00:00
|
|
|
.mw-ui-icon {
|
|
|
|
vertical-align: middle;
|
2019-01-24 17:48:13 +00:00
|
|
|
|
2020-10-28 16:57:43 +00:00
|
|
|
&.mw-ui-icon-element {
|
|
|
|
min-width: @iconSize;
|
|
|
|
width: @iconSize;
|
2019-01-24 17:48:13 +00:00
|
|
|
|
2020-10-28 16:57:43 +00:00
|
|
|
&:before {
|
|
|
|
margin: 0;
|
2019-01-24 17:48:13 +00:00
|
|
|
}
|
2020-10-28 16:57:43 +00:00
|
|
|
}
|
2019-01-24 17:48:13 +00:00
|
|
|
|
2020-10-28 16:57:43 +00:00
|
|
|
&.mw-ui-icon-reference-generic {
|
|
|
|
/* align narrow icon with the text */
|
|
|
|
margin-left: -2px;
|
2019-01-24 17:48:13 +00:00
|
|
|
}
|
2018-12-12 18:37:19 +00:00
|
|
|
}
|
2019-01-30 19:15:54 +00:00
|
|
|
|
2019-02-07 14:56:53 +00:00
|
|
|
.mwe-popups-extract {
|
2020-10-27 13:30:23 +00:00
|
|
|
margin-right: 0;
|
2019-02-21 14:16:41 +00:00
|
|
|
margin-bottom: 2.75 * @lineHeight;
|
2020-10-27 13:24:40 +00:00
|
|
|
max-height: inherit;
|
|
|
|
|
|
|
|
.mwe-popups-scroll {
|
2020-10-27 13:57:47 +00:00
|
|
|
// 8px caused by different margin-bottom, 55px here vs. 47px upstream
|
|
|
|
max-height: 200px - 8px + 7 * @lineHeight;
|
2020-10-27 13:24:40 +00:00
|
|
|
overflow: auto;
|
|
|
|
padding-right: @popupPadding;
|
|
|
|
}
|
2019-02-07 14:56:53 +00:00
|
|
|
|
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: -webkit-linear-gradient( top, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) );
|
|
|
|
background-image: -moz-linear-gradient( top, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) );
|
|
|
|
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
|
|
|
|
.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
|
|
|
}
|
2020-10-25 18:22:09 +00:00
|
|
|
|
|
|
|
.mwe-collapsible-placeholder {
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 1em 0;
|
2020-10-28 16:57:43 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
// This mirrors .oo-ui-iconElement-icon
|
|
|
|
.mw-ui-icon {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
// This mirrors .oo-ui-messageWidget > .oo-ui-labelElement-label
|
|
|
|
.mwe-collapsible-placeholder-label {
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
2020-10-25 18:22:09 +00:00
|
|
|
}
|
2019-02-07 14:56:53 +00:00
|
|
|
}
|
|
|
|
|
2019-01-30 19:15:54 +00:00
|
|
|
.mwe-popups-read-link {
|
|
|
|
// Same font size as the read link in disambiguation popups
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2018-12-12 18:37:19 +00:00
|
|
|
}
|