diff --git a/core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly b/core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly
index d203b8a98344..a77474476625 100644
--- a/core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly
+++ b/core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly
@@ -71,7 +71,7 @@ THE SOFTWARE.
-
+
diff --git a/core/src/main/resources/lib/hudson/buildCaption.jelly b/core/src/main/resources/lib/hudson/buildCaption.jelly
index 2f29e2808f4b..6ae79d3b836e 100644
--- a/core/src/main/resources/lib/hudson/buildCaption.jelly
+++ b/core/src/main/resources/lib/hudson/buildCaption.jelly
@@ -49,7 +49,7 @@ THE SOFTWARE.
+ alt="${%cancel}"/>
|
diff --git a/core/src/main/resources/lib/hudson/buildCaption.properties b/core/src/main/resources/lib/hudson/buildCaption.properties
index 6aa3af4cc19b..435f11915242 100644
--- a/core/src/main/resources/lib/hudson/buildCaption.properties
+++ b/core/src/main/resources/lib/hudson/buildCaption.properties
@@ -1 +1,2 @@
confirm=Are you sure you want to abort {0}?
+cancel=Cancel
diff --git a/core/src/main/resources/lib/hudson/executors.properties b/core/src/main/resources/lib/hudson/executors.properties
index 951d07ec26c1..8438e6602a32 100644
--- a/core/src/main/resources/lib/hudson/executors.properties
+++ b/core/src/main/resources/lib/hudson/executors.properties
@@ -2,3 +2,4 @@
Computers=built-in node{0,choice,0# ({1} of {2} executors busy)|1# + {0,number} agent ({1} of {2} executors busy)|1< + {0,number} agents ({1} of {2} executors busy)}
confirm=Are you sure you want to abort {0}?
launching=launching...
+terminate\ this\ build=Cancel
diff --git a/core/src/main/resources/lib/layout/stopButton.jelly b/core/src/main/resources/lib/layout/stopButton.jelly
index 29f4ebcb6815..336184090622 100644
--- a/core/src/main/resources/lib/layout/stopButton.jelly
+++ b/core/src/main/resources/lib/layout/stopButton.jelly
@@ -39,13 +39,13 @@ THE SOFTWARE.
-
-
+
+
-
-
+
+
diff --git a/test/src/test/java/jenkins/security/Security2278Test.java b/test/src/test/java/jenkins/security/Security2278Test.java
index c556d5d079bf..7811c2afa884 100644
--- a/test/src/test/java/jenkins/security/Security2278Test.java
+++ b/test/src/test/java/jenkins/security/Security2278Test.java
@@ -70,7 +70,7 @@ public void testUi() throws Exception {
assertThat(contentAsString, containsString("Build Executor Status"));
assertThat(contentAsString, containsString("Unknown Task"));
assertThat(contentAsString, not(containsString("job/foo/job/bar")));
- assertThat(contentAsString, not(containsString("icon-stop")));
+ assertThat(contentAsString, not(containsString("stop-button-link")));
}
@Test
@@ -81,7 +81,7 @@ public void testUiWithPermission() throws Exception {
assertThat(contentAsString, containsString("Build Executor Status"));
assertThat(contentAsString, not(containsString("Unknown Task")));
assertThat(contentAsString, containsString("job/foo/job/bar"));
- assertThat(contentAsString, containsString("icon-stop"));
+ assertThat(contentAsString, containsString("stop-button-link"));
}
@Test
diff --git a/war/src/main/scss/components/_buttons.scss b/war/src/main/scss/components/_buttons.scss
index 0368549deb7d..5108aca2c6eb 100644
--- a/war/src/main/scss/components/_buttons.scss
+++ b/war/src/main/scss/components/_buttons.scss
@@ -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: 1rem;
+ height: 1rem;
+ border-radius: 0.25rem;
+
+ &::before {
+ background: color-mix(in sRGB, var(--red) 15%, transparent);
+ }
+
+ svg {
+ width: 87.5%;
+ height: 87.5%;
+ color: var(--red);
+
+ * {
+ stroke-width: 40px;
+ }
+ }
+}