style.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. }
  73. #settings{
  74. width: 52px;
  75. border-right-style: solid;
  76. right: 36px;
  77. }
  78. #settings.hovered,#users.hovered{
  79. height: 21px;
  80. }
  81. #settings.open,#users.open{
  82. width: 150px;
  83. height: 100%;
  84. right: 0;
  85. z-index: 20;
  86. }
  87. #settings.open{
  88. width: 100%;
  89. }
  90. #entry{
  91. width: 100%;
  92. border-top-style: solid;
  93. height: 18px;
  94. bottom: 0;
  95. }
  96. #input{
  97. width: calc(100% - 126px);
  98. height: 16px;
  99. margin: 0;
  100. padding: 1px;
  101. border-style: none;
  102. background-color: grey;
  103. clear: none;
  104. bottom: 0;
  105. left: 0;
  106. }
  107. #send{
  108. clear: none;
  109. bottom: 0;
  110. right: 88px;
  111. width: 36px;
  112. border-style: none;
  113. border-left-style: solid;
  114. background-color: white;
  115. transition: background-color 0.2s;
  116. }
  117. #send:hover{
  118. background-color: grey;
  119. }
  120. #send.clicked{
  121. background-color: red;
  122. }
  123. #content,#head,#users,#entry,#input,#send,#settings{
  124. border-color: black;
  125. border-width: 1px;
  126. overflow: hidden;
  127. position: fixed;
  128. }
  129. #content-list,#users-list,#settings-list,#tabs-list{
  130. width: 100%;
  131. height: 100%;
  132. list-style-type: none;
  133. margin: 0;
  134. padding: 0;
  135. overflow: auto;
  136. }
  137. #tabs-list{
  138. width: calc(100% - 42px);
  139. height: 20px;
  140. position: absolute;
  141. left: 0;
  142. top: 20px;
  143. overflow: hidden;
  144. }
  145. #tabs-list div.tab{
  146. float: left;
  147. min-width: 100px;
  148. max-width: 200px;
  149. height: 19px;
  150. overflow: hidden;
  151. position: relative;
  152. }
  153. #tabs-list div.tab.clicked{
  154. background-color: lightgrey;
  155. }
  156. #tabs-scroll-left{
  157. position: absolute;
  158. right: 20px;
  159. top: 20px;
  160. height: 20px;
  161. width: 20px;
  162. }
  163. #tabs-scroll-right{
  164. position: absolute;
  165. right: 0;
  166. top: 20px;
  167. height: 20px;
  168. width: 20px;
  169. }
  170. #tabs-list div.tab, #tabs-scroll-right,#tabs-scroll-left{
  171. border-style: solid;
  172. border-top-right-radius: 3px;
  173. border-top-left-radius: 3px;
  174. border-color: black;
  175. border-top-style: solid;
  176. border-right-style: solid;
  177. border-left-style: solid;
  178. border-bottom-style: none;
  179. border-width: 1px;
  180. padding: 0;
  181. margin: 0;
  182. background-color: white;
  183. cursor: pointer;
  184. clear: none;
  185. }
  186. #tabs-list div.tab:hover, #tabs-scroll-right:hover,#tabs-scroll-left:hover{
  187. background-color: grey;
  188. }
  189. #tabs-scroll-left.disabled, #tabs-scroll-right.disabled{
  190. background-color: lightgrey;
  191. }