2017-03-02 23:45:42 +00:00
|
|
|
@input-text-color: #222;
|
2014-03-26 14:50:24 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-share-pane {
|
|
|
|
.mw-mmv-share-page {
|
2018-01-17 08:16:54 +00:00
|
|
|
// override OOUI fixed width
|
2014-03-26 14:50:24 +00:00
|
|
|
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;
|
|
|
|
|
2018-01-17 08:16:54 +00:00
|
|
|
// The selector has to be that deep and include [readonly] to override OOUI's definition
|
2017-10-31 17:49:29 +00:00
|
|
|
input[ readonly ] {
|
2014-03-26 14:50:24 +00:00
|
|
|
color: @input-text-color;
|
2014-04-11 22:55:50 +00:00
|
|
|
text-shadow: none;
|
2014-03-26 14:50:24 +00:00
|
|
|
}
|
|
|
|
}
|
2016-12-22 17:59:07 +00:00
|
|
|
|
2016-12-28 16:32:28 +00:00
|
|
|
.mw-mmv-dialog-copy {
|
2016-12-22 17:59:07 +00:00
|
|
|
// style rules based on .mw-mmv-share-page-link
|
|
|
|
float: right;
|
2018-02-06 17:41:37 +00:00
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
2016-12-22 17:59:07 +00:00
|
|
|
// position approximately to the middle - probably fragile but couldn't find a better way as
|
2018-01-17 08:16:54 +00:00
|
|
|
// the height of OOUI input widget has both em and px parts and not possible to calculate
|
2016-12-22 17:59:07 +00:00
|
|
|
// exactly
|
2018-02-06 17:41:37 +00:00
|
|
|
margin: 8px 0.5em;
|
2016-12-22 17:59:07 +00:00
|
|
|
}
|
2014-03-17 08:07:53 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-share-page-link {
|
2014-03-17 08:07:53 +00:00
|
|
|
float: left;
|
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
// position approximately to the middle - probably fragile but couldn't find a better way as the
|
2018-01-17 08:16:54 +00:00
|
|
|
// height of OOUI input widget has both em and px parts and not possible to calculate exactly
|
2014-03-17 08:07:53 +00:00
|
|
|
margin: 8px 0;
|
2014-03-20 13:52:39 +00:00
|
|
|
padding: 0 5px 0 0;
|
2014-03-17 08:07:53 +00:00
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/link.svg );
|
2014-03-17 08:07:53 +00:00
|
|
|
background-size: contain;
|
2014-03-20 13:52:39 +00:00
|
|
|
background-position: left center;
|
2014-03-17 08:07:53 +00:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
/* @embed */
|
2016-07-18 14:24:02 +00:00
|
|
|
background-image: url( img/link-hover.svg );
|
2014-03-17 08:07:53 +00:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|