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.
 
 
 

246 lines
3.6 KiB

  1. @import "../../../css/colors.less";
  2. @boxHeight: 276px;
  3. @boxPadding: 27px;
  4. @logoWidth: 559px;
  5. @logoHeight: 200px;
  6. @messageHeight: @boxPadding;
  7. @totalWidth: (@logoWidth + (@boxPadding * 2) + 427px);
  8. @totalHeight: (@logoHeight + @boxHeight + (@boxPadding * 3) + @messageHeight);
  9. .uiCreateCharacter {
  10. width: @totalWidth;
  11. height: @totalHeight;
  12. .logo {
  13. width: 562px;
  14. height: @logoHeight;
  15. margin-left: ((@totalWidth / 2) - (@logoWidth / 2));
  16. margin-bottom: (@boxPadding * 2);
  17. }
  18. .box-left {
  19. float: left;
  20. height: @boxHeight;
  21. width: 613px;
  22. background-color: #3a3b4a;
  23. .left, .right {
  24. float: left;
  25. height: 100%;
  26. }
  27. .left {
  28. width: calc(100% - (@boxPadding * 2) - 160px);
  29. padding: @boxPadding 0px @boxPadding @boxPadding;
  30. .txtClass, .txtCostume {
  31. cursor: pointer;
  32. -webkit-user-select: none;
  33. &:active {
  34. background-color: @blackC;
  35. }
  36. }
  37. .txtClass {
  38. }
  39. .label {
  40. color: @grayB;
  41. text-align: center;
  42. margin-bottom: 8.3px;
  43. }
  44. .skinBox {
  45. display: flex;
  46. flex-direction: row;
  47. height: 35px;
  48. .btn {
  49. width: 35px;
  50. margin: 0px;
  51. flex-shrink: 0;
  52. height: 100%;
  53. display: flex;
  54. justify-content: center;
  55. align-items: center;
  56. padding: 0px;
  57. background-color: @grayD;
  58. &:first-child {
  59. margin-right: 10px;
  60. }
  61. &:last-child {
  62. margin-left: 10px;
  63. }
  64. &:hover {
  65. background-color: @grayC;
  66. }
  67. }
  68. .txtCostume {
  69. height: 100%;
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. padding: 0px;
  74. }
  75. }
  76. }
  77. .right {
  78. width: calc(160px + (@boxPadding * 2));
  79. padding: @boxPadding @boxPadding @boxPadding @boxPadding;
  80. }
  81. .portrait {
  82. width: 100%;
  83. height: 160px;
  84. background-color: @black;
  85. padding: 16px 0 0 16px;
  86. margin-bottom: @boxPadding;
  87. .sprite {
  88. width: 8px;
  89. height: 8px;
  90. transform: scale(16);
  91. transform-origin: 0% 0%;
  92. image-rendering: optimizeSpeed;
  93. image-rendering: pixelated;
  94. image-rendering: crisp-edges;
  95. }
  96. }
  97. .textbox {
  98. width: 100%;
  99. background-color: @black;
  100. border: 2px solid @grayC;
  101. color: @white;
  102. margin-bottom: 22px;
  103. }
  104. .btn {
  105. background-color: @blueC;
  106. width: calc((100% - @boxPadding) / 2);
  107. float: left;
  108. margin-right: @boxPadding;
  109. color: @white;
  110. &:last-child {
  111. margin-right: 0px;
  112. }
  113. &:hover {
  114. background-color: @blueB;
  115. }
  116. }
  117. .message {
  118. height: @messageHeight;
  119. width: 100%;
  120. margin-top: @boxPadding;
  121. float: left;
  122. text-align: center;
  123. color: @redA;
  124. }
  125. }
  126. .box-right {
  127. padding: @boxPadding @boxPadding @boxPadding @boxPadding;
  128. float: left;
  129. height: @boxHeight;
  130. width: 400px;
  131. margin-left: 13px;
  132. background-color: #3a3b4a;
  133. .top {
  134. width: 100%;
  135. color: @white;
  136. > * {
  137. width: 100%;
  138. text-align: center;
  139. }
  140. .heading {
  141. margin-bottom: @boxPadding;
  142. color: @blueA;
  143. }
  144. .list {
  145. .prophecy {
  146. padding-top: 0px;
  147. width: 50%;
  148. float: left;
  149. height: 24px;
  150. margin-bottom: 24px;
  151. color: @redA;
  152. cursor: pointer;
  153. &:after {
  154. content: ' ✗';
  155. }
  156. &.active {
  157. color: @greenA;
  158. &:after {
  159. content: ' ✔';
  160. }
  161. }
  162. &.disabled {
  163. color: @white;
  164. }
  165. &:hover {
  166. color: @white;
  167. }
  168. }
  169. }
  170. }
  171. }
  172. }
  173. .mobile .uiCreateCharacter {
  174. height: 276px;
  175. width: calc(@totalWidth - 80px);
  176. display: flex;
  177. flex-direction: row;
  178. flex-wrap: wrap;
  179. justify-content: center;
  180. .logo {
  181. display: none;
  182. }
  183. .box-left {
  184. width: 45%;
  185. .skinBox {
  186. height: 35px;
  187. }
  188. }
  189. .box-right {
  190. width: 45%;
  191. }
  192. }