mediawiki-extensions-ImageMap/resources/ext.imagemap.styles.less
Arlo Breault 7e342a416c Fix description link icon positioning
Bug: T329364
Follows-Up: I20130fd39135dfd5074590ee9c2b6e01693384e4
Change-Id: I9400a6ac607c5170c0aa26ee3a2bf8d9217c19e4
2023-05-31 15:12:35 -04:00

31 lines
528 B
Plaintext

.mw-ext-imagemap-inner {
display: inline-block;
position: relative;
}
.mw-ext-imagemap-desc-link {
position: absolute;
width: 20px;
height: 20px;
background-image: url( './desc-20.png' );
}
:not( figcaption ) .mw-ext-imagemap-desc-link {
.mw-ext-imagemap-desc-top-right > & {
top: 5px;
right: 5px;
}
.mw-ext-imagemap-desc-bottom-right > & {
bottom: 5px;
right: 5px;
}
.mw-ext-imagemap-desc-bottom-left > & {
bottom: 5px;
left: 5px;
}
.mw-ext-imagemap-desc-top-left > & {
top: 5px;
left: 5px;
}
}