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.
 
 
 

168 lines
1.9 KiB

  1. @import "../../../css/colors.less";
  2. @marginBetweenItems: 2px;
  3. .uiTooltipItem {
  4. > * {
  5. z-index: 999999;
  6. }
  7. .tooltip {
  8. display: none;
  9. flex-direction: column;
  10. position: absolute;
  11. margin-left: -4px;
  12. margin-top: -4px;
  13. background-color: fade(@blackB, 95%);
  14. pointer-events: none;
  15. padding: 10px;
  16. color: @white;
  17. align-items: center;
  18. line-height: 18px;
  19. max-width: 300px;
  20. text-align: center;
  21. > *:not(:empty) {
  22. display: flex;
  23. flex-direction: column;
  24. align-items: center;
  25. & + * {
  26. margin-top: @marginBetweenItems;
  27. }
  28. }
  29. > *:empty {
  30. display: none;
  31. }
  32. .line {
  33. height: 2px;
  34. width: 100%;
  35. background-color: @grayD;
  36. }
  37. .space {
  38. height: 6px;
  39. }
  40. .smallSpace {
  41. height: 2px;
  42. }
  43. .type {
  44. color: @grayC;
  45. }
  46. .power {
  47. color: @greenA;
  48. }
  49. > .implicitStats {
  50. width: 100%;
  51. color: @grayB;
  52. > * + * {
  53. margin-top: @marginBetweenItems;
  54. }
  55. .gainStat {
  56. color: @greenA;
  57. }
  58. .loseStat {
  59. color: @redB;
  60. }
  61. }
  62. > .stats {
  63. width: 100%;
  64. color: @grayB;
  65. > * + * {
  66. margin-top: @marginBetweenItems;
  67. }
  68. .gainStat {
  69. color: @greenA;
  70. }
  71. .loseStat {
  72. color: @redB;
  73. }
  74. .enchanted {
  75. color: @tealC !important;
  76. }
  77. }
  78. .effects {
  79. color: @blueB;
  80. }
  81. .faction {
  82. color: @grayC;
  83. }
  84. .high-level {
  85. color: @redB;
  86. }
  87. .material {
  88. color: @grayC;
  89. }
  90. .quest {
  91. color: @grayC;
  92. }
  93. .info {
  94. color: @grayD;
  95. }
  96. .damage {
  97. .gainDamage {
  98. color: @greenA;
  99. }
  100. .loseDamage {
  101. color: @redB;
  102. }
  103. }
  104. .description {
  105. color: @brownB;
  106. text-align: center;
  107. }
  108. .worth {
  109. &.no-afford {
  110. color: @redB;
  111. }
  112. }
  113. }
  114. > .btn {
  115. position: absolute;
  116. background-color: @blueB;
  117. color: @white;
  118. padding: 10px;
  119. text-align: center;
  120. }
  121. }
  122. .mobile .uiTooltipItem {
  123. z-index: 9999999999;
  124. > * {
  125. z-index: 9999999999;
  126. }
  127. }