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.
 
 
 

152 lines
1.9 KiB

  1. @import "../../../css/ui.less";
  2. @pad: 8px;
  3. @btnSize: 64px;
  4. .uiMessages {
  5. position: absolute;
  6. left: 10px;
  7. bottom: 10px;
  8. width: 480px;
  9. padding: @pad;
  10. pointer-events: none;
  11. &.typing {
  12. .el.message {
  13. display: block;
  14. }
  15. .filters {
  16. pointer-events: all;
  17. display: block;
  18. }
  19. .list {
  20. overflow-y: auto;
  21. background-color: @darkGray;
  22. .list-message {
  23. filter: none;
  24. }
  25. }
  26. }
  27. &.active {
  28. .list-message {
  29. opacity: 1 !important;
  30. }
  31. }
  32. .filters {
  33. display: none;
  34. width: 100%;
  35. height: 26px;
  36. margin-bottom: 10px;
  37. .filter {
  38. height: 100%;
  39. background-color: @blackC;
  40. float: left;
  41. color: @blackA;
  42. margin-right: 10px;
  43. padding: 5px 10px;
  44. cursor: pointer;
  45. &:hover {
  46. background-color: @blackB;
  47. color: @grayD;
  48. }
  49. &.active {
  50. background-color: @blackB;
  51. color: @green;
  52. &:hover {
  53. background-color: @blackA;
  54. color: @grayB;
  55. }
  56. }
  57. }
  58. }
  59. .list {
  60. overflow-y: hidden;
  61. width: 100%;
  62. max-height: 320px;
  63. .list-message {
  64. width: 100%;
  65. padding: 5px 10px;
  66. color: white;
  67. filter:
  68. drop-shadow(0px -2px 0px @blackD)
  69. drop-shadow(0px 2px 0px @blackD)
  70. drop-shadow(2px 0px 0px @blackD)
  71. drop-shadow(-2px 0px 0px @blackD);
  72. word-wrap: break-word;
  73. line-height: 18px;
  74. &.q0 {
  75. color: @white;
  76. }
  77. &.q1 {
  78. color: @blue;
  79. }
  80. a, &.q2 {
  81. color: @yellow;
  82. }
  83. &.q3 {
  84. color: @purple;
  85. }
  86. &.q4 {
  87. color: @orange;
  88. }
  89. &.color-green {
  90. color: @green;
  91. }
  92. &.color-red {
  93. color: @red;
  94. }
  95. &.color-cyan {
  96. color: @blueA;
  97. }
  98. display: none;
  99. }
  100. &.rep .list-message.rep {
  101. display: block;
  102. }
  103. &.chat .list-message.chat {
  104. display: block;
  105. }
  106. &.info .list-message.info {
  107. display: block;
  108. }
  109. &.loot .list-message.loot {
  110. display: block;
  111. }
  112. }
  113. .el.message {
  114. display: none;
  115. text-align: left;
  116. background-color: @gray;
  117. width: 100%;
  118. color: @white;
  119. padding: 5px 10px;
  120. }
  121. }