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. |
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. |