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.
 
 
 

112 lines
1.4 KiB

  1. @import "../../../css/ui.less";
  2. .uiTooltipItem {
  3. .tooltip {
  4. display: none;
  5. position: absolute;
  6. margin-left: -4px;
  7. margin-top: -4px;
  8. background-color: fade(@blackB, 95%);
  9. pointer-events: none;
  10. padding: 10px;
  11. color: @white;
  12. text-align: center;
  13. line-height: 18px;
  14. z-index: 999999;
  15. max-width: 300px;
  16. .name {
  17. margin-bottom: 8px;
  18. .type {
  19. color: darken(@white, 40%);
  20. }
  21. .power {
  22. color: @green;
  23. display: none;
  24. }
  25. }
  26. > .stats {
  27. color: darken(@white, 20%);
  28. margin-bottom: 8px;
  29. .gainStat {
  30. color: @green;
  31. }
  32. .loseStat {
  33. color: @red;
  34. }
  35. .enchanted {
  36. color: @tealC !important;
  37. }
  38. }
  39. .effects {
  40. color: @white;
  41. margin-bottom: 8px;
  42. }
  43. .faction {
  44. color: darken(@white, 40%);
  45. margin-bottom: 8px;
  46. }
  47. .requires {
  48. margin-top: 8px;
  49. color: darken(@white, 40%);
  50. &.high-level {
  51. color: @red;
  52. }
  53. .high-level {
  54. color: @red;
  55. }
  56. > *:not(.high-level) {
  57. color: darken(@white, 40%);
  58. }
  59. }
  60. .material {
  61. color: darken(@white, 40%);
  62. display: none;
  63. }
  64. .quest {
  65. color: darken(@white, 40%);
  66. display: none;
  67. }
  68. .info {
  69. color: darken(@white, 60%);
  70. }
  71. .damage {
  72. .gainDamage {
  73. color: @green;
  74. }
  75. .loseDamage {
  76. color: @red;
  77. }
  78. }
  79. .worth {
  80. display: none;
  81. &.no-afford {
  82. color: @red;
  83. }
  84. }
  85. &.no-compare .info {
  86. display: none;
  87. }
  88. }
  89. }