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.
 
 
 

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