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.
 
 
 

200 lines
3.6 KiB

  1. @import "../../../css/ui.less";
  2. .uiEquipment {
  3. display: none;
  4. z-index: 2;
  5. border: 5px solid @blackB;
  6. text-align: center;
  7. width: 458px;
  8. height: 534px;
  9. > .heading {
  10. color: @white;
  11. width: 100%;
  12. height: 36px;
  13. background-color: @blackB;
  14. .heading-text {
  15. padding-top: 8px;
  16. margin: auto;
  17. }
  18. }
  19. .bottom {
  20. height: calc(100% - 36px);
  21. background-color: @blackC;
  22. .tabs {
  23. width: 100%;
  24. height: 40px;
  25. padding: 8px 8px 0px 8px;
  26. .tab {
  27. cursor: pointer;
  28. background-color: @blackB;
  29. color: @white;
  30. margin-right: 8px;
  31. float: left;
  32. height: 100%;
  33. padding-top: 8px;
  34. padding-left: 8px;
  35. padding-right: 8px;
  36. width: calc((100% - 24px) / 4);
  37. &:hover {
  38. background-color: @blackA;
  39. }
  40. &.selected {
  41. background-color: @blackA;
  42. color: @blueA;
  43. }
  44. &:last-child {
  45. margin-right: 0px;
  46. }
  47. }
  48. }
  49. .left, .stats, .right {
  50. float: left;
  51. height: 440px;
  52. }
  53. .left, .right, .itemList, .runes {
  54. width: 96px;
  55. padding: 8px;
  56. .slot {
  57. width: 80px;
  58. height: 80px;
  59. background-color: @blackD;
  60. margin-bottom: 8px;
  61. cursor: pointer;
  62. padding: 8px;
  63. &:last-child {
  64. margin-bottom: 0px;
  65. }
  66. &.show-default-icon {
  67. .icon {
  68. opacity: 0.5;
  69. background-image: url('../../../images/uiIcons.png') !important;
  70. }
  71. &[slot="head"] .icon { background-position: -0px -448px; }
  72. &[slot="neck"] .icon { background-position: -64px -448px; }
  73. &[slot="chest"] .icon { background-position: -128px -448px; }
  74. &[slot="hands"] .icon { background-position: -192px -448px; }
  75. &[slot="finger"] .icon { background-position: -256px -448px; }
  76. &[slot="waist"] .icon { background-position: -320px -448px; }
  77. &[slot="legs"] .icon { background-position: -384px -448px; }
  78. &[slot="feet"] .icon { background-position: -448px -448px; }
  79. &[slot="trinket"] .icon { background-position: -448px -384px; }
  80. &[slot="twoHanded"] .icon { background-position: -384px -384px; }
  81. &[slot^="rune"] .icon { background-position: -320px -384px; }
  82. }
  83. .icon {
  84. height: 100%;
  85. }
  86. &:hover {
  87. .icon {
  88. filter: brightness(160%);
  89. }
  90. &.empty {
  91. background-color: fade(@blueA, 10%);
  92. }
  93. }
  94. }
  95. }
  96. .middle {
  97. float: left;
  98. width: calc(100% - (2 * 96px));
  99. .stats {
  100. width: 100%;
  101. padding-top: 16px;
  102. height: calc(440px - 80px);
  103. .stat {
  104. height: 22px;
  105. filter:
  106. drop-shadow(0px -2px 0px @blackD)
  107. drop-shadow(0px 2px 0px @blackD)
  108. drop-shadow(2px 0px 0px @blackD)
  109. drop-shadow(-2px 0px 0px @blackD);
  110. &.blueText > font {
  111. color: @blue;
  112. }
  113. &.empty {
  114. height: 22px;
  115. }
  116. &.gold {
  117. font {
  118. color: @yellowB;
  119. }
  120. }
  121. }
  122. }
  123. .runes {
  124. width: 100%;
  125. height: 80px;
  126. padding-left: calc((100% - (80px * 2) - 8px) / 2);
  127. .slot {
  128. float: left;
  129. margin-right: 8px;
  130. &:last-child {
  131. margin-right: 0px;
  132. }
  133. }
  134. }
  135. }
  136. .itemList {
  137. display: none;
  138. position: absolute;
  139. left: 0px;
  140. top: 0px;
  141. width: 100%;
  142. height: 100%;
  143. background-color: @blackC;
  144. padding: 0px;
  145. .slot {
  146. float: left;
  147. margin: 8px 0px 0px 8px;
  148. .icon {
  149. position: relative;
  150. &.eq {
  151. &:before {
  152. content: 'eq';
  153. left: -2px;
  154. bottom: -3px;
  155. position: absolute;
  156. color: @white;
  157. filter:
  158. drop-shadow(0px -2px 0px @blackD)
  159. drop-shadow(0px 2px 0px @blackD)
  160. drop-shadow(2px 0px 0px @blackD)
  161. drop-shadow(-2px 0px 0px @blackD);
  162. }
  163. }
  164. }
  165. }
  166. }
  167. }
  168. }