fix(ui): tweak border style

This commit is contained in:
Łukasz Mierzwa
2021-12-19 18:34:12 +00:00
committed by Łukasz Mierzwa
parent bf9478c09b
commit 2da69e1cb4
8 changed files with 12 additions and 7 deletions
@@ -125,7 +125,7 @@ exports[`<Alert /> matches snapshot when inhibited 1`] = `
href=\\"http://localhost\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge border border-secondary components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"
@@ -254,7 +254,7 @@ exports[`<Alert /> matches snapshot with showAlertmanagers=false showReceiver=fa
href=\\"http://localhost\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge border border-secondary components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"
@@ -6,7 +6,7 @@ exports[`<RenderLinkAnnotation /> matches snapshot 1`] = `
href=\\"http://localhost/foo\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge border border-secondary components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"
@@ -90,7 +90,7 @@ const RenderLinkAnnotation: FC<{
href={value}
target="_blank"
rel="noopener noreferrer"
className="components-label components-label-with-hover badge border border-secondary components-grid-annotation-link"
className="components-label components-label-with-hover badge border components-grid-annotation-link"
>
<FontAwesomeIcon icon={faExternalLinkAlt} /> {name}
</a>
@@ -100,7 +100,7 @@ exports[`<GroupFooter /> matches snapshot 1`] = `
href=\\"http://link.example.com\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge border border-secondary components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"
@@ -224,7 +224,7 @@ exports[`<GroupFooter /> mathes snapshot when silence is rendered 1`] = `
href=\\"http://link.example.com\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge border border-secondary components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"
@@ -256,7 +256,7 @@ exports[`<ManagedSilence /> matches snapshot with expaned details 1`] = `
href=\\"http://example.com/#/silences/04d37636-2350-4878-b382-e0b50353230f\\"
target=\\"_blank\\"
rel=\\"noopener noreferrer\\"
class=\\"components-label components-label-with-hover badge border border-secondary components-grid-annotation-link\\"
class=\\"components-label components-label-with-hover badge border components-grid-annotation-link\\"
>
<svg
aria-hidden=\\"true\\"
@@ -6,6 +6,9 @@
.components-grid-annotation-link {
text-decoration: none;
color: $link-color;
&.border {
border-color: $annotation-link-border !important;
}
}
.components-grid-annotation-link:hover {
text-decoration: none;
+1
View File
@@ -90,6 +90,7 @@ $placeholder-color: $gray-600;
$filterinput-border: $navbar-dark-color;
$grid-swimlane-bg: lighten($dark, 2%);
$bg-focused: darken($blue, 5%);
$annotation-link-border: $secondary;
$components-date-range-today-color: $white;
$components-date-range-sub-color: $white;
+1
View File
@@ -71,6 +71,7 @@ $placeholder-color: $secondary;
$filterinput-border: $navbar-dark-color;
$grid-swimlane-bg: lighten($dark, 2%);
$bg-focused: lighten($blue, 5%);
$annotation-link-border: $light;
$components-date-range-today-color: $black;
$components-date-range-sub-color: $black;