wikimedia/mediawiki-extensions-Wikibase

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

Summary

Maintainability
Test Coverage
.wb-langlinks-link {
    line-height: 1.125em;
    font-size: 0.75em;
    float: right;
}

.wb-langlinks-link {
    list-style: none;
    text-align: right;
    /* stylelint-disable-next-line declaration-no-important */
    padding-right: 0.5em !important;
}

.wb-langlinks-link > a::before {
    content: '';
    background-image: url( images/edit.svg );
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 0.625rem 0.625rem;
    display: inline-block;
    width: 0.625rem;
    height: 0.625rem;
    margin-right: 0.125rem;
    vertical-align: top;
}

.wb-langlinks-link > a:link,
.wb-langlinks-link > a:visited {
    /* stylelint-disable-next-line declaration-no-important */
    color: #54595d !important;
}

.wb-langlinks-link > a:link::before,
.wb-langlinks-link > a:visited::before {
    -webkit-filter: grayscale( 1 );
    filter: grayscale( 1 );
    opacity: 0.73;
}

.wb-langlinks-link > a:hover {
    /* stylelint-disable-next-line declaration-no-important */
    color: #0645ad !important;
}

.wb-langlinks-link > a:hover::before {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}