You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.2 KiB

  1. /*!
  2. * Angular Material Design
  3. * https://github.com/angular/material
  4. * @license MIT
  5. * v1.1.1
  6. */
  7. md-tooltip {
  8. position: absolute;
  9. z-index: 100;
  10. overflow: hidden;
  11. pointer-events: none;
  12. border-radius: 4px;
  13. font-weight: 500;
  14. font-size: 14px; }
  15. @media (min-width: 960px) {
  16. md-tooltip {
  17. font-size: 10px; } }
  18. md-tooltip .md-content {
  19. position: relative;
  20. white-space: nowrap;
  21. overflow: hidden;
  22. text-overflow: ellipsis;
  23. -webkit-transform-origin: center top;
  24. transform-origin: center top;
  25. -webkit-transform: scale(0);
  26. transform: scale(0);
  27. opacity: 0;
  28. height: 32px;
  29. line-height: 32px;
  30. padding-left: 16px;
  31. padding-right: 16px; }
  32. @media (min-width: 960px) {
  33. md-tooltip .md-content {
  34. height: 22px;
  35. line-height: 22px;
  36. padding-left: 8px;
  37. padding-right: 8px; } }
  38. md-tooltip .md-content.md-show-add {
  39. -webkit-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  40. transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  41. -webkit-transition-duration: .2s;
  42. transition-duration: .2s;
  43. -webkit-transform: scale(0);
  44. transform: scale(0);
  45. opacity: 0; }
  46. md-tooltip .md-content.md-show, md-tooltip .md-content.md-show-add-active {
  47. -webkit-transform: scale(1);
  48. transform: scale(1);
  49. opacity: 0.9;
  50. -webkit-transform-origin: center top;
  51. transform-origin: center top; }
  52. md-tooltip .md-content.md-show-remove {
  53. -webkit-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  54. transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  55. -webkit-transition-duration: .2s;
  56. transition-duration: .2s; }
  57. md-tooltip .md-content.md-show-remove.md-show-remove-active {
  58. -webkit-transform: scale(0);
  59. transform: scale(0);
  60. opacity: 0; }
  61. md-tooltip.md-hide {
  62. -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
  63. transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2); }
  64. md-tooltip.md-show {
  65. -webkit-transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  66. transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  67. pointer-events: auto; }