style.css 4.2 KB

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