style.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  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 span.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: 20px;
  35. border-bottom-style: solid;
  36. background-color: white;
  37. transition: height 0.3s;
  38. z-index: 10;
  39. }
  40. #head:hover{
  41. height: 24px;
  42. }
  43. #head.hovered{
  44. height: 40px;
  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% - 41px);
  60. top: 20px;
  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. }
  79. #settings{
  80. width: 52px;
  81. border-right-style: solid;
  82. right: 36px;
  83. }
  84. #settings.hovered,#users.hovered{
  85. height: 21px;
  86. }
  87. #settings.open,#users.open{
  88. width: 150px;
  89. height: 100%;
  90. right: 0;
  91. z-index: 20;
  92. }
  93. #settings.open{
  94. width: 100%;
  95. }
  96. #entry{
  97. width: 100%;
  98. border-top-style: solid;
  99. height: 18px;
  100. bottom: 0;
  101. }
  102. #input{
  103. width: calc(100% - 126px);
  104. height: 16px;
  105. margin: 0;
  106. padding: 1px;
  107. border-style: none;
  108. background-color: grey;
  109. clear: none;
  110. bottom: 0;
  111. left: 0;
  112. }
  113. #send{
  114. clear: none;
  115. bottom: 0;
  116. right: 88px;
  117. width: 36px;
  118. border-style: none;
  119. border-left-style: solid;
  120. background-color: white;
  121. transition: background-color 0.2s;
  122. }
  123. #send:hover{
  124. background-color: grey;
  125. }
  126. #send.clicked{
  127. background-color: red;
  128. }
  129. #content,#head,#users,#entry,#input,#send,#settings{
  130. border-color: black;
  131. border-width: 1px;
  132. overflow: hidden;
  133. position: fixed;
  134. }
  135. #content-list,#users-list,#settings-list,#tabs-list{
  136. width: 100%;
  137. height: 100%;
  138. list-style-type: none;
  139. margin: 0;
  140. padding: 0;
  141. overflow: auto;
  142. }
  143. #tabs-list{
  144. display: table;
  145. width: 100%;
  146. height: 100%;
  147. position: absolute;
  148. left: 0;
  149. top: 20px;
  150. cursor: pointer;
  151. }
  152. #tabs-list span.tab{
  153. display: table-cell;
  154. border-style: solid;
  155. border-top-right-radius: 3px;
  156. border-top-left-radius: 3px;
  157. border-color: black;
  158. border-top-style: solid;
  159. border-right-style: solid;
  160. border-left-style: solid;
  161. border-bottom-style: none;
  162. border-width: 1px;
  163. padding: 0;
  164. margin: 0;
  165. }
  166. #tabs-list span.tab.clicked{
  167. background-color: lightgrey;
  168. }
  169. #tabs-list span.tab:hover{
  170. background-color: grey;
  171. }