mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Lint Sass file
This commit is contained in:
parent
c605cbd7b9
commit
a5cd2de901
1 changed files with 23 additions and 25 deletions
|
@ -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;
|
||||
}
|
||||
@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;
|
||||
}
|
||||
|
||||
@mixin euiToolTipAnimation($side: 'top') {
|
||||
animation: #{map-get($euiTooltipAnimations, $side)} $euiAnimSpeedSlow ease-out 0s forwards;
|
||||
}
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue