chat.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. #chatClient {
  2. background-color: #fff;
  3. width: 100vw;
  4. height: inherit;
  5. min-width: 270px;
  6. #chatManager {
  7. position: relative;
  8. height: 44px;
  9. margin-left: calc(var(--bs-gutter-x)*-.5);
  10. margin-right: calc(var(--bs-gutter-x)*-.5);
  11. border-bottom: 1px solid #d2d2d2;
  12. i {
  13. font-size: 14px;
  14. font-style: normal;
  15. padding-right: 7px;
  16. }
  17. span {
  18. color: #333;
  19. }
  20. }
  21. fieldset {
  22. position: relative;
  23. display: block;
  24. height: calc(100% - 44px);
  25. padding-top: 10px;
  26. word-wrap: break-word;
  27. overflow: hidden;
  28. #chatNotice {
  29. display: none;
  30. color: #000;
  31. border: 1px solid #a05289;
  32. font-size: 1rem;
  33. padding: 5px 10px;
  34. background: #ffc623;
  35. }
  36. #chatLog {
  37. height: calc(100% - 60px);
  38. color: #333;
  39. overflow-y: auto;
  40. em {
  41. display: block;
  42. font-style: normal;
  43. font-size: 14px;
  44. line-height: 120%;
  45. color: #222;
  46. padding: 3px;
  47. }
  48. p {
  49. color: #fff;
  50. border: 1px solid #04090a;
  51. border-radius: 2px;
  52. padding: 5px 10px;
  53. margin-bottom: 7px;
  54. &.alert {
  55. background: #379fb0;
  56. }
  57. &.notice {
  58. background: #1c63a8;
  59. }
  60. &.warning {
  61. background: #eab70d;
  62. }
  63. &.failed {
  64. background: #eb490b;
  65. }
  66. }
  67. }
  68. #chatPanel {
  69. height: 60px;
  70. align-items: center;
  71. input[type="text"] {
  72. width: 100%;
  73. padding: 5px;
  74. &:focus-visible {
  75. outline: none;
  76. }
  77. }
  78. button[type="button"] {
  79. border: none;
  80. background-color: #116086;
  81. border-radius: 3px;
  82. color: #fff;
  83. font-weight: bold;
  84. }
  85. }
  86. }
  87. }