MediaWiki:Gadget-ReferenceTooltips.css

/* See Reference Tooltips */

.referencetooltip { position: absolute; list-style: none; list-style-image: none; opacity: 0; font-size: 12px; margin: 0; z-index: 5; padding: 0; }

.referencetooltip > li { background: #fff; border: 1px solid #bbb; -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2); -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2); box-shadow: 0 0 10px rgba(0,0,0,0.2); margin: 0; padding: 8px 10px; line-height: 18px; max-width: 300px; }

.referencetooltip > li + li { box-sizing: border-box; margin-left: 7px; margin-top: -1px; border: 0; padding: 0; height: 3px; width: 0; background-color: transparent; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; border-top: 12px #bbb solid; border-right: 7px transparent solid; border-left: 7px transparent solid; }

.referencetooltip > li + li::after { z-index: 111; content: ''; border: 6px solid transparent; border-bottom: 0; border-top: 8px solid #fff; height: 0; width: 0; display: block; margin-left: -6px; margin-top: -12px; }

.RTflipped { padding-top: 13px; }

.referencetooltip.RTflipped > li + li { position: absolute; top: 0; border-top: 0; border-bottom: 12px #bbb solid; }

.referencetooltip.RTflipped > li + li::after { border-top: 0; border-bottom: 8px #fff solid; position: absolute; margin-top: 7px; }

.RTsettings { /*background-image: url(/w/extensions/Popups/resources/images/cog.png?58172);*/ background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%0D%0A%20%20%20%20%3Cpath%20fill%3D%22%23555%22%20d%3D%22M20%2014.5v-2.9l-1.8-.3c-.1-.4-.3-.8-.6-1.4l1.1-1.5-2.1-2.1-1.5%201.1c-.5-.3-1-.5-1.4-.6L13.5%205h-2.9l-.3%201.8c-.5.1-.9.3-1.4.6L7.4%206.3%205.3%208.4l1%201.5c-.3.5-.4.9-.6%201.4l-1.7.2v2.9l1.8.3c.1.5.3.9.6%201.4l-1%201.5%202.1%202.1%201.5-1c.4.2.9.4%201.4.6l.3%201.8h3l.3-1.8c.5-.1.9-.3%201.4-.6l1.5%201.1%202.1-2.1-1.1-1.5c.3-.5.5-1%20.6-1.4l1.5-.3zM12%2016c-1.7%200-3-1.3-3-3s1.3-3%203-3%203%201.3%203%203-1.3%203-3%203z%22%2F%3E%0D%0A%3C%2Fsvg%3E); /*background-image: linear-gradient(transparent,transparent),url(/w/extensions/Popups/resources/images/cog.svg?327ed);*/ /*background-image: -o-linear-gradient(transparent,transparent),url(/w/extensions/Popups/resources/images/cog.png?58172);*/ display: block; float: right; cursor: pointer; margin: 0; margin-top: -4px; height: 24px; width: 24px; border-radius: 2px; box-sizing: border-box; background-position: center center; background-repeat: no-repeat; background-size: 24px 24px; margin-left: 8px; }

.RTsettings:hover { background-color: #eee; }

.RTTarget { background-color: #def; }