header.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. #header {
  2. color: #fff;
  3. transition: background-color 0.4s;
  4. background: #2980b9;
  5. z-index: 17;
  6. }
  7. #header #header-main-bar {
  8. height: 40px;
  9. padding: 7px 10px 0;
  10. }
  11. #header #header-main-bar h1 {
  12. font-size: 20px;
  13. line-height: 1.7em;
  14. padding: 0 10px;
  15. margin: 0;
  16. margin-right: 10px;
  17. float: left;
  18. border-radius: 3px;
  19. }
  20. #header #header-main-bar h1 .board-header-watch-icon {
  21. padding-left: 7px;
  22. }
  23. #header #header-main-bar h1 a.fa,
  24. #header #header-main-bar h1 a i.fa {
  25. color: #fff;
  26. }
  27. #header #header-main-bar h1 .back-btn {
  28. font-size: 0.9em;
  29. margin-right: 10px;
  30. }
  31. #header #header-main-bar .wekan-logo {
  32. margin: 3px auto auto;
  33. width: 97px;
  34. opacity: 0.6;
  35. transition: opacity 0.15s;
  36. float: right;
  37. }
  38. #header #header-main-bar .wekan-logo:hover {
  39. opacity: 0.9;
  40. }
  41. #header #header-main-bar .board-header-btns {
  42. display: block;
  43. margin-top: 3px;
  44. width: auto;
  45. }
  46. #header #header-main-bar .board-header-btns.left {
  47. float: left;
  48. }
  49. #header #header-main-bar .board-header-btns.right {
  50. float: right;
  51. }
  52. #header #header-main-bar .board-header-btn {
  53. border-radius: 3px;
  54. color: #f2f2f2;
  55. padding: 0;
  56. height: 28px;
  57. font-size: 13px;
  58. float: left;
  59. overflow: hidden;
  60. line-height: 28px;
  61. margin: 0 2px;
  62. }
  63. #header #header-main-bar .board-header-btn i.fa {
  64. float: left;
  65. display: block;
  66. line-height: 28px;
  67. color: #f2f2f2;
  68. margin: 0 10px;
  69. }
  70. #header #header-main-bar .board-header-btn i.fa + span {
  71. display: inline-block;
  72. margin-top: 1px;
  73. margin-right: 10px;
  74. }
  75. #header #header-main-bar .board-header-btn .board-header-btn-close {
  76. float: right;
  77. }
  78. #header #header-main-bar .board-header-btn .board-header-btn-close i.fa {
  79. margin: 0 6px;
  80. }
  81. #header #header-main-bar .board-header-btn.is-active,
  82. #header #header-main-bar h1.is-clickable.is-active,
  83. #header #header-main-bar .board-header-btn:hover:not(.is-disabled),
  84. #header #header-main-bar h1.is-clickable:hover:not(.is-disabled) {
  85. background: rgba(0,0,0,0.15);
  86. }
  87. #header #header-main-bar .separator {
  88. margin: 2px 4px;
  89. border-left: 1px solid rgba(255,255,255,0.3);
  90. height: 24px;
  91. float: left;
  92. }
  93. #header-quick-access {
  94. color: #fff;
  95. transition: background-color 0.4s;
  96. background: #2573a7;
  97. height: 28px;
  98. font-size: 12px;
  99. display: flex;
  100. z-index: 1000;
  101. padding: 10px 0px;
  102. }
  103. #header-quick-access .allBoards {
  104. font-size: 14px;
  105. padding: 4px 15px;
  106. }
  107. #header-quick-access a {
  108. text-decoration: none;
  109. }
  110. #header-quick-access #header-user-bar,
  111. #header-quick-access #header-new-board-icon,
  112. #header-quick-access ul li {
  113. color: #d4d4d4;
  114. }
  115. #header-quick-access #header-user-bar .fa,
  116. #header-quick-access #header-new-board-icon .fa,
  117. #header-quick-access ul li .fa {
  118. color: inherit;
  119. }
  120. #header-quick-access #header-user-bar a:hover,
  121. #header-quick-access #header-new-board-icon a:hover,
  122. #header-quick-access ul li a:hover,
  123. #header-quick-access #header-user-bar a.is-active,
  124. #header-quick-access #header-new-board-icon a.is-active,
  125. #header-quick-access ul li a.is-active {
  126. color: #fff;
  127. }
  128. #header-quick-access ul.header-quick-access-list {
  129. transition: opacity 0.2s;
  130. overflow-x: auto;
  131. overflow-y: hidden;
  132. white-space: nowrap;
  133. padding: 10px;
  134. margin: -10px;
  135. }
  136. #header-quick-access ul.header-quick-access-list li {
  137. display: inline;
  138. width: auto;
  139. color: #d9d9d9;
  140. padding: 12px 0px;
  141. margin: -10px 0px;
  142. }
  143. #header-quick-access ul.header-quick-access-list li a {
  144. padding: 12px 10px;
  145. margin: -10px 0px;
  146. }
  147. #header-quick-access ul.header-quick-access-list li a .viewer {
  148. display: inline;
  149. white-space: nowrap;
  150. }
  151. #header-quick-access ul.header-quick-access-list li a .viewer p {
  152. display: inline;
  153. white-space: nowrap;
  154. }
  155. #header-quick-access ul.header-quick-access-list li.current {
  156. color: #f2f2f2;
  157. }
  158. #header-quick-access ul.header-quick-access-list li.current.empty {
  159. padding: 12px 10px 12px 10px;
  160. }
  161. #header-quick-access ul.header-quick-access-list li:first-child .fa-home,
  162. #header-quick-access ul.header-quick-access-list li:nth-child(3) .fa-globe {
  163. margin-right: 5px;
  164. }
  165. #header-quick-access ul.header-quick-access-list li a.js-create-board {
  166. margin-left: 5px;
  167. }
  168. #header-quick-access #header-user-bar,
  169. #header-quick-access #header-new-board-icon {
  170. flex-shrink: 0;
  171. }
  172. #header-quick-access #header-user-bar {
  173. margin: 2px 0;
  174. }
  175. #header-quick-access #header-user-bar .header-user-bar-avatar {
  176. float: left;
  177. position: relative;
  178. top: -5px;
  179. margin-right: 5px;
  180. }
  181. #header-quick-access #header-user-bar .header-user-bar-avatar .member {
  182. width: 24px;
  183. height: 24px;
  184. margin: 0;
  185. margin-top: 1px;
  186. }
  187. #header-quick-access #header-user-bar .header-user-bar-name {
  188. margin: 4px 8px 0 0;
  189. float: left;
  190. }
  191. #header-quick-access #header-user-bar .header-user-bar-name i.fa-chevron-down {
  192. margin-right: 4px;
  193. }
  194. #header-quick-access #header-new-board-icon {
  195. flex-grow: 1;
  196. margin: 6px 5px 0;
  197. width: 12px;
  198. }
  199. @media screen and (max-width: 800px) {
  200. #header #header-main-bar {
  201. height: 40px;
  202. }
  203. #header #header-main-bar .board-header-btns {
  204. margin-top: 0px;
  205. }
  206. #header #header-main-bar .board-header-btn {
  207. height: 32px;
  208. line-height: 32px;
  209. font-size: 15px;
  210. }
  211. #header #header-main-bar .board-header-btn i.fa {
  212. line-height: 32px;
  213. }
  214. #header #header-main-bar .board-header-btn i.fa + span {
  215. display: none;
  216. }
  217. #header-quick-access {
  218. transition: background-color 0.4s;
  219. width: 100%;
  220. z-index: 30;
  221. }
  222. #header-quick-access ul {
  223. width: calc(100% - 60px);
  224. margin-right: 10px;
  225. }
  226. #header-quick-access ul li {
  227. height: 100%;
  228. }
  229. #header-quick-access ul li a {
  230. height: 100%;
  231. }
  232. #header-quick-access span .fa-home {
  233. font-size: 26px;
  234. margin-top: -2px;
  235. margin-right: 10px;
  236. margin-left: 10px;
  237. }
  238. #header-quick-access #header-new-board-icon {
  239. display: none;
  240. }
  241. #header-quick-access #header-user-bar {
  242. right: 0px;
  243. padding: 10px;
  244. margin: -8px 0 -10px -10px;
  245. }
  246. }
  247. .announcement .viewer {
  248. display: inline-block;
  249. }
  250. .announcement,
  251. .offline-warning {
  252. width: 100%;
  253. text-align: center;
  254. padding: 0;
  255. margin: 0;
  256. background: #f8ecbd;
  257. clear: both;
  258. }
  259. .announcement p,
  260. .offline-warning p {
  261. margin: 7px;
  262. padding: 0;
  263. }
  264. #headerIsSettingDatabaseCallDone {
  265. display: none;
  266. }