style.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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. #tabs-list span.tab .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. #tabs-list span.tab .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. #entry{
  87. width: 100%;
  88. border-top-style: solid;
  89. height: 18px;
  90. bottom: 0;
  91. }
  92. #input{
  93. width: calc(100% - 126px);
  94. height: 16px;
  95. margin: 0;
  96. padding: 1px;
  97. border-style: none;
  98. background-color: grey;
  99. clear: none;
  100. bottom: 0;
  101. left: 0;
  102. }
  103. #send{
  104. clear: none;
  105. bottom: 0;
  106. right: 88px;
  107. width: 36px;
  108. border-style: none;
  109. border-left-style: solid;
  110. background-color: white;
  111. transition: background-color 0.2s;
  112. }
  113. #send:hover{
  114. background-color: grey;
  115. }
  116. #send.clicked{
  117. background-color: red;
  118. }
  119. #content,#head,#users,#entry,#input,#send,#settings{
  120. border-color: black;
  121. border-width: 1px;
  122. overflow: hidden;
  123. position: fixed;
  124. }
  125. #content-list,#users-list,#settings-list,#tabs-list{
  126. width: 100%;
  127. height: 100%;
  128. list-style-type: none;
  129. margin: 0;
  130. padding: 0;
  131. overflow: auto;
  132. }
  133. #tabs-list{
  134. display: table;
  135. width: 100%;
  136. height: 100%;
  137. position: absolute;
  138. left: 0;
  139. top: 20px;
  140. cursor: pointer;
  141. }
  142. #tabs-list span.tab{
  143. display: table-cell;
  144. border-style: solid;
  145. border-top-right-radius: 3px;
  146. border-top-left-radius: 3px;
  147. border-color: black;
  148. border-top-style: solid;
  149. border-right-style: solid;
  150. border-left-style: solid;
  151. border-bottom-style: none;
  152. border-width: 1px;
  153. padding: 0;
  154. margin: 0;
  155. }
  156. #tabs-list span.tab.clicked{
  157. background-color: lightgrey;
  158. }