style.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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. .cell{
  16. display: table-cell;
  17. }
  18. .unselectable,#tabs-list div.tab{
  19. -webkit-touch-callout: none;
  20. -webkit-user-select: none;
  21. -khtml-user-select: none;
  22. -moz-user-select: none;
  23. -ms-user-select: none;
  24. user-select: none;
  25. }
  26. .close-button{
  27. float: right;
  28. font-weight: bold;
  29. font-size: 24px;
  30. margin-top: -5px;
  31. font-family: Arial,Liberation Sans,DejaVu Sans,sans-serif;
  32. }
  33. .close-button:hover{
  34. color: red;
  35. }
  36. #head{
  37. right: 0;
  38. top: 0;
  39. width: 100%;
  40. height: 40px;
  41. border-bottom-style: solid;
  42. background-color: white;
  43. transition: height 0.3s;
  44. z-index: 10;
  45. }
  46. #info{
  47. display: table;
  48. width: 100%;
  49. }
  50. #title{
  51. display: table-cell;
  52. }
  53. #topic{
  54. display: table-cell;
  55. text-align: right;
  56. }
  57. #content{
  58. width: 100%;
  59. height: calc(100% - 61px);
  60. top: 41px;
  61. left: 0;
  62. }
  63. #settings,#users{
  64. bottom: 0;
  65. height: 18px;
  66. background-color: white;
  67. border-left-style: solid;
  68. border-top-style: solid;
  69. margin-top: -1px;
  70. transition: width 0.5s, height 0.5s, right 0.5s;
  71. }
  72. #settings span,#users span{
  73. cursor: pointer;
  74. }
  75. #users{
  76. right: 0;
  77. width: 36px;
  78. z-index: 1;
  79. }
  80. #settings{
  81. width: 52px;
  82. border-right-style: solid;
  83. right: 36px;
  84. }
  85. #settings.hovered,#users.hovered{
  86. height: 21px;
  87. }
  88. #settings.open,#users.open{
  89. width: 150px;
  90. height: 100%;
  91. right: 0;
  92. z-index: 20;
  93. }
  94. #settings.open{
  95. width: 100%;
  96. }
  97. #entry{
  98. width: 100%;
  99. border-top-style: solid;
  100. height: 18px;
  101. bottom: 0;
  102. }
  103. #input{
  104. width: calc(100% - 126px);
  105. height: 16px;
  106. margin: 0;
  107. padding: 1px;
  108. border-style: none;
  109. background-color: grey;
  110. clear: none;
  111. bottom: 0;
  112. left: 0;
  113. }
  114. #send{
  115. clear: none;
  116. bottom: 0;
  117. right: 88px;
  118. width: 36px;
  119. padding: 0;
  120. margin: 0;
  121. height: 18px;
  122. border-style: none;
  123. border-left-style: solid;
  124. background-color: white;
  125. transition: background-color 0.2s;
  126. }
  127. #send:hover{
  128. background-color: grey;
  129. }
  130. #send.clicked{
  131. background-color: red;
  132. }
  133. #content,#head,#users,#entry,#input,#send,#settings{
  134. border-color: black;
  135. border-width: 1px;
  136. overflow: hidden;
  137. position: absolute;
  138. }
  139. #users,#input,#send,#settings{
  140. position: fixed;
  141. }
  142. #content-list,#users-list,#settings-list,#tabs-list{
  143. width: 100%;
  144. height: 100%;
  145. list-style-type: none;
  146. margin: 0;
  147. padding: 0;
  148. overflow: auto;
  149. }
  150. #tabs-list{
  151. width: calc(100% - 42px);
  152. height: 20px;
  153. position: absolute;
  154. left: 0;
  155. top: 20px;
  156. overflow: hidden;
  157. }
  158. #tabs-list div.tab{
  159. float: left;
  160. min-width: 100px;
  161. max-width: 200px;
  162. height: 19px;
  163. overflow: hidden;
  164. position: relative;
  165. }
  166. #tabs-list div.tab.clicked{
  167. background-color: lightgrey;
  168. }
  169. #tabs-scroll-left{
  170. position: absolute;
  171. right: 20px;
  172. top: 20px;
  173. height: 20px;
  174. width: 20px;
  175. }
  176. #tabs-scroll-right{
  177. position: absolute;
  178. right: 0;
  179. top: 20px;
  180. height: 20px;
  181. width: 20px;
  182. }
  183. #tabs-list div.tab, #tabs-scroll-right,#tabs-scroll-left{
  184. border-style: solid;
  185. border-top-right-radius: 3px;
  186. border-top-left-radius: 3px;
  187. border-color: black;
  188. border-top-style: solid;
  189. border-right-style: solid;
  190. border-left-style: solid;
  191. border-bottom-style: none;
  192. border-width: 1px;
  193. padding: 0;
  194. margin: 0;
  195. background-color: white;
  196. cursor: pointer;
  197. clear: none;
  198. }
  199. #tabs-list div.tab:hover, #tabs-scroll-right:hover,#tabs-scroll-left:hover{
  200. background-color: grey;
  201. }
  202. #tabs-scroll-left.disabled, #tabs-scroll-right.disabled{
  203. background-color: lightgrey;
  204. }