= (props) => {
{permission ? 'Edit Feature' : 'Feature'}: {projectFlag.name}
-
+
{ownerChips.length > 0 && (
diff --git a/frontend/web/components/pages/FlagEnvironmentsPage.tsx b/frontend/web/components/pages/FlagEnvironmentsPage.tsx
index 807daea4e3c7..90fac5b544ad 100644
--- a/frontend/web/components/pages/FlagEnvironmentsPage.tsx
+++ b/frontend/web/components/pages/FlagEnvironmentsPage.tsx
@@ -6,7 +6,7 @@ import { useGetEnvironmentsQuery } from 'common/services/useEnvironment'
import { useGetFeatureStatesQuery } from 'common/services/useFeatureState'
import { useGetProjectQuery } from 'common/services/useProject'
import Panel from 'components/base/grid/Panel'
-import Icon from 'components/icons/Icon'
+import { Icon } from 'components/icons'
import TagValues from 'components/tags/TagValues'
import Switch from 'components/Switch'
import Button from 'components/base/forms/Button'
diff --git a/frontend/web/components/pages/IdentitiesPage.tsx b/frontend/web/components/pages/IdentitiesPage.tsx
index a2bab29895e3..76a1e743f13b 100644
--- a/frontend/web/components/pages/IdentitiesPage.tsx
+++ b/frontend/web/components/pages/IdentitiesPage.tsx
@@ -13,6 +13,7 @@ import { Req } from 'common/types/requests'
import CreateUserModal from 'components/modals/CreateUser'
import PanelSearch from 'components/PanelSearch'
import Button from 'components/base/forms/Button'
+import IconButton from 'components/base/IconButton'
import JSONReference from 'components/JSONReference'
import Utils from 'common/utils/utils'
import Icon from 'components/icons/Icon'
@@ -264,10 +265,10 @@ const IdentitiesPage: FC<{ props: any }> = (props) => {
-
+
+
) : (
diff --git a/frontend/web/components/pages/organisation-settings/tabs/sso/saml/SAMLAttributeMappingTable.tsx b/frontend/web/components/pages/organisation-settings/tabs/sso/saml/SAMLAttributeMappingTable.tsx
index 68c4aaff1d4b..883cc1f665d1 100644
--- a/frontend/web/components/pages/organisation-settings/tabs/sso/saml/SAMLAttributeMappingTable.tsx
+++ b/frontend/web/components/pages/organisation-settings/tabs/sso/saml/SAMLAttributeMappingTable.tsx
@@ -8,6 +8,7 @@ import {
useDeleteSamlAttributeMappingMutation,
useGetSamlAttributeMappingQuery,
} from 'common/services/useSamlAttributeMapping'
+import IconButton from 'components/base/IconButton'
type SAMLAttributeMappingTableType = {
samlConfigurationId: number
@@ -77,10 +78,11 @@ const SAMLAttributeMappingTable: FC = ({
-
+
+
)}
diff --git a/frontend/web/components/pages/project-settings/tabs/EditHealthProvider.tsx b/frontend/web/components/pages/project-settings/tabs/EditHealthProvider.tsx
index e8917caa9a8d..797cc2470132 100644
--- a/frontend/web/components/pages/project-settings/tabs/EditHealthProvider.tsx
+++ b/frontend/web/components/pages/project-settings/tabs/EditHealthProvider.tsx
@@ -2,6 +2,7 @@ import React, { FC, useEffect } from 'react'
import { HealthProvider } from 'common/types/responses'
import PanelSearch from 'components/PanelSearch'
import Button from 'components/base/forms/Button'
+import IconButton from 'components/base/IconButton'
import Icon from 'components/icons/Icon'
@@ -205,15 +206,16 @@ const EditHealthProvider: FC = ({
>
{webhook}
-
+
)}
diff --git a/frontend/web/components/release-pipelines/StageArrow.tsx b/frontend/web/components/release-pipelines/StageArrow.tsx
index 9c23721d117c..82ea7d4f18e7 100644
--- a/frontend/web/components/release-pipelines/StageArrow.tsx
+++ b/frontend/web/components/release-pipelines/StageArrow.tsx
@@ -1,4 +1,3 @@
-import Button from 'components/base/forms/Button'
import Icon from 'components/icons/Icon'
type StageArrowProps = {
@@ -12,13 +11,14 @@ const StageArrow = ({ onAddStage, showAddStageButton }: StageArrowProps) => {
{showAddStageButton && (
-
+
+
)}
diff --git a/frontend/web/styles/components/_release-pipelines.scss b/frontend/web/styles/components/_release-pipelines.scss
index 67848ae49c21..401559394a61 100644
--- a/frontend/web/styles/components/_release-pipelines.scss
+++ b/frontend/web/styles/components/_release-pipelines.scss
@@ -24,3 +24,36 @@
}
}
}
+
+.stage-add-btn {
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
+ width: 32px;
+ height: 32px;
+ padding: 0;
+ border: 1px solid var(--color-border-action);
+ border-radius: var(--radius-full);
+ background: transparent;
+ cursor: pointer;
+ color: var(--color-icon-action);
+ transition: background-color var(--duration-fast) var(--easing-standard);
+
+ svg {
+ width: 20px;
+ height: 20px;
+ }
+
+ path {
+ fill: var(--color-icon-action);
+ }
+
+ &:hover {
+ background-color: var(--color-surface-action-subtle);
+ }
+
+ &:focus-visible {
+ outline: 2px solid var(--color-border-action);
+ outline-offset: 2px;
+ }
+}
diff --git a/frontend/web/styles/project/_buttons.scss b/frontend/web/styles/project/_buttons.scss
index 5885e9d75dbe..97b52e0cd7ae 100644
--- a/frontend/web/styles/project/_buttons.scss
+++ b/frontend/web/styles/project/_buttons.scss
@@ -141,28 +141,6 @@ button.btn {
}
}
- &.btn-icon {
- padding:0;
- height: 32px;
- width: 32px;
- display: flex;
- align-items: center;
- justify-content: center;
- color: $body-color;
- svg {
- width: 18px;
- height: 18px;
- }
- path {
- fill: var(--color-icon-secondary);
- }
- &:hover,&:focus {
- background-color: $bg-light300;
- path {
- fill: var(--color-icon-default);
- }
- }
- }
&-with-icon {
padding: 0 14px;
background-color: $basic-alpha-8;
@@ -350,12 +328,6 @@ $add-btn-size: 34px;
.dark {
.btn {
- &.btn-icon {
- color: $body-color-dark;
- &:hover,&:focus {
- background-color: $bg-dark300;
- }
- }
&.btn-secondary {
color: white;
background-color: $btn-secondary-bg-dark !important;