style.css 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. html,body{
  2. width: 100%;
  3. height: 100%;
  4. padding: 0;
  5. margin: 0;
  6. overflow: hidden;
  7. color: white;
  8. background-color: black;
  9. }
  10. .unselectable{
  11. cursor: default;
  12. }
  13. .fill{
  14. width: 100%;
  15. height: 100%;
  16. }
  17. .row{
  18. display: table-row;
  19. }
  20. .cell{
  21. display: table-cell;
  22. }
  23. .date_cell{
  24. word-wrap: normal;
  25. white-space: pre;
  26. word-break: keep-all;
  27. }
  28. .unselectable,#tabs-list div.tab{
  29. -webkit-touch-callout: none;
  30. -webkit-user-select: none;
  31. -khtml-user-select: none;
  32. -moz-user-select: none;
  33. -ms-user-select: none;
  34. user-select: none;
  35. }
  36. .close-button{
  37. float: right;
  38. font-weight: bold;
  39. font-size: 24px;
  40. margin-top: -5px;
  41. font-family: Arial,Liberation Sans,DejaVu Sans,sans-serif;
  42. cursor: pointer;
  43. }
  44. .close-button:hover{
  45. color: red;
  46. }
  47. #head{
  48. right: 0;
  49. top: 0;
  50. width: 100%;
  51. height: 40px;
  52. border-bottom-style: solid;
  53. background-color: black;
  54. transition: height 0.3s;
  55. z-index: 10;
  56. }
  57. #info{
  58. display: table;
  59. width: 100%;
  60. }
  61. #title{
  62. display: table-cell;
  63. }
  64. #topic{
  65. display: table-cell;
  66. text-align: right;
  67. }
  68. #content,#console-log{
  69. width: 100%;
  70. height: calc(100% - 61px);
  71. top: 41px;
  72. left: 0;
  73. }
  74. #console-log{
  75. display: none;
  76. }
  77. #console-log-pre{
  78. height: 100%;
  79. margin: 0;
  80. padding: 2px;
  81. }
  82. #console-log-controls{
  83. position: absolute;
  84. bottom: 22px;
  85. width: 100%;
  86. overflow: hidden;
  87. }
  88. #settings,#users{
  89. bottom: 0;
  90. height: 18px;
  91. background-color: black;
  92. border-left-style: solid;
  93. border-top-style: solid;
  94. margin-top: -1px;
  95. transition: width 0.5s, height 0.5s, right 0.5s;
  96. }
  97. #settings span,#users span{
  98. cursor: pointer;
  99. }
  100. #settings.open span,#users.open.span{
  101. cursor: default;
  102. }
  103. #settings.open span.close-button,#users.open span.close-button{
  104. cursor: pointer;
  105. }
  106. #users{
  107. right: 0;
  108. width: 36px;
  109. z-index: 1;
  110. }
  111. #settings{
  112. width: 52px;
  113. border-right-style: solid;
  114. right: 36px;
  115. }
  116. #settings.hovered,#users.hovered{
  117. height: 21px;
  118. }
  119. #settings.open,#users.open{
  120. width: 150px;
  121. height: 100%;
  122. right: 0;
  123. z-index: 20;
  124. }
  125. #settings.open{
  126. width: 300px;
  127. }
  128. #entry{
  129. width: 100%;
  130. border-top-style: solid;
  131. height: 18px;
  132. bottom: 0;
  133. }
  134. #input{
  135. width: calc(100% - 126px);
  136. height: 16px;
  137. margin: 0;
  138. padding: 1px;
  139. border-style: none;
  140. background-color: grey;
  141. clear: none;
  142. bottom: 0;
  143. left: 0;
  144. }
  145. #send{
  146. clear: none;
  147. bottom: 0;
  148. right: 88px;
  149. width: 36px;
  150. padding: 0;
  151. margin: 0;
  152. height: 18px;
  153. border-style: none;
  154. border-left-style: solid;
  155. background-color: black;
  156. color: white;
  157. transition: background-color 0.2s;
  158. }
  159. #send:hover{
  160. background-color: grey;
  161. }
  162. #send.clicked{
  163. background-color: red;
  164. }
  165. #console-log,#content,#head,#users,#entry,#input,#send,#settings{
  166. border-color: white;
  167. border-width: 1px;
  168. position: absolute;
  169. overflow: hidden;
  170. }
  171. #console-log,#content{
  172. overflow-y: scroll;
  173. }
  174. #users,#input,#send,#settings{
  175. position: fixed;
  176. }
  177. #content-list,#user-list,#settings-list,#tabs-list{
  178. list-style-type: none;
  179. margin: 0;
  180. padding: 0;
  181. overflow-y: auto;
  182. word-wrap: break-word;
  183. white-space: pre-wrap;
  184. word-break: break-all;
  185. }
  186. #content-list,#user-list,#tabs-list{
  187. width: 100%;
  188. height: 100%;
  189. }
  190. #content-list,#settings-list{
  191. display: table;
  192. table-layout: fixed;
  193. }
  194. #settings-list > li{
  195. line-height: 4px;
  196. }
  197. #user-list{
  198. padding-left: 5px;
  199. }
  200. #tabs-list{
  201. width: calc(100% - 42px);
  202. height: 20px;
  203. position: absolute;
  204. left: 0;
  205. top: 20px;
  206. overflow: hidden;
  207. }
  208. #tabs-list div.tab{
  209. float: left;
  210. min-width: 100px;
  211. max-width: 200px;
  212. height: 19px;
  213. overflow: hidden;
  214. position: relative;
  215. }
  216. #tabs-list div.tab.clicked{
  217. background-color: darkgrey;
  218. }
  219. #tabs-scroll-left{
  220. position: absolute;
  221. right: 20px;
  222. top: 20px;
  223. height: 20px;
  224. width: 20px;
  225. }
  226. #tabs-scroll-right{
  227. position: absolute;
  228. right: 0;
  229. top: 20px;
  230. height: 20px;
  231. width: 20px;
  232. }
  233. #tabs-list div.tab, #tabs-scroll-right,#tabs-scroll-left{
  234. border-style: solid;
  235. border-top-right-radius: 3px;
  236. border-top-left-radius: 3px;
  237. border-color: white;
  238. border-top-style: solid;
  239. border-right-style: solid;
  240. border-left-style: solid;
  241. border-bottom-style: none;
  242. border-width: 1px;
  243. padding: 0;
  244. margin: 0;
  245. background-color: black;
  246. cursor: pointer;
  247. clear: none;
  248. }
  249. #tabs-list div.tab:hover, #tabs-scroll-right:hover,#tabs-scroll-left:hover{
  250. background-color: grey;
  251. }
  252. #tabs-scroll-left.disabled, #tabs-scroll-right.disabled{
  253. background-color: darkgrey;
  254. }