mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
Init
This commit is contained in:
1 parent
be77274143
commit
1384091663
2 files changed
+34
-4
No files matched your search
@@ -39,13 +39,13 @@ THE SOFTWARE.
|
||||
</st:documentation>
|
||||
<j:choose>
|
||||
<j:when test="${confirm == null}">
|
||||
<a class="stop-button-link" href="${href}">
|
||||
<l:icon class="icon-stop icon-sm" alt="${alt}"/>
|
||||
<a class="stop-button-link" href="${href}" tooltip="${alt}">
|
||||
<l:icon src="symbol-close" />
|
||||
</a>
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
<a class="stop-button-link" href="${href}" data-confirm="${confirm}">
|
||||
<l:icon class="icon-stop icon-sm" alt="${alt}"/>
|
||||
<a class="stop-button-link" href="${href}" data-confirm="${confirm}" tooltip="${alt}">
|
||||
<l:icon src="symbol-close" />
|
||||
</a>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
|
||||
@@ -299,3 +299,33 @@ $jenkins-split-button-border-radius: 0.2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.stop-button-link {
|
||||
--item-background--hover: color-mix(in srgb, var(--red) 20%, transparent);
|
||||
--item-background--active: color-mix(in srgb, var(--red) 25%, transparent);
|
||||
--item-box-shadow--focus: transparent;
|
||||
|
||||
@include mixins.item;
|
||||
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 4px;
|
||||
|
||||
&::before {
|
||||
background: color-mix(in srgb, var(--red) 15%, transparent);
|
||||
}
|
||||
|
||||
svg {
|
||||
width: 87.5%;
|
||||
height: 87.5%;
|
||||
color: var(--red);
|
||||
|
||||
* {
|
||||
stroke-width: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user