style.css 2.6 KB

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