Skip to content

kpmb.nl - Better search results by denilsonsa

Details

Authordenilsonsa

LicensePublic Domain

Categorykpmb

Created

Updated

Size1.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Removing backend errors and slightly improving the layout of the search results.

Notes

The server-side code that powers this website is probably abandoned and untouched for years. But citizens still want to access this data. At least this user-style will make the website less painful to use.

Source code

/* ==UserStyle==
@name           kpmb.nl - Better search results
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Removing backend errors and slightly improving the layout of the search results.
@author         Denilson
==/UserStyle== */

@-moz-document domain("kpmb.nl") {
    /* Removing the backend error message from the search results. */
    html .TransformationError {
        display: none;
    }
    /* Removing the useless blank line that makes no sense. */
    html div[style="margin-top: 5px;"] > br:first-child:last-child {
        display: none;
    }
    /* There is no need for a float here, but it doesn't matter much. */
    html div[style="margin-top: 5px;"] > div {
        float: none !important;
    }

    /*
    Expands all the accordion items,
    because then it's possible to Ctrl+F to search inside the page.
    Applies to https://www.kpmb.nl/register/deelnemers
    */
    html .accordiontext.ui-accordion-content {
        display: block !important;
    }
}

Reviews

No reviews yet.