Skip to content

Commit

Permalink
Fix help button not working on pipeline page, improves background of …
Browse files Browse the repository at this point in the history
…help container
  • Loading branch information
janfaracik committed Oct 22, 2021
1 parent ab8517a commit 0a4ecee
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/form/helpArea.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ THE SOFTWARE.
<st:documentation>
Place holder to lazy-load help text via AJAX.
</st:documentation>
<div class="help-area">
<div class="help-area tr">
<div class="help">${%Loading...}</div>
</div>
</j:jelly>
5 changes: 0 additions & 5 deletions war/src/main/js/widgets/config/tabbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,6 @@
}
}

// Help & descriptions
.help {
background: var(--configure-job-help-area-bg-color);
}

p,
.help,
.setting-description {
Expand Down
16 changes: 15 additions & 1 deletion war/src/main/less/base/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -632,12 +632,26 @@ label.attach-previous {
/* ====================== help ===================================== */

.help {
position: relative;
display: none; /* hidden until loaded */
background-color: var(--help-area-bg-color);
padding: 1rem;
margin: 1rem 0;
word-break: break-word;
border-radius: 6px;
z-index: 0;

&::before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: var(--text-color);
opacity: 0.05;
z-index: -1;
border-radius: inherit;
}

p:first-of-type {
margin-top: 0;
Expand Down

0 comments on commit 0a4ecee

Please sign in to comment.