main.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. html, body {
  2. background-color: #eee;
  3. margin: 0;
  4. overflow: hidden;
  5. height: 100%
  6. }
  7. #container {
  8. height: 98%;
  9. margin: 0 1% 0 1%;
  10. }
  11. #container::before {
  12. display: block;
  13. content: "";
  14. height: 1%;
  15. }
  16. .channel-root-container {
  17. text-size: 16px;
  18. margin-left: 2px;
  19. background-color: white;
  20. border: 1px solid lightgray;
  21. float: left;
  22. width: calc(60% - 6px);
  23. height: calc(100% - 38px);
  24. border-radius: 3px;
  25. overflow-x: hidden;
  26. overflow-y: auto;
  27. }
  28. .chat {
  29. margin-right: 2px;
  30. float: left;
  31. width: 40%;
  32. height: calc(100% - 38px);
  33. }
  34. .log {
  35. background-color: white;
  36. height: calc(100% - 42px);
  37. padding: 5px;
  38. border: 1px lightgray solid;
  39. border-radius: 3px;
  40. overflow-x: hidden;
  41. overflow-y: scroll;
  42. }
  43. .branch img {
  44. height: 19px;
  45. }
  46. .branch {
  47. float: left;
  48. padding-top: 3px;
  49. padding-bottom: 3px;
  50. background-color: white;
  51. margin-right:
  52. }
  53. .channel-sub {
  54. margin-left: 9px;
  55. border-left: 1px transparent solid;
  56. padding-left: 9px;
  57. }
  58. .channel-wrapper:nth-last-child(n + 2) > .branch:not(:empty) + .channel-sub {
  59. border-left: 1px lightgray solid;
  60. }
  61. .channel-tree,
  62. .user-wrapper {
  63. margin-left: 9px;
  64. }
  65. .channel-tree,
  66. .user-tree {
  67. float: left;
  68. }
  69. .channel-tree::before,
  70. .user-tree::before {
  71. content: "";
  72. display: block;
  73. position: relative;
  74. width: 9px;
  75. border-left: 1px lightgray solid;
  76. border-bottom: 1px lightgray solid;
  77. height: 14px;
  78. }
  79. .channel-wrapper:nth-last-child(n + 2) > .channel-tree:after,
  80. .user-wrapper:nth-last-child(n + 2) .user-tree:after {
  81. content: "";
  82. display: block;
  83. position: relative;
  84. width: 0px;
  85. border-left: 1px lightgray solid;
  86. height: 14px;
  87. }
  88. .user {
  89. margin-left: 9px;
  90. }
  91. .user-status, .channel-status {
  92. float: right;
  93. }
  94. .user,.channel{
  95. height: 23px;
  96. padding: 2px;
  97. border: 1px solid transparent;
  98. }
  99. .selected {
  100. background-color: lightblue !important;
  101. border: 1px solid gray;
  102. border-radius: 3px;
  103. }
  104. .user:hover,.channel:hover {
  105. background-color: lightgray;
  106. }
  107. .thisClient {
  108. font-weight: bold
  109. }
  110. .currentChannel {
  111. font-weight: bold
  112. }
  113. .user-status img, .channel-status img {
  114. margin-top: 2px;
  115. width: 19px;
  116. height: 19px
  117. }
  118. .channel img, .user img {
  119. width: auto;
  120. height: 19px;
  121. }
  122. .channel-name, .user-name {
  123. display: inline;
  124. }
  125. .channel:hover .tooltip, .user:hover .tooltip {
  126. visibility: visible;
  127. height: auto;
  128. transition-delay: 1s;
  129. }
  130. .tooltip {
  131. visibility: hidden;
  132. height: 0px;
  133. background: white;
  134. border: 1px solid gray;
  135. margin-top: 16px;
  136. margin-left: 30px;
  137. padding: 10px;
  138. position: absolute;
  139. z-index: 100;
  140. }
  141. .toolbar {
  142. height: 36px;
  143. }
  144. .toolbar img {
  145. height: 28px;
  146. width: 28px;
  147. padding: 2px;
  148. border: 1px solid transparent;
  149. border-radius: 3px;
  150. }
  151. .toolbar img:hover {
  152. border: 1px solid #bbb;
  153. background-color: #ddd;
  154. }
  155. .toolbar .tb-active {
  156. border: 1px solid #bbb;
  157. background-color: white;
  158. }
  159. .divider {
  160. display: inline-block;
  161. height: 32px;
  162. border-left: 1px lightgray solid;
  163. }
  164. .handle-horizontal {
  165. width: auto !important;
  166. border: none !important;
  167. background-color: #eee !important;
  168. }
  169. .handle-vertical {
  170. display: none;
  171. }
  172. .channel-icon .channel-icon-active {
  173. display: none;
  174. }
  175. .channel-tag {
  176. font-weight: bold;
  177. color: orange;
  178. }
  179. .user-tag {
  180. font-weight: bold;
  181. color: green;
  182. }
  183. #message-box {
  184. width: 100%;
  185. border: none;
  186. background: none;
  187. margin: 5px 0 5px 0;
  188. padding: 0;
  189. height: 20px;
  190. }
  191. form {
  192. margin: 0;
  193. padding: 0;
  194. }
  195. .message-content p {
  196. margin: 0;
  197. }
  198. .tb-information, .tb-record, .tb-comment, .tb-settings{
  199. filter: grayscale(100%);
  200. }
  201. .dialog-header {
  202. height: 20px;
  203. width: calc(100% - 10px);
  204. padding: 5px;
  205. text-align: center;
  206. color: white;
  207. background-color: gray;
  208. border-bottom: 1px solid darkgray;
  209. }
  210. .dialog-footer {
  211. margin: 10px;
  212. margin-bottom: 0px;
  213. }
  214. .dialog-close {
  215. float: left;
  216. }
  217. .dialog-submit {
  218. float: right;
  219. }
  220. .dialog-close, .dialog-submit {
  221. width: 45%;
  222. font-size: 15px;
  223. border: 1px gray solid;
  224. border-radius: 3px;
  225. background-color: white;
  226. color: black;
  227. padding: 1px;
  228. }
  229. .connect-dialog table {
  230. text-align: center;
  231. width: 100%
  232. }
  233. .connect-dialog {
  234. position: absolute;
  235. width: 300px;
  236. height: 197px;
  237. top: calc(50% - 100px);
  238. left: calc(50% - 150px);
  239. background-color: #eee;
  240. border: 1px gray solid;
  241. box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  242. z-index: 20;
  243. }
  244. .connect-dialog input[type=text] {
  245. font-size: 15px;
  246. border: 1px gray solid;
  247. border-radius: 3px;
  248. background-color: white;
  249. color: black;
  250. padding: 2px;
  251. width: calc(100% - 8px);
  252. }