Warning.png

Поддержка Wiki прекращена, она доступна в режиме архива. Информация в ней устарела и может быть неактуальной.

MediaWiki:Gadget-referenceTooltips.css — различия между версиями

Материал из Hilarious Wiki
Перейти к: навигация, поиск
(Скоммунизжено)
(нет различий)

Версия 10:56, 15 октября 2016

/* See [[mw: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);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    margin: 0;
    padding: 8px 8px 8px 8px;
    line-height: 18px;
    max-width: 300px;
}

.referencetooltip li + li {
    margin-left: 7px;
    margin-top: -1px;
    border: 0;
    padding: 0;
    height: 3px;
    width: 0;
    background-color: transparent;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-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;
}

.client-js .referencetooltip li ul li {
    border: none;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    height: auto;
    width: auto;
    margin: auto;
    padding: 0;
    position: static;
}

.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%3C%21--%20Generator%3A%20Adobe%20Illustrator%2018.1.1%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%0D%0A%09%20viewBox%3D%220%200%2024%2024%22%20enable-background%3D%22new%200%200%2024%2024%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cpath%20fill%3D%22%23555555%22%20d%3D%22M20%2C14.5v-2.9l-1.8-0.3c-0.1-0.4-0.3-0.8-0.6-1.4l1.1-1.5l-2.1-2.1l-1.5%2C1.1c-0.5-0.3-1-0.5-1.4-0.6L13.5%2C5h-2.9l-0.3%2C1.8%0D%0A%09C9.8%2C6.9%2C9.4%2C7.1%2C8.9%2C7.4L7.4%2C6.3L5.3%2C8.4l1%2C1.5c-0.3%2C0.5-0.4%2C0.9-0.6%2C1.4L4%2C11.5v2.9l1.8%2C0.3c0.1%2C0.5%2C0.3%2C0.9%2C0.6%2C1.4l-1%2C1.5%0D%0A%09l2.1%2C2.1l1.5-1c0.4%2C0.2%2C0.9%2C0.4%2C1.4%2C0.6l0.3%2C1.8h3l0.3-1.8c0.5-0.1%2C0.9-0.3%2C1.4-0.6l1.5%2C1.1l2.1-2.1l-1.1-1.5c0.3-0.5%2C0.5-1%2C0.6-1.4%0D%0A%09L20%2C14.5z%20M12%2C16c-1.7%2C0-3-1.3-3-3s1.3-3%2C3-3s3%2C1.3%2C3%2C3S13.7%2C16%2C12%2C16z%22%2F%3E%0D%0A%3C%2Fsvg%3E%0D%0A);
    background-image: linear-gradient(transparent,transparent),url(/w/extensions/Popups/resources/images/cog.svg?327ed)!ie;
    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;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    margin-left: 8px;
}

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