style.css 3.7 KB

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