style.css 2.7 KB

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