Fandom Developers Wiki

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.