Fandom Developers Wiki
Advertisement

ContribsButtons ператворыць спасылкі ў верхняй частцы старонкі Адмысловае:Contributions у гнуткую сетку кнопак у WDS-стылі, якія лягчэй знаходзіць і скарыстаць, чым звычайны шэраг спасылак з-за іх павялічанага памеру. ContribsButtons прызначаны для працы супольна з SOAPReport калі ён усталяваны, улучаючы спасылкі, якія ён дадае ў сетку.

Ўстаноўка[]

Канфігурацыя[]

When installing ContribsButtons site-wide or personally on an individual wiki, the following CSS rule can be placed below the import to make the buttons adopt whichever colors are desired:

:root {
    --contribs-buttons-background: red;
    --contribs-buttons-active-background: green;
}

Simply replace “red” with any color value (hex code, rgb, rgba, et cetera) to specify the inert color, and do the same with “green” to specify the color when hovering or clicking.

Гісторыя змен[]

Date Description
February 3, 2018 Initial revision.
February 5, 2018 SOAPReportButton color fix.

Padding tweak.

February 8, 2018 Rewrote main stylesheet for QuickLogs support.

Merged fork into the main stylesheet.
Padding was standardized.

March 5, 2018 Added CBD extension.
March 11, 2018 Vendor prefixes were corrected.

Font-family & background-image properties were standardized to ignore local user styling.

March 22, 2018 A bug in older versions of Safari that caused the buttons to break was fixed.
September 2, 2018 Resolved an issue where local CSS usages of !important would override flex display.
January 7, 2019 Added script.
October 11, 2020 Last round of UCP support fixes applied to CSS.
Advertisement