style.css 3.3 KB

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