Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

227 řádky
3.6 KiB

  1. @import "../../../css/ui.less";
  2. .uiInventory {
  3. display: none;
  4. z-index: 2;
  5. width: 818px;
  6. border: 5px solid @blackB;
  7. text-align: center;
  8. > .heading {
  9. color: @blueA;
  10. width: 100%;
  11. height: 36px;
  12. background-color: @blackB;
  13. .heading-text {
  14. padding-top: 8px;
  15. margin: auto;
  16. }
  17. }
  18. position: relative;
  19. .grid {
  20. float: left;
  21. width: 808px;
  22. height: 408px;
  23. overflow: hidden;
  24. padding: 4px;
  25. position: relative;
  26. background-color: @blackC;
  27. .item {
  28. width: 72px;
  29. height: 72px;
  30. float: left;
  31. position: relative;
  32. cursor: pointer;
  33. box-sizing: border-box;
  34. margin: 4px;
  35. background-color: @blackD;
  36. &.hover {
  37. background-color: fade(@blueA, 10%);
  38. }
  39. &.dragging {
  40. position: absolute;
  41. opacity: 0.5;
  42. pointer-events: none;
  43. background-color: transparent;
  44. .icon {
  45. filter:
  46. brightness(100%)
  47. drop-shadow(0px -4px 0px @blackD)
  48. drop-shadow(0px 4px 0px @blackD)
  49. drop-shadow(4px 0px 0px @blackD)
  50. drop-shadow(-4px 0px 0px @blackD);
  51. -moz-filter:
  52. brightness(100%)
  53. drop-shadow(0px -4px 0px @blackD)
  54. drop-shadow(0px 4px 0px @blackD)
  55. drop-shadow(4px 0px 0px @blackD)
  56. drop-shadow(-4px 0px 0px @blackD);
  57. }
  58. }
  59. .quantity {
  60. left: 6px;
  61. bottom: 3px;
  62. position: absolute;
  63. color: @white;
  64. filter:
  65. drop-shadow(0px -2px 0px @blackD)
  66. drop-shadow(0px 2px 0px @blackD)
  67. drop-shadow(2px 0px 0px @blackD)
  68. drop-shadow(-2px 0px 0px @blackD);
  69. -moz-filter:
  70. drop-shadow(0px -2px 0px @blackD)
  71. drop-shadow(0px 2px 0px @blackD)
  72. drop-shadow(2px 0px 0px @blackD)
  73. drop-shadow(-2px 0px 0px @blackD);
  74. }
  75. .icon {
  76. width: 64px;
  77. height: 64px;
  78. position: absolute;
  79. left: 4px;
  80. top: 4px;
  81. }
  82. &.eq {
  83. .quantity {
  84. color: @yellow;
  85. }
  86. }
  87. &.new {
  88. .quantity {
  89. color: @green;
  90. }
  91. }
  92. &:hover {
  93. .icon {
  94. filter: brightness(160%);
  95. -moz-filter: brightness(160%);
  96. }
  97. }
  98. }
  99. }
  100. .split-box {
  101. display: none;
  102. background-color: fade(@blackD, 85%);
  103. text-align: center;
  104. position: absolute;
  105. left: 0%;
  106. top: 0%;
  107. width: 100%;
  108. height: 100%;
  109. .inner {
  110. border: 5px solid @blackB;
  111. position: absolute;
  112. left: 50%;
  113. top: 50%;
  114. transform: translate(-50%, -50%);
  115. width: 200px;
  116. height: 143px;
  117. > .heading {
  118. color: @blueA;
  119. width: 100%;
  120. height: 36px;
  121. background-color: @blackB;
  122. .heading-text {
  123. padding-top: 8px;
  124. margin: auto;
  125. }
  126. }
  127. .bottom {
  128. height: calc(100% - 36px);
  129. background-color: @blackC;
  130. padding: 10px;
  131. .amount {
  132. color: @white;
  133. text-align: center;
  134. width: 100%;
  135. height: 36px;
  136. padding-top: 8px;
  137. }
  138. .button {
  139. width: 100%;
  140. height: 36px;
  141. margin-top: 5px;
  142. background-color: @blueC;
  143. color: @white;
  144. &:hover {
  145. background-color: @blueB;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. .tooltip {
  152. display: none;
  153. position: absolute;
  154. border: 4px solid lighten(@blackA, 20%);
  155. margin-left: -4px;
  156. margin-top: -4px;
  157. background-color: fade(@blackD, 95%);
  158. pointer-events: none;
  159. padding: 6px;
  160. color: white;
  161. text-align: center;
  162. width: 212px;
  163. line-height: 18px;
  164. .name {
  165. margin-bottom: 8px;
  166. }
  167. .stats {
  168. color: darken(@white, 20%);
  169. margin-bottom: 8px;
  170. .gainStat {
  171. color: @green;
  172. }
  173. .loseStat {
  174. color: @red;
  175. }
  176. }
  177. .level {
  178. color: darken(@white, 40%);
  179. }
  180. .material {
  181. color: darken(@white, 40%);
  182. display: none;
  183. }
  184. .info {
  185. color: darken(@white, 60%);
  186. }
  187. &.no-compare .info {
  188. display: none;
  189. }
  190. }
  191. }