25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

409 satır
6.7 KiB

  1. @import "../../../css/colors.less";
  2. .uiEquipment {
  3. display: none;
  4. z-index: 2;
  5. border: 5px solid @blackB;
  6. text-align: center;
  7. width: 500px;
  8. height: 712px;
  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. .content {
  20. width: 100%;
  21. height: calc(100% - 36px);
  22. background-color: @blackC;
  23. display: flex;
  24. flex-direction: column;
  25. .tabs {
  26. width: 100%;
  27. height: 40px;
  28. padding: 8px 8px 0px 8px;
  29. .tab {
  30. cursor: pointer;
  31. background-color: @blackB;
  32. color: @white;
  33. margin-right: 8px;
  34. float: left;
  35. height: 100%;
  36. padding-top: 8px;
  37. padding-left: 8px;
  38. padding-right: 8px;
  39. width: calc((100% - 24px) / 4);
  40. &:hover {
  41. background-color: @blackA;
  42. }
  43. &.selected {
  44. background-color: @blackA;
  45. color: @blueA;
  46. }
  47. &:last-child {
  48. margin-right: 0px;
  49. }
  50. }
  51. }
  52. .main {
  53. height: 528px;
  54. display: flex;
  55. flex-direction: column;
  56. flex-wrap: wrap;
  57. .left,
  58. .right {
  59. width: 96px;
  60. padding: 8px;
  61. }
  62. .left,
  63. .stats,
  64. .right,
  65. .bottom {
  66. height: 528px;
  67. }
  68. .stats {
  69. height: calc(528px - 80px);
  70. width: calc(100% - (2 * 96px));
  71. padding: 16px 8px 8px 8px;
  72. .stat {
  73. height: 22px;
  74. filter: drop-shadow(0px -2px 0px @blackD)
  75. drop-shadow(0px 2px 0px @blackD)
  76. drop-shadow(2px 0px 0px @blackD)
  77. drop-shadow(-2px 0px 0px @blackD);
  78. -moz-filter: drop-shadow(0px -2px 0px @blackD)
  79. drop-shadow(0px 2px 0px @blackD)
  80. drop-shadow(2px 0px 0px @blackD)
  81. drop-shadow(-2px 0px 0px @blackD);
  82. &.blueText > font {
  83. color: @blueB;
  84. }
  85. &.empty {
  86. height: 22px;
  87. }
  88. &.gold {
  89. font {
  90. color: @yellowB;
  91. }
  92. }
  93. }
  94. }
  95. .quick {
  96. width: calc(100% - (2 * 96px));
  97. height: 80px;
  98. padding: 0px;
  99. display: flex;
  100. justify-content: center;
  101. .slot {
  102. }
  103. }
  104. }
  105. .runes {
  106. display: flex;
  107. flex-direction: row;
  108. justify-content: space-between;
  109. width: 100%;
  110. height: 80px;
  111. padding: 8px;
  112. .slot {
  113. &:last-child {
  114. margin-right: 0px;
  115. }
  116. }
  117. }
  118. .left,
  119. .right,
  120. .itemList,
  121. .runes,
  122. .tools,
  123. .quick {
  124. .slot {
  125. width: 80px;
  126. height: 80px;
  127. background-color: @blackD;
  128. margin-bottom: 8px;
  129. cursor: pointer;
  130. padding: 8px;
  131. position: relative;
  132. &:last-child {
  133. margin-bottom: 0px;
  134. }
  135. &.show-default-icon {
  136. .icon {
  137. opacity: 0.5;
  138. background-image: url('../../../images/uiIcons.png') !important;
  139. }
  140. &[slot="head"] .icon {
  141. background-position: -0px -448px;
  142. }
  143. &[slot="neck"] .icon {
  144. background-position: -64px -448px;
  145. }
  146. &[slot="chest"] .icon {
  147. background-position: -128px -448px;
  148. }
  149. &[slot="hands"] .icon {
  150. background-position: -192px -448px;
  151. }
  152. &[slot="finger-1"] .icon {
  153. background-position: -256px -448px;
  154. }
  155. &[slot="finger-2"] .icon {
  156. background-position: -256px -448px;
  157. }
  158. &[slot="waist"] .icon {
  159. background-position: -320px -448px;
  160. }
  161. &[slot="legs"] .icon {
  162. background-position: -384px -448px;
  163. }
  164. &[slot="feet"] .icon {
  165. background-position: -448px -448px;
  166. }
  167. &[slot="trinket"] .icon {
  168. background-position: -448px -384px;
  169. }
  170. &[slot="oneHanded"] .icon {
  171. background-position: -384px -384px;
  172. }
  173. &[slot="offHand"] .icon {
  174. background-position: -192px -384px;
  175. }
  176. &[slot="tool"] .icon {
  177. background-position: -256px -384px;
  178. }
  179. &[slot^="rune"] .icon {
  180. background-position: -320px -384px;
  181. }
  182. &[slot^="quick-0"] .icon {
  183. background-position: -128px -384px;
  184. }
  185. }
  186. .icon {
  187. height: 100%;
  188. }
  189. .info {
  190. left: 6px;
  191. bottom: 3px;
  192. position: absolute;
  193. color: @white;
  194. filter: drop-shadow(0px -2px 0px @blackD)
  195. drop-shadow(0px 2px 0px @blackD)
  196. drop-shadow(2px 0px 0px @blackD)
  197. drop-shadow(-2px 0px 0px @blackD);
  198. -moz-filter: drop-shadow(0px -2px 0px @blackD)
  199. drop-shadow(0px 2px 0px @blackD)
  200. drop-shadow(2px 0px 0px @blackD)
  201. drop-shadow(-2px 0px 0px @blackD);
  202. }
  203. &:hover {
  204. .icon {
  205. filter: brightness(160%);
  206. -moz-filter: brightness(160%);
  207. }
  208. &.empty {
  209. background-color: fade(@blueA, 10%);
  210. }
  211. }
  212. }
  213. }
  214. .itemList {
  215. display: none;
  216. position: absolute;
  217. left: 0px;
  218. top: 0px;
  219. width: 100%;
  220. height: 100%;
  221. background-color: @blackC;
  222. padding: 0px;
  223. z-index: 2;
  224. overflow-y: auto;
  225. .slot {
  226. float: left;
  227. margin: 8px 0px 0px 8px;
  228. .icon {
  229. position: relative;
  230. &.eq {
  231. &:before {
  232. content: 'eq';
  233. left: -2px;
  234. bottom: -3px;
  235. position: absolute;
  236. color: @white;
  237. filter: drop-shadow(0px -2px 0px @blackD)
  238. drop-shadow(0px 2px 0px @blackD)
  239. drop-shadow(2px 0px 0px @blackD)
  240. drop-shadow(-2px 0px 0px @blackD);
  241. -moz-filter: drop-shadow(0px -2px 0px @blackD)
  242. drop-shadow(0px 2px 0px @blackD)
  243. drop-shadow(2px 0px 0px @blackD)
  244. drop-shadow(-2px 0px 0px @blackD);
  245. }
  246. }
  247. &.new {
  248. &:before {
  249. content: 'new';
  250. left: -2px;
  251. bottom: -3px;
  252. position: absolute;
  253. color: @white;
  254. filter: drop-shadow(0px -2px 0px @blackD)
  255. drop-shadow(0px 2px 0px @blackD)
  256. drop-shadow(2px 0px 0px @blackD)
  257. drop-shadow(-2px 0px 0px @blackD);
  258. -moz-filter: drop-shadow(0px -2px 0px @blackD)
  259. drop-shadow(0px 2px 0px @blackD)
  260. drop-shadow(2px 0px 0px @blackD)
  261. drop-shadow(-2px 0px 0px @blackD);
  262. }
  263. }
  264. }
  265. }
  266. }
  267. }
  268. }
  269. .mobile .uiEquipment {
  270. width: calc(100% - 10px);
  271. height: calc(100% - 10px);
  272. margin-left: -5px;
  273. margin-top: -5px;
  274. .content {
  275. flex-direction: column;
  276. flex-wrap: wrap;
  277. position: relative;
  278. .main {
  279. width: calc(100% - 8px);
  280. height: calc(100% - 130px);
  281. padding: 8px 8px 0px 8px;
  282. justify-content: space-between;
  283. position: relative;
  284. .left,
  285. .right,
  286. .quick {
  287. display: flex;
  288. flex-direction: row;
  289. justify-content: space-between;
  290. width: 70%;
  291. height: calc(100% / 3);
  292. .slot {
  293. margin-bottom: 0px;
  294. }
  295. }
  296. .stats {
  297. width: 30%;
  298. height: calc(100% + 74px);
  299. overflow-y: auto;
  300. position: absolute;
  301. right: 0px;
  302. }
  303. .quick {
  304. order: 3;
  305. justify-content: center;
  306. padding: 0px 8px 0px 0px;
  307. }
  308. .left {
  309. padding: 0px 8px 0px 0px;
  310. }
  311. .right {
  312. order: 2;
  313. padding: 0px 8px 0px 0px;
  314. }
  315. }
  316. .runes {
  317. flex-direction: row;
  318. width: calc((100% - 16px) * 0.7);
  319. position: absolute;
  320. left: 1px;
  321. bottom: 8px;
  322. padding: 0px 8px 0px 8px;
  323. }
  324. }
  325. }