liuxiaolong
2019-05-06 acc45d2ece02563964d7b8a22ff0c40bd8358889
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// Tooltips
//
 
.tooltip-inner {
  box-shadow: $tooltip-box-shadow;
}
 
.modal-open .tooltip {
  z-index: $zindex-modal-top + 2;
}
 
@each $color, $value in $theme-colors {
  @if $color != primary and $color != light {
    @include appwork-tooltip-variant('.tooltip-#{$color}, .tooltip-#{$color} > .tooltip, .ngb-tooltip-#{$color} + ngb-tooltip-window', rgba-to-hex($value));
  }
}
 
// *******************************************************************************
// * Material
 
@if $material-style {
  .tooltip {
    transition: none !important;
  }
 
  .tooltip.bs-tooltip-top,
  .bs-tooltip-auto[x-placement^="top"] {
    animation: topTooltipAnimation .25s;
  }
 
  .tooltip.bs-tooltip-right,
  .bs-tooltip-auto[x-placement^="right"] {
    animation: rightTooltipAnimation .25s;
  }
 
  .tooltip.bs-tooltip-bottom,
  .bs-tooltip-auto[x-placement^="bottom"] {
    animation: bottomTooltipAnimation .25s;
  }
 
  .tooltip.bs-tooltip-left,
  .bs-tooltip-auto[x-placement^="left"] {
    animation: leftTooltipAnimation .25s;
  }
}