2014-02-06 10:49:28 +00:00
|
|
|
/* Code adapted from Yair Rand's NavPopupsRestyled.js
|
|
|
|
* https://en.wikipedia.org/wiki/User:Yair_rand/NavPopupsRestyled.js
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mwe-popups {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 5;
|
|
|
|
background: #fff;
|
2014-02-13 00:29:44 +00:00
|
|
|
border: 1px solid #bbb;
|
2014-02-06 10:49:28 +00:00
|
|
|
padding: 0;
|
|
|
|
display: none;
|
2014-02-12 15:59:06 +00:00
|
|
|
font-size: 0.8em;
|
|
|
|
line-height: 1.5em;
|
2014-02-06 10:49:28 +00:00
|
|
|
cursor: pointer;
|
|
|
|
min-width: 300px;
|
|
|
|
|
|
|
|
> a {
|
|
|
|
display: block;
|
|
|
|
margin-top: -9px;
|
|
|
|
padding-top: 9px;
|
|
|
|
color: #000;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div {
|
2014-02-12 16:03:56 +00:00
|
|
|
padding: 1.28em;
|
2014-02-12 16:01:19 +00:00
|
|
|
padding-bottom: 0;
|
2014-02-06 10:49:28 +00:00
|
|
|
|
|
|
|
+ div {
|
|
|
|
padding: 0.8em;
|
|
|
|
margin: 0.8em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> img.mwe-popups-is-tall{
|
|
|
|
float: right;
|
2014-02-12 16:03:56 +00:00
|
|
|
padding-left: 1.28em;
|
2014-02-06 10:49:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> img.mwe-popups-is-not-tall{
|
|
|
|
float: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div.mwe-popups-timestamp-older{
|
|
|
|
color: #bbb;
|
|
|
|
}
|
|
|
|
|
|
|
|
> div.mwe-popups-timestamp-recent{
|
|
|
|
color: #00af89;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mwe-popups-is-tall{
|
|
|
|
width: 450px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mwe-popups-is-not-tall{
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
}
|