style.css 3.2 KB

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