Skip to content

Commit

Permalink
Delete button style - it'll be updated in future buttons MR
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Oct 25, 2021
1 parent e894c56 commit 8810c27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 78 deletions.
4 changes: 1 addition & 3 deletions core/src/main/resources/lib/hudson/newFromList/form.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ THE SOFTWARE.
-->
<input type="radio" name="mode" value="dummy1" style="display:none" />
<input type="radio" name="mode" value="dummy2" style="display:none" />
<button type="submit" id="ok" class="jenkins-button jenkins-button--primary jenkins-button--large">
${%Create}
</button>
<input type="submit" name="Submit" value="${%Create}" id="ok" />
</div>

<st:adjunct includes="lib.hudson.newFromList.validation" />
Expand Down
75 changes: 0 additions & 75 deletions war/src/main/less/modules/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -281,81 +281,6 @@
}
}

.jenkins-button {
position: relative;
display: inline-flex;
justify-content: center;
align-items: center;
min-height: 37px;
background: var(--btn-secondary-bg);
color: var(--btn-secondary-color);
padding: 10px 15px;
border-radius: 10px;
cursor: pointer;
text-shadow: 0 1px 0 var(--background-color);
box-shadow: var(--form-input-glow);
text-decoration: none;
outline: none;
font-weight: 500;
transition: var(--standard-transition);
border: 2px solid var(--btn-secondary-border);

&::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: inherit;
color: inherit;
border-bottom: 2px solid var(--button-foreground-color);
opacity: 0.05;
}

&:hover {
background: var(--btn-secondary-bg--hover);
color: var(--btn-secondary-color--hover);
}

&:active {
background: var(--btn-secondary-bg--focus);
color: var(--btn-secondary-color--focus);
box-shadow: var(--form-input-glow--focus);
}

&--large {
font-size: 0.9rem;
padding: 12px 20px;
}

&--primary {
background: var(--btn-primary-bg);
color: white;
border: none;

&:hover {
background: var(--btn-primary-bg-hover);
color: white;
}

&:active {
background: var(--btn-primary-bg-active);
color: white;
}

&::after {
border-bottom: 2px solid var(--btn-primary-bg);
opacity: 0.1;
}
}

&:disabled {
opacity: 0.5;
pointer-events: none;
}
}

.jenkins-help-button {
position: relative;
width: 18px;
Expand Down

0 comments on commit 8810c27

Please sign in to comment.