Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 

250 рядки
4.0 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: 147px;
  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. float: left;
  133. color: @white;
  134. text-align: center;
  135. width: calc(100% - 80px);
  136. height: 36px;
  137. padding-top: 3px;
  138. border: none;
  139. }
  140. input, .textbox, input:-webkit-autofill {
  141. color: @white;
  142. -webkit-text-fill-color: @white;
  143. background-color: @blackC;
  144. }
  145. .button {
  146. width: 100%;
  147. height: 36px;
  148. background-color: @blueC;
  149. color: @white;
  150. &:hover {
  151. background-color: @blueB;
  152. }
  153. &:not(.btnSplit) {
  154. width: 40px;
  155. float: left;
  156. color: @white;
  157. background-color: @blackB;
  158. &:hover {
  159. background-color: @blackA;
  160. }
  161. }
  162. &.btnSplit {
  163. margin-top: 45px;
  164. clear: both;
  165. }
  166. }
  167. }
  168. }
  169. }
  170. .tooltip {
  171. display: none;
  172. position: absolute;
  173. border: 4px solid lighten(@blackA, 20%);
  174. margin-left: -4px;
  175. margin-top: -4px;
  176. background-color: fade(@blackD, 95%);
  177. pointer-events: none;
  178. padding: 6px;
  179. color: white;
  180. text-align: center;
  181. width: 212px;
  182. line-height: 18px;
  183. .name {
  184. margin-bottom: 8px;
  185. }
  186. .stats {
  187. color: darken(@white, 20%);
  188. margin-bottom: 8px;
  189. .gainStat {
  190. color: @green;
  191. }
  192. .loseStat {
  193. color: @red;
  194. }
  195. }
  196. .level {
  197. color: darken(@white, 40%);
  198. }
  199. .material {
  200. color: darken(@white, 40%);
  201. display: none;
  202. }
  203. .info {
  204. color: darken(@white, 60%);
  205. }
  206. &.no-compare .info {
  207. display: none;
  208. }
  209. }
  210. }