Skip to content

Jenkins Compact Parameters by payload

Screenshot of Jenkins Compact Parameters

Details

Authorpayload

Licensecc0-1.0

Categoryjenkins

Created

Updated

Size1.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Jenkins Compact Parameters
@version      20231222.13.37
@namespace    userstyles.world/user/payload
@description  Fixing https://community.jenkins.io/t/new-ui-form-spacing-and-poor-usability/3885
@author       payload
@license      cc0-1.0
==/UserStyle== */

@-moz-document regexp(".*jenkins.*") {
.parameters .jenkins-form-item
{
    display: flex;
    margin-bottom: 0;
    align-items: baseline;
}
.parameters :is(.jenkins-form-label, .jenkins-form-description, .setting-main, .validation-error-area, .jenkins-form-item:after)
{
    margin-right: 1em;
}
.parameters .jenkins-form-label         { order: 0; min-width: 25%; }
.parameters .setting-main               { order: 1; min-width: 25%; }
.parameters .jenkins-form-description   { order: 2; }
.parameters .validation-error-area      { order: 3; }
.parameters .jenkins-form-item:after    { order: 4; }

.parameters .setting-main select { 
    background: var(--input-color);
    border: 2px solid var(--input-border);
    border-radius: var(--form-input-border-radius);
    box-shadow: var(--form-input-glow);
    display: block;
    padding: var(--form-input-padding);
    transition: all var(--standard-transition),height 0s;
    width: 100%;
}

.parameters .setting-main:has(.jenkins-checkbox) { min-width: calc(50% + 1em) }

.parameters input { text-overflow: ellipsis; }
}

Reviews

No reviews yet.