Browse Source

Replace k8s informed action with flight icon

pull/15153/head
wenincode 2 years ago
parent
commit
4dbb1e16f4
  1. 9
      ui/packages/consul-ui/app/components/consul/intention/list/table/index.hbs
  2. 6
      ui/packages/consul-ui/app/components/informed-action/skin.scss

9
ui/packages/consul-ui/app/components/consul/intention/list/table/index.hbs

@ -122,11 +122,12 @@ as |item index|>
{{else if (can "view CRD intention" item=item)}}
<li role="none">
<div role="menu">
<InformedAction
class="info kubernetes"
>
<InformedAction>
<:header>
Managed by CRD
<span class="flex flex-nowrap items-center">
<FlightIcon @name="kubernetes-color" class="mr-1.5" />
Managed by CRD
</span>
</:header>
<:body>
<p>

6
ui/packages/consul-ui/app/components/informed-action/skin.scss

@ -66,12 +66,6 @@
background-color: rgb(var(--tone-yellow-050));
}
}
/* brands */
&.kubernetes {
header::before {
@extend %with-logo-kubernetes-color-icon, %without-mask, %as-pseudo;
}
}
/**/
> ul > .action > * {
color: rgb(var(--tone-blue-500));

Loading…
Cancel
Save