style.css 4.1 KB

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