mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-30 18:34:40 +00:00
bc62902f4f
Aligning Hovercards' Less to Coding Standards and also variablize `linkpreview-title` font-family. Change-Id: I11f2d71ce50dcd0fe47f3c5c528779e29a81cbc6
53 lines
786 B
Plaintext
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;
|
|
}
|
|
}
|