style.css 4.2 KB

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