From a5cd2de901caec2d485c162eed184613e6a7b32b Mon Sep 17 00:00:00 2001 From: Bree Hall Date: Sat, 5 Nov 2022 21:14:41 -0400 Subject: [PATCH] Lint Sass file --- .../components/eui/tooltip/_mixins.scss | 48 +++++++++---------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/x-pack/plugins/infra/public/components/eui/tooltip/_mixins.scss b/x-pack/plugins/infra/public/components/eui/tooltip/_mixins.scss index e24409193181b..2c3c3c9db4d56 100644 --- a/x-pack/plugins/infra/public/components/eui/tooltip/_mixins.scss +++ b/x-pack/plugins/infra/public/components/eui/tooltip/_mixins.scss @@ -1,4 +1,3 @@ - $euiTooltipBackgroundColor: tintOrShade($euiColorFullShade, 25%, 100%) !default; $euiTooltipBorderColor: tintOrShade($euiColorFullShade, 35%, 80%) !default; @@ -8,29 +7,28 @@ $euiTooltipAnimations: ( bottom: euiToolTipLeft, right: euiToolTipRight, ) !default; - @mixin euiToolTipStyle($size: null) { - @include euiBottomShadow($color: $euiColorInk); - border-radius: $euiBorderRadius; - background-color: $euiTooltipBackgroundColor; - color: $euiColorGhost; - z-index: $euiZLevel9; - max-width: 256px; - overflow-wrap: break-word; - padding: $euiSizeS; - - .euiHorizontalRule { - background-color: $euiTooltipBorderColor; - } - } - - @mixin euiToolTipTitle { - font-weight: $euiFontWeightBold; - border-bottom: solid $euiBorderWidthThin $euiTooltipBorderColor; - padding-bottom: $euiSizeXS; - margin-bottom: $euiSizeXS; + @include euiBottomShadow($color: $euiColorInk); + border-radius: $euiBorderRadius; + background-color: $euiTooltipBackgroundColor; + color: $euiColorGhost; + z-index: $euiZLevel9; + max-width: 256px; + overflow-wrap: break-word; + padding: $euiSizeS; + + .euiHorizontalRule { + background-color: $euiTooltipBorderColor; } - - @mixin euiToolTipAnimation($side: 'top') { - animation: #{map-get($euiTooltipAnimations, $side)} $euiAnimSpeedSlow ease-out 0s forwards; - } \ No newline at end of file +} + +@mixin euiToolTipTitle { + font-weight: $euiFontWeightBold; + border-bottom: solid $euiBorderWidthThin $euiTooltipBorderColor; + padding-bottom: $euiSizeXS; + margin-bottom: $euiSizeXS; +} + +@mixin euiToolTipAnimation($side: 'top') { + animation: #{map-get($euiTooltipAnimations, $side)} $euiAnimSpeedSlow ease-out 0s forwards; +}