wikimedia/mediawiki-extensions-Wikibase

View on GitHub
view/resources/jquery/wikibase/themes/default/jquery.wikibase.sitelinkview.less

Summary

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

.wb-badge-empty {
    /* @embed */
    background-image: url( images/wb-badges-empty.svg );
}

.wikibase-sitelinkview input {
    background-color: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    margin: 0;
    font-family: inherit;
    font-size: 1em; /* prevent font size rounding errors */
    box-sizing: border-box;
    outline: 0;
}

.wikibase-sitelinkview input:focus {
    border-color: #2a4b8d;
    background-color: #eaf3ff;
}

.wikibase-sitelinkview .wikibase-removetoolbar {
    display: none;
}

.wikibase-sitelinkview.wb-edit .wikibase-removetoolbar {
    display: inline-block;
}

.wikibase-sitelinkview .wikibase-toolbar-button-remove {
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    width: 1.25rem;
}