Skip to content

Commit

Permalink
Style combobox, fix spacing issues for Maven Config
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Nov 29, 2021
1 parent 4a44304 commit be68cd1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ package jenkins.mvn.GlobalMavenConfig
def f = namespace(lib.FormTagLib)

f.section(title:_("Maven Configuration")) {
div(class: "jenkins-form-item") {
f.dropdownDescriptorSelector(title:_("Default settings provider"), field:"settingsProvider")
}
div(class: "jenkins-form-item") {
f.dropdownDescriptorSelector(title:_("Default global settings provider"), field:"globalSettingsProvider")
}
f.dropdownDescriptorSelector(title:_("Default settings provider"), field:"settingsProvider")
f.dropdownDescriptorSelector(title:_("Default global settings provider"), field:"globalSettingsProvider")
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ l.layout(permission:app.SYSTEM_READ, title:my.displayName) {
Functions.getSortedDescriptorsForGlobalConfigByDescriptor(my.FILTER).each { Descriptor descriptor ->
set("descriptor",descriptor)
set("instance",descriptor)
f.rowSet(name:descriptor.jsonSafeClassName) {
f.rowSet(name:descriptor.jsonSafeClassName, isFormItem: "false") {
st.include(from:descriptor, page:descriptor.globalConfigPage)
}
}
Expand Down
11 changes: 6 additions & 5 deletions war/src/main/less/base/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -919,15 +919,16 @@ table.parameters > tbody:hover {

/* ========================= editable combobox style ========================= */
.comboBoxList {
border: 1px solid #000;
overflow: visible;
background-color: white;
color: black;
background-color: var(--background);
color: var(--text-color);
border-radius: var(--form-input-border-radius);
box-shadow: 0 10px 20px rgba(black, 0.1);
}

.comboBoxSelectedItem {
background-color: Highlight;
color: HighlightText;
background-color: var(--primary);
color: var(--text-color);
}

.combobox-values {
Expand Down

0 comments on commit be68cd1

Please sign in to comment.