Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

384 строки
5.3 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. .color-red {
  171. color: @redB !important;
  172. }
  173. .color-redA {
  174. color: @redA !important;
  175. }
  176. .color-blueA {
  177. color: @blueA !important;
  178. }
  179. .color-blueB {
  180. color: @blueB !important;
  181. }
  182. .color-greenB {
  183. color: @greenB !important;
  184. }
  185. .color-yellowB {
  186. color: @yellowB !important;
  187. }
  188. .color-green {
  189. color: @greenA !important;
  190. }
  191. .color-brownC {
  192. color: @brownC !important;
  193. }
  194. .color-brownD {
  195. color: @brownD !important;
  196. }
  197. .color-grayA {
  198. color: @white !important;
  199. }
  200. .color-grayB {
  201. color: @grayB !important;
  202. }
  203. .color-grayC {
  204. color: @grayC !important;
  205. }
  206. .color-grayD {
  207. color: @grayD !important;
  208. }
  209. .color-pinkA {
  210. color: @pinkA !important;
  211. }
  212. .color-pinkB {
  213. color: @pinkB !important;
  214. }
  215. .color-purpleA {
  216. color: @purpleA !important;
  217. }
  218. .color-tealB {
  219. color: @tealB !important;
  220. }
  221. [class^="ui"] .renderItem {
  222. width: 72px;
  223. height: 72px;
  224. float: left;
  225. position: relative;
  226. cursor: pointer;
  227. box-sizing: border-box;
  228. margin: 4px;
  229. background-color: @blackD;
  230. &.hover {
  231. background-color: fade(@blueA, 10%);
  232. }
  233. &.dragging {
  234. position: absolute;
  235. opacity: 0.5;
  236. pointer-events: none;
  237. background-color: transparent;
  238. .icon {
  239. filter: brightness(100%)
  240. drop-shadow(0px -4px 0px @blackD)
  241. drop-shadow(0px 4px 0px @blackD)
  242. drop-shadow(4px 0px 0px @blackD)
  243. drop-shadow(-4px 0px 0px @blackD);
  244. -moz-filter: brightness(100%)
  245. drop-shadow(0px -4px 0px @blackD)
  246. drop-shadow(0px 4px 0px @blackD)
  247. drop-shadow(4px 0px 0px @blackD)
  248. drop-shadow(-4px 0px 0px @blackD);
  249. }
  250. }
  251. .quantity {
  252. left: 6px;
  253. bottom: 3px;
  254. position: absolute;
  255. color: @white;
  256. filter: drop-shadow(0px -2px 0px @blackD)
  257. drop-shadow(0px 2px 0px @blackD)
  258. drop-shadow(2px 0px 0px @blackD)
  259. drop-shadow(-2px 0px 0px @blackD);
  260. -moz-filter: drop-shadow(0px -2px 0px @blackD)
  261. drop-shadow(0px 2px 0px @blackD)
  262. drop-shadow(2px 0px 0px @blackD)
  263. drop-shadow(-2px 0px 0px @blackD);
  264. }
  265. .icon {
  266. width: 64px;
  267. height: 64px;
  268. position: absolute;
  269. left: 4px;
  270. top: 4px;
  271. image-rendering: optimizeSpeed;
  272. image-rendering: pixelated;
  273. image-rendering: crisp-edges;
  274. transform-origin: 0 0;
  275. }
  276. &.eq {
  277. .quantity {
  278. color: @yellowA;
  279. }
  280. }
  281. &.new {
  282. .quantity {
  283. color: @greenA;
  284. }
  285. }
  286. &:hover {
  287. .icon {
  288. filter: brightness(160%);
  289. -moz-filter: brightness(160%);
  290. }
  291. }
  292. &.spriteSize8 {
  293. .icon {
  294. transform: scale(4);
  295. -webkit-transform: scale(4);
  296. margin: 16px;
  297. }
  298. }
  299. &.spriteSize24 {
  300. .icon {
  301. transform: scale(4);
  302. -webkit-transform: scale(4);
  303. margin: -44px -16px;
  304. }
  305. }
  306. }
  307. .hasBorderShadow {
  308. box-shadow: 0 -2px 0 @black, 0 2px 0 @black, 2px 0 0 @black, -2px 0 0 @black;
  309. }