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.
 
 
 

392 lines
5.4 KiB

  1. @import "colors.less";
  2. body,
  3. html {
  4. position: fixed;
  5. overflow: hidden;
  6. overscroll-behavior: none;
  7. }
  8. body {
  9. margin: 0px;
  10. width: 100vw;
  11. height: 100vh;
  12. background-color: @black;
  13. }
  14. .ui-container {
  15. width: 100%;
  16. height: 100%;
  17. position: absolute;
  18. left: 0px;
  19. top: 0px;
  20. z-index: 20;
  21. overflow: hidden;
  22. display: flex;
  23. justify-content: center;
  24. align-items: center;
  25. > .right {
  26. position: absolute;
  27. right: 10px;
  28. top: 94px;
  29. }
  30. &.mobile {
  31. .uiTooltipInfo {
  32. display: none !important;
  33. }
  34. }
  35. &.hideMonetization .monetization {
  36. display: none;
  37. }
  38. }
  39. .mobile.ui-container > .right {
  40. top: 10px;
  41. right: 158px;
  42. z-index: 2;
  43. display: flex;
  44. flex-direction: row-reverse;
  45. }
  46. * {
  47. box-sizing: border-box;
  48. font-family: bitty;
  49. -webkit-touch-callout: none;
  50. -webkit-user-select: none;
  51. -khtml-user-select: none;
  52. -moz-user-select: none;
  53. -ms-user-select: none;
  54. user-select: none;
  55. }
  56. .canvas-container {
  57. position: relative;
  58. float: left;
  59. &.visible {
  60. opacity: 1;
  61. transition: 1s;
  62. }
  63. canvas {
  64. left: 0px;
  65. top: 0px;
  66. width: 100vw;
  67. }
  68. }
  69. .disabled {
  70. opacity: 0.4 !important;
  71. pointer-events: none !important;
  72. }
  73. .hidden {
  74. display: none !important;
  75. }
  76. [class^="ui"] {
  77. input,
  78. textarea {
  79. -webkit-user-select: text;
  80. -khtml-user-select: text;
  81. -moz-user-select: text;
  82. -ms-user-select: text;
  83. user-select: text;
  84. }
  85. .el {
  86. height: 35px;
  87. text-align: center;
  88. padding: 0px 0px 0px 0px;
  89. background-color: transparent;
  90. }
  91. .textbox {
  92. border: none;
  93. outline: none;
  94. font-size: 16px;
  95. }
  96. div.textbox {
  97. padding-top: 6px;
  98. }
  99. .btn {
  100. cursor: pointer;
  101. display: flex;
  102. justify-content: center;
  103. align-items: center;
  104. &:hover {
  105. background-color: lighten(@black, 10%);
  106. }
  107. }
  108. .spacer-h {
  109. width: 100%;
  110. }
  111. &.modal {
  112. .btnClose {
  113. position: absolute;
  114. background-color: @blackA;
  115. color: @orangeA;
  116. cursor: pointer;
  117. height: 31px;
  118. width: 31px;
  119. text-align: center;
  120. right: 0px;
  121. top: 0px;
  122. padding-top: 0px;
  123. display: flex;
  124. justify-content: center;
  125. align-items: center;
  126. &:hover {
  127. background-color: lighten(@blackA, 10%);
  128. }
  129. }
  130. }
  131. }
  132. ::-webkit-scrollbar {
  133. width: 16px;
  134. }
  135. ::-webkit-scrollbar-track {
  136. background-color: @blackB;
  137. -webkit-border-radius: 0px;
  138. border-radius: 0px;
  139. }
  140. ::-webkit-scrollbar-thumb {
  141. -webkit-border-radius: 10px;
  142. border-radius: 0px;
  143. background: @grayC;
  144. }
  145. :root {
  146. scrollbar-color: @grayC @blackB !important;
  147. scrollbar-width: thin !important;
  148. --color-element-default: @white;
  149. --color-element-arcane: @pinkA;
  150. --color-element-frost: @blueA;
  151. --color-element-fire: @redA;
  152. --color-element-holy: @yellowA;
  153. --color-element-poison: @tealB;
  154. }
  155. .q0 {
  156. color: @qualityCommon;
  157. }
  158. .q1 {
  159. color: @qualityMagic;
  160. }
  161. .q2 {
  162. color: @qualityRare;
  163. }
  164. .q3 {
  165. color: @qualityEpic;
  166. }
  167. .q4 {
  168. color: @qualityLegendary;
  169. }
  170. .chat-style-white {
  171. color: @white !important;
  172. }
  173. .chat-style-cyan {
  174. color: @blueA !important;
  175. }
  176. .color-red {
  177. color: @redB !important;
  178. }
  179. .color-redA {
  180. color: @redA !important;
  181. }
  182. .color-blueA {
  183. color: @blueA !important;
  184. }
  185. .color-blueB {
  186. color: @blueB !important;
  187. }
  188. .color-greenB {
  189. color: @greenB !important;
  190. }
  191. .color-yellowB {
  192. color: @yellowB !important;
  193. }
  194. .color-green {
  195. color: @greenA !important;
  196. }
  197. .color-brownC {
  198. color: @brownC !important;
  199. }
  200. .color-brownD {
  201. color: @brownD !important;
  202. }
  203. .color-grayA {
  204. color: @white !important;
  205. }
  206. .color-grayB {
  207. color: @grayB !important;
  208. }
  209. .color-grayC {
  210. color: @grayC !important;
  211. }
  212. .color-grayD {
  213. color: @grayD !important;
  214. }
  215. .color-pinkA {
  216. color: @pinkA !important;
  217. }
  218. .color-pinkB {
  219. color: @pinkB !important;
  220. }
  221. .color-purpleA {
  222. color: @purpleA !important;
  223. }
  224. .color-tealB {
  225. color: @tealB !important;
  226. }
  227. [class^="ui"] .renderItem {
  228. width: 72px;
  229. height: 72px;
  230. float: left;
  231. position: relative;
  232. cursor: pointer;
  233. box-sizing: border-box;
  234. margin: 4px;
  235. background-color: @blackD;
  236. &.hover {
  237. background-color: fade(@blueA, 10%);
  238. }
  239. &.dragging {
  240. position: absolute;
  241. opacity: 0.5;
  242. pointer-events: none;
  243. background-color: transparent;
  244. .icon {
  245. filter: brightness(100%)
  246. drop-shadow(0px -4px 0px @blackD)
  247. drop-shadow(0px 4px 0px @blackD)
  248. drop-shadow(4px 0px 0px @blackD)
  249. drop-shadow(-4px 0px 0px @blackD);
  250. -moz-filter: brightness(100%)
  251. drop-shadow(0px -4px 0px @blackD)
  252. drop-shadow(0px 4px 0px @blackD)
  253. drop-shadow(4px 0px 0px @blackD)
  254. drop-shadow(-4px 0px 0px @blackD);
  255. }
  256. }
  257. .quantity {
  258. left: 6px;
  259. bottom: 3px;
  260. position: absolute;
  261. color: @white;
  262. filter: drop-shadow(0px -2px 0px @blackD)
  263. drop-shadow(0px 2px 0px @blackD)
  264. drop-shadow(2px 0px 0px @blackD)
  265. drop-shadow(-2px 0px 0px @blackD);
  266. -moz-filter: drop-shadow(0px -2px 0px @blackD)
  267. drop-shadow(0px 2px 0px @blackD)
  268. drop-shadow(2px 0px 0px @blackD)
  269. drop-shadow(-2px 0px 0px @blackD);
  270. }
  271. .icon {
  272. width: 64px;
  273. height: 64px;
  274. position: absolute;
  275. left: 4px;
  276. top: 4px;
  277. image-rendering: optimizeSpeed;
  278. image-rendering: pixelated;
  279. image-rendering: crisp-edges;
  280. transform-origin: 0 0;
  281. }
  282. &.eq {
  283. .quantity {
  284. color: @yellowA;
  285. }
  286. }
  287. &.new {
  288. .quantity {
  289. color: @greenA;
  290. }
  291. }
  292. &:hover {
  293. .icon {
  294. filter: brightness(160%);
  295. -moz-filter: brightness(160%);
  296. }
  297. }
  298. &.spriteSize8 {
  299. .icon {
  300. transform: scale(4);
  301. -webkit-transform: scale(4);
  302. margin: 16px;
  303. }
  304. }
  305. &.spriteSize24 {
  306. .icon {
  307. transform: scale(4);
  308. -webkit-transform: scale(4);
  309. margin: -44px -16px;
  310. }
  311. }
  312. }
  313. .hasBorderShadow {
  314. box-shadow: 0 -2px 0 @black, 0 2px 0 @black, 2px 0 0 @black, -2px 0 0 @black;
  315. }