chat.css 1.8 KB

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