MediaWiki:Gadget-ReferenceTooltips.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/**
* Reference tooltips
*/
/* Settings link */
#gsw-config-open {
float: right;
font-size: smaller;
}
/* Tooltip */
.gsw-tooltip {
position: absolute;
z-index: 5;
color: #444e5a;
border: 1px solid #e4eaee;
background: #fff;
font-size: 0.8em;
line-height: 1.6em;
box-shadow: 0 0.3em 0.75em rgba(0,0,0,0.1);
/* if you change the padding, you also need to change
the top and left offsets in MediaWiki:Gadget-ReferenceTooltips.js */
padding: 1.15em 1.65em;
margin: 0px;
max-width: 25em;
}
#gsw-tooltip-settings {
float: right;
width: 16px;
height: 16px;
background-image: url('filepath://Cog.svg');
background-size: contain;
margin-right: -5px;
}
#gsw-tooltip-settings:hover {
opacity: 1;
}
/* Config form */
#gsw-config {
/* why would you give something a z-index of 200m? */
/* bitches love z-index */
z-index: 200000002;
border: 1px solid #e4eaee;
background: #fff;
font-size: .8em;
line-height: 1.5em;
width: 30em;
box-shadow: 0 1em 3em rgba(0,0,0,0.3);
position: fixed;
}
#gsw-config-header {
font-size: 1.5em;
padding: 1em 1em 0 1em;
}
#gsw-config-title {
font-weight: bold;
}
#gsw-config-close {
background: #5d6773 url('filepath://Close-x-white.svg') center center no-repeat;
float: right;
width: 1em;
height: 1em;
display: block;
cursor: pointer;
opacity: 0.6;
}
#gsw-config-close:hover {
opacity: 1;
}
#gsw-config-body {
margin: 1em 1.5em;
}
#gsw-config-disable {
width: 100%;
}
#gsw-config-note {
color: #949eaa;
padding: .5em 0 1em;
border-bottom: 1px solid #e4eaee;
margin-bottom: 1em;
}
#gsw-config-footer {
border-top: 1px solid #e4eaee;
background: #f9fafa;
text-align: right;
}
#gsw-config-save {
margin: 1.5em;
}
#gsw-config-background {
display: flex;
justify-content: center;
align-items: center;
top: 0;
left: 0;
z-index: 200000001;
position: fixed;
background: rgba(255,255,255,0.6);
}