mirror of https://github.com/jenkinsci/jenkins.git
Tidy up
This commit is contained in:
parent
b746fba008
commit
b2da3f8d39
|
@ -48,7 +48,6 @@ import hudson.node_monitors.DiskSpaceMonitorNodeProperty;
|
|||
import hudson.node_monitors.NodeMonitor;
|
||||
import hudson.remoting.Channel;
|
||||
import hudson.remoting.VirtualChannel;
|
||||
|
||||
import hudson.security.ACL;
|
||||
import hudson.security.AccessControlled;
|
||||
import hudson.security.Permission;
|
||||
|
|
|
@ -48,7 +48,6 @@ import hudson.model.listeners.ItemListener;
|
|||
import hudson.scm.ChangeLogSet;
|
||||
import hudson.scm.SCM;
|
||||
import hudson.search.QuickSilver;
|
||||
|
||||
import hudson.search.SearchIndex;
|
||||
import hudson.search.SearchIndexBuilder;
|
||||
import hudson.search.SearchItem;
|
||||
|
|
|
@ -40,7 +40,6 @@ import hudson.XmlFile;
|
|||
import hudson.init.InitMilestone;
|
||||
import hudson.init.Initializer;
|
||||
import hudson.model.listeners.SaveableListener;
|
||||
|
||||
import hudson.security.ACL;
|
||||
import hudson.security.AccessControlled;
|
||||
import hudson.security.SecurityRealm;
|
||||
|
|
|
@ -42,7 +42,6 @@ import hudson.init.Initializer;
|
|||
import hudson.model.Descriptor.FormException;
|
||||
import hudson.model.listeners.ItemListener;
|
||||
import hudson.search.CollectionSearchIndex;
|
||||
|
||||
import hudson.search.SearchIndexBuilder;
|
||||
import hudson.security.ACL;
|
||||
import hudson.security.AccessControlled;
|
||||
|
|
|
@ -171,9 +171,9 @@ public class Search implements StaplerProxy {
|
|||
|
||||
if (iconName.startsWith("symbol")) {
|
||||
r.suggestions.add(new Item(curItem.getPath(), curItem.getUrl(),
|
||||
Symbol.get(new SymbolRequest.Builder().withRaw(iconName).build()), "symbol", curItem.item.getSearchGroup()));
|
||||
Symbol.get(new SymbolRequest.Builder().withRaw(iconName).build()), "symbol", curItem.item.getSearchGroup().getDisplayName()));
|
||||
} else {
|
||||
r.suggestions.add(new Item(curItem.getPath(), curItem.getUrl(), iconName, "image", curItem.item.getSearchGroup()));
|
||||
r.suggestions.add(new Item(curItem.getPath(), curItem.getUrl(), iconName, "image", curItem.item.getSearchGroup().getDisplayName()));
|
||||
}
|
||||
}
|
||||
rsp.serveExposedBean(req, r, new ExportConfig());
|
||||
|
|
|
@ -69,7 +69,7 @@ function init() {
|
|||
label: i18n.dataset.getHelp,
|
||||
url: headerCommandPaletteButton.dataset.searchHelpUrl,
|
||||
isExternal: true,
|
||||
group: null
|
||||
group: null,
|
||||
}),
|
||||
]);
|
||||
} else {
|
||||
|
@ -86,7 +86,7 @@ function init() {
|
|||
|
||||
if (query.length === 0 || Object.keys(results).length > 0) {
|
||||
for (const [group, items] of Object.entries(results)) {
|
||||
if (group !== 'null') {
|
||||
if (group !== "null") {
|
||||
const heading = document.createElement("p");
|
||||
heading.className = "jenkins-command-palette__results__heading";
|
||||
heading.innerText = group;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
&::backdrop {
|
||||
background: var(--command-palette-backdrop-background);
|
||||
backdrop-filter: contrast(0.7) brightness(0.9) saturate(1.25) blur(3px);
|
||||
backdrop-filter: brightness(0.9) saturate(1.25) blur(2px);
|
||||
animation: jenkins-dialog-backdrop-animate-in 0.1s linear;
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
|||
&__search {
|
||||
--search-bar-height: 3rem !important;
|
||||
|
||||
background: transparent;
|
||||
background: color-mix(in sRGB, var(--card-background), transparent);
|
||||
box-shadow: var(--command-palette-inset-shadow);
|
||||
margin-bottom: var(--section-padding);
|
||||
border-radius: 1rem;
|
||||
|
@ -109,6 +109,7 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
border-radius: 1rem;
|
||||
background: color-mix(in sRGB, var(--card-background), transparent);
|
||||
backdrop-filter: var(--command-palette-results-backdrop-filter);
|
||||
box-shadow: var(--command-palette-inset-shadow);
|
||||
|
||||
|
@ -132,7 +133,7 @@
|
|||
color: var(--text-color-secondary);
|
||||
|
||||
&:not(:first-of-type) {
|
||||
padding-top: 1.5rem;
|
||||
padding-top: 1.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -153,7 +154,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding: 0.75rem;
|
||||
padding: 0.625rem;
|
||||
border-radius: 0.5rem;
|
||||
color: var(--text-color) !important;
|
||||
transition: var(--standard-transition);
|
||||
|
|
Loading…
Reference in New Issue