mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.reuse.share.less
Pau Giner 7e3d794c9f Reuse dialog styling
Adjustments of several styling aspects for the reuse file panel:
* Border style and colours to match the ones used in similar borders and Agora style
* Highlight the trigger also on hover
* Tweak the margins to avoid info on the embed panel to appear next to the edge.

Change-Id: I3a5448e3e81006ae35d2c18a9b2cbc2a6598210e
2014-03-20 14:52:39 +01:00

31 lines
830 B
Plaintext

.mw-mlb-share-page {
// override OOJS-UI fixed width
width: auto;
// make sure this is a new block formatting context so that the float shrinks it instead of
// running into it and pushing the input down (there is probably a better way of doing this)
overflow: hidden;
}
.mw-mlb-share-page-link {
float: left;
width: 1.5em;
height: 1.5em;
// position approximately to the middle - probably fragile but couldn't find a better way as the
// height of OOJS-UI input widget has both em and px parts and not possible to calculate exactly
margin: 8px 0;
padding: 0 5px 0 0;
/* @embed */
background-image: url(img/link.svg);
background-size: contain;
background-position: left center;
background-repeat: no-repeat;
&:hover {
/* @embed */
background-image: url(img/link-hover.svg);
text-decoration: none;
}
}