Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 

153 rader
2.4 KiB

  1. @import "../../../css/colors.less";
  2. @leftWidth: 400px;
  3. @rightWidth: 400px;
  4. @boxPadding: 35px;
  5. @logoWidth: 559px;
  6. @logoHeight: 200px;
  7. @boxHeight: 300px;
  8. @messageHeight: @boxPadding;
  9. @totalWidth: (@leftWidth + @rightWidth + @boxPadding);
  10. @totalHeight: (@logoHeight + @boxHeight + (@boxPadding * 3) + @messageHeight);
  11. .uiCharacters {
  12. width: @totalWidth;
  13. height: @totalHeight;
  14. .logo {
  15. width: 562px;
  16. height: @logoHeight;
  17. margin-left: ((@totalWidth / 2) - (@logoWidth / 2));
  18. margin-bottom: (@boxPadding * 2);
  19. }
  20. .left, .right {
  21. height: @boxHeight;
  22. float: left;
  23. background-color: #3a3b4a;
  24. }
  25. .left {
  26. width: @leftWidth;
  27. overflow-y: auto;
  28. .character {
  29. height: 50px;
  30. width: 100%;
  31. text-align: center;
  32. color: @white;
  33. padding: 17px 0px 0px 0px;
  34. cursor: pointer;
  35. &:hover {
  36. background-color: fade(@white, 15%);
  37. }
  38. &.selected {
  39. background-color: fade(@white, 25%);
  40. }
  41. }
  42. }
  43. .right {
  44. width: @rightWidth;
  45. padding: 16px;
  46. margin-left: @boxPadding;
  47. .portrait {
  48. width: 100%;
  49. height: 160px;
  50. background-color: @black;
  51. padding: 16px 0 0 120px;
  52. .sprite {
  53. width: 8px;
  54. height: 8px;
  55. transform: scale(16);
  56. transform-origin: 0% 0%;
  57. image-rendering: pixelated;
  58. image-rendering: optimizeSpeed;
  59. image-rendering: crisp-edges;
  60. display: none;
  61. }
  62. }
  63. .info {
  64. height: 57px;
  65. padding-top: 16px;
  66. margin-bottom: 16px;
  67. background-color: @black;
  68. color: @white;
  69. * {
  70. float: left;
  71. padding: 12px 16px;
  72. }
  73. .name {
  74. width: 47%;
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. white-space: nowrap;
  78. }
  79. .class {
  80. width: 53%;
  81. text-align: right;
  82. color: darken(@white, 25%);
  83. }
  84. }
  85. .btn {
  86. background-color: @orangeC;
  87. width: calc((100% - (16px * 2)) / 3);
  88. float: left;
  89. margin-right: 16px;
  90. color: @white;
  91. &:last-child {
  92. margin-right: 0px;
  93. }
  94. &:hover {
  95. background-color: @orangeB;
  96. }
  97. &.deleting {
  98. background-color: @red;
  99. color: @white;
  100. }
  101. }
  102. .spacer-h {
  103. height: 91px;
  104. }
  105. }
  106. .message {
  107. height: @messageHeight;
  108. width: 100%;
  109. margin-top: @boxPadding;
  110. float: left;
  111. text-align: center;
  112. color: @white;
  113. filter:
  114. drop-shadow(0px -2px 0px @blackD)
  115. drop-shadow(0px 2px 0px @blackD)
  116. drop-shadow(2px 0px 0px @blackD)
  117. drop-shadow(-2px 0px 0px @blackD);
  118. }
  119. }
  120. .mobile .uiCharacters {
  121. height: 300px;
  122. .logo {
  123. display: none;
  124. }
  125. }