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 {
|
|
|
|
margin-top: @popupPadding;
|
2019-01-24 17:48:13 +00:00
|
|
|
|
2019-01-30 19:15:54 +00:00
|
|
|
.mw-ui-icon {
|
|
|
|
vertical-align: middle;
|
2019-01-24 17:48:13 +00:00
|
|
|
|
2019-01-30 19:15:54 +00:00
|
|
|
&.mw-ui-icon-element {
|
|
|
|
min-width: @iconSize;
|
|
|
|
width: @iconSize;
|
2019-01-24 17:48:13 +00:00
|
|
|
|
2019-01-30 19:15:54 +00:00
|
|
|
&:before {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2019-01-24 17:48:13 +00:00
|
|
|
}
|
|
|
|
|
2019-02-16 09:13:23 +00:00
|
|
|
&.mw-ui-icon-reference-generic {
|
2019-01-30 19:15:54 +00:00
|
|
|
/* 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 {
|
2019-02-21 14:16:41 +00:00
|
|
|
margin-bottom: 2.75 * @lineHeight;
|
2019-02-21 10:50:32 +00:00
|
|
|
// Reference previews should have a "lighter" appearence than page previews, where the
|
|
|
|
// maximum is 7 lines.
|
|
|
|
max-height: 5 * @lineHeight;
|
|
|
|
// Reference previews can be smaller than page previews, where the minimum is 2 lines.
|
2019-02-07 14:56:53 +00:00
|
|
|
min-height: @lineHeight;
|
|
|
|
|
|
|
|
&:after {
|
2019-02-28 17:50:36 +00:00
|
|
|
width: 100%;
|
|
|
|
bottom: -@lineHeight;
|
|
|
|
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 ) );
|
|
|
|
.transition( bottom 250ms ease );
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mwe-popups-fade-out {
|
|
|
|
&:after {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-parser-output {
|
|
|
|
max-height: inherit;
|
|
|
|
overflow: auto;
|
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
|
|
|
}
|