2
0

header.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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 i.fa {
  111. color: #fff;
  112. }
  113. #header-quick-access i.fa:hover {
  114. color: #ccc;
  115. }
  116. #header-quick-access #header-user-bar,
  117. #header-quick-access #header-new-board-icon,
  118. #header-quick-access ul li {
  119. color: #d4d4d4;
  120. }
  121. #header-quick-access #header-user-bar .fa,
  122. #header-quick-access #header-new-board-icon .fa,
  123. #header-quick-access ul li .fa {
  124. color: inherit;
  125. }
  126. #header-quick-access #header-user-bar a:hover,
  127. #header-quick-access #header-new-board-icon a:hover,
  128. #header-quick-access ul li a:hover,
  129. #header-quick-access #header-user-bar a.is-active,
  130. #header-quick-access #header-new-board-icon a.is-active,
  131. #header-quick-access ul li a.is-active {
  132. color: #fff;
  133. }
  134. #header-quick-access ul.header-quick-access-list {
  135. transition: opacity 0.2s;
  136. overflow-x: auto;
  137. overflow-y: hidden;
  138. white-space: nowrap;
  139. padding: 10px;
  140. margin: -10px;
  141. }
  142. #header-quick-access ul.header-quick-access-list li {
  143. display: inline;
  144. width: auto;
  145. color: #d9d9d9;
  146. padding: 12px 0px;
  147. margin: -10px 0px;
  148. }
  149. #header-quick-access ul.header-quick-access-list li a {
  150. padding: 12px 10px;
  151. margin: -10px 0px;
  152. }
  153. #header-quick-access ul.header-quick-access-list li a .viewer {
  154. display: inline;
  155. white-space: nowrap;
  156. }
  157. #header-quick-access ul.header-quick-access-list li a .viewer p {
  158. display: inline;
  159. white-space: nowrap;
  160. }
  161. #header-quick-access ul.header-quick-access-list li.current {
  162. color: #f2f2f2;
  163. }
  164. #header-quick-access ul.header-quick-access-list li.current.empty {
  165. padding: 12px 10px 12px 10px;
  166. }
  167. #header-quick-access ul.header-quick-access-list li:first-child .fa-home,
  168. #header-quick-access ul.header-quick-access-list li:nth-child(3) .fa-globe {
  169. margin-right: 5px;
  170. }
  171. #header-quick-access ul.header-quick-access-list li a.js-create-board {
  172. margin-left: 5px;
  173. }
  174. #header-quick-access #header-user-bar,
  175. #header-quick-access #header-new-board-icon {
  176. flex-shrink: 0;
  177. }
  178. #header-quick-access #header-user-bar {
  179. margin: 2px 0;
  180. }
  181. #header-quick-access #header-user-bar .header-user-bar-avatar {
  182. float: left;
  183. position: relative;
  184. top: -5px;
  185. margin-right: 5px;
  186. }
  187. #header-quick-access #header-user-bar .header-user-bar-avatar .member,
  188. #header-quick-access #header-help {
  189. width: 24px;
  190. height: 24px;
  191. margin: 0;
  192. margin-top: 1px;
  193. }
  194. #header-quick-access #header-user-bar .header-user-bar-name,
  195. #header-quick-access #header-help {
  196. margin: 4px 8px 0 0;
  197. float: left;
  198. }
  199. #header-quick-access #header-user-bar .header-user-bar-name i.fa-chevron-down {
  200. margin-right: 4px;
  201. }
  202. #header-quick-access #header-new-board-icon {
  203. flex-grow: 1;
  204. margin: 6px 5px 0;
  205. width: 12px;
  206. }
  207. @media screen and (max-width: 800px) {
  208. #header #header-main-bar {
  209. height: 40px;
  210. }
  211. #header #header-main-bar .board-header-btns {
  212. margin-top: 0px;
  213. }
  214. #header #header-main-bar .board-header-btn {
  215. height: 32px;
  216. line-height: 32px;
  217. font-size: 15px;
  218. }
  219. #header #header-main-bar .board-header-btn i.fa {
  220. line-height: 32px;
  221. }
  222. #header #header-main-bar .board-header-btn i.fa + span {
  223. display: none;
  224. }
  225. #header-quick-access {
  226. transition: background-color 0.4s;
  227. width: 100%;
  228. z-index: 30;
  229. }
  230. #header-quick-access ul {
  231. width: calc(100% - 60px);
  232. margin-right: 10px;
  233. }
  234. #header-quick-access ul li {
  235. height: 100%;
  236. }
  237. #header-quick-access ul li a {
  238. height: 100%;
  239. }
  240. #header-quick-access span .fa-home {
  241. font-size: 26px;
  242. margin-top: -2px;
  243. margin-right: 10px;
  244. margin-left: 10px;
  245. }
  246. #header-quick-access #header-new-board-icon {
  247. display: none;
  248. }
  249. #header-quick-access #header-user-bar {
  250. right: 0px;
  251. padding: 10px;
  252. margin: -8px 0 -10px -10px;
  253. }
  254. }
  255. @media print {
  256. #header-quick-access .allBoards,
  257. #header-quick-access ul,
  258. #header-quick-access .js-toggle-desktop-drag-handles,
  259. #header-quick-access #notifications,
  260. #header-quick-access #header-new-board-icon,
  261. #header #header-main-bar .board-header-btns {
  262. display: none;
  263. }
  264. #header #header-user-bar {
  265. float: right;
  266. }
  267. }
  268. .announcement .viewer {
  269. display: inline-block;
  270. }
  271. .announcement,
  272. .offline-warning {
  273. width: 100%;
  274. text-align: center;
  275. padding: 0;
  276. margin: 0;
  277. background: #f8ecbd;
  278. clear: both;
  279. }
  280. .announcement p,
  281. .offline-warning p {
  282. margin: 7px;
  283. padding: 0;
  284. }
  285. #headerIsSettingDatabaseCallDone {
  286. display: none;
  287. }