mediawiki-extensions-Popups/resources/ext.popups.renderer/LinkPreview.less
Volker E bc62902f4f Align Hovercards' Less to Coding Standards
Aligning Hovercards' Less to Coding Standards and also variablize
`linkpreview-title` font-family.

Change-Id: I11f2d71ce50dcd0fe47f3c5c528779e29a81cbc6
2016-06-24 16:23:16 +02:00

53 lines
786 B
Plaintext

@import "minerva.variables";
.drawer.linkpreview {
background-color: #fff;
position: fixed;
padding: 0 15px 20px;
text-align: left;
&.loading {
padding: 10px;
}
}
.linkpreview-overlay {
background-color: rgba( 0, 0, 0, 0.1 );
background-attachment: fixed;
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: @z-indexOverlay;
}
.linkpreview-title {
font-family: @fontFamilyHeading;
font-size: 22px;
margin-top: 20px;
line-height: 1;
}
.linkpreview-content {
font-size: 15px;
margin-top: 20px;
}
.linkpreview-actions {
margin-top: 20px;
text-align: right;
a {
margin-bottom: 0 !important;
margin-top: 0;
}
}
@media all and ( min-width: @deviceWidthTablet ) {
.drawer.linkpreview {
padding-left: 30px;
padding-right: 30px;
}
}