wikimedia/mediawiki-extensions-Wikibase

View on GitHub
client/resources/jquery.wikibase/jquery.wikibase.wbtooltip.css

Summary

Maintainability
Test Coverage
/**
 * @license GNU GPL v2+
 * @author H. Snater < mediawiki@snater.com >
 */

.wikibase-wbtooltip-tip.wb-error .tipsy-arrow {
    /* @embed */
    background-image: url( images/tipsy-error.png );
}

.wikibase-wbtooltip-tip.wb-error .tipsy-inner {
    /* on some host-client combinations the background image is propagated to the inner tooltip
    container creating a background pattern; this broken behavior is suppressed by implicitly
    resetting the background image. */
    background: #fee7e6;
    border-color: #b32424;
}

.wikibase-wbtooltip-tip.wb-error .tipsy-inner {
    /* Increase the max-width for errors, per https://phabricator.wikimedia.org/T247690#6173888 */
    max-width: 17em;
}