header.css 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178
  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 12px;
  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. align-items: center;
  103. flex-wrap: nowrap; /* Prevent wrapping to keep single row */
  104. min-height: 28px;
  105. overflow: hidden; /* Prevent content from overflowing */
  106. }
  107. #header-quick-access .home-icon {
  108. display: flex;
  109. align-items: center;
  110. margin-right: 1rem;
  111. flex-shrink: 0;
  112. }
  113. #header-quick-access .home-icon a {
  114. display: flex;
  115. align-items: center;
  116. text-decoration: none;
  117. color: #fff;
  118. padding: 4px 8px;
  119. border-radius: 4px;
  120. transition: background-color 0.2s ease;
  121. }
  122. #header-quick-access .home-icon a:hover {
  123. background-color: rgba(255, 255, 255, 0.1);
  124. }
  125. #header-quick-access .home-icon .fa-home {
  126. font-size: 16px;
  127. margin-right: 4px;
  128. }
  129. #header-quick-access .allBoards {
  130. font-size: 14px;
  131. padding: 4px 15px;
  132. }
  133. #header-quick-access a {
  134. text-decoration: none;
  135. }
  136. #header-quick-access i.fa {
  137. color: #fff;
  138. }
  139. #header-quick-access i.fa:hover {
  140. color: #ccc;
  141. }
  142. #header-quick-access #header-user-bar,
  143. #header-quick-access #header-new-board-icon,
  144. #header-quick-access ul li {
  145. color: #d4d4d4;
  146. }
  147. #header-quick-access #header-user-bar .fa,
  148. #header-quick-access #header-new-board-icon .fa,
  149. #header-quick-access ul li .fa {
  150. color: inherit;
  151. }
  152. #header-quick-access #header-user-bar a:hover,
  153. #header-quick-access #header-new-board-icon a:hover,
  154. #header-quick-access ul li a:hover,
  155. #header-quick-access #header-user-bar a.is-active,
  156. #header-quick-access #header-new-board-icon a.is-active,
  157. #header-quick-access ul li a.is-active {
  158. color: #fff;
  159. }
  160. #header-quick-access ul.header-quick-access-list {
  161. transition: opacity 0.2s;
  162. overflow-x: auto;
  163. overflow-y: hidden;
  164. white-space: nowrap;
  165. padding: 10px;
  166. margin: -10px;
  167. flex: 1; /* Take up available space */
  168. min-width: 0; /* Allow shrinking below content size */
  169. display: flex; /* Use flexbox for better control */
  170. align-items: center;
  171. scrollbar-width: thin; /* Firefox */
  172. scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
  173. }
  174. /* Webkit scrollbar styling for better UX */
  175. #header-quick-access ul.header-quick-access-list::-webkit-scrollbar {
  176. height: 4px;
  177. }
  178. #header-quick-access ul.header-quick-access-list::-webkit-scrollbar-track {
  179. background: transparent;
  180. }
  181. #header-quick-access ul.header-quick-access-list::-webkit-scrollbar-thumb {
  182. background: rgba(255, 255, 255, 0.3);
  183. border-radius: 2px;
  184. }
  185. #header-quick-access ul.header-quick-access-list::-webkit-scrollbar-thumb:hover {
  186. background: rgba(255, 255, 255, 0.5);
  187. }
  188. #header-quick-access ul.header-quick-access-list li {
  189. display: inline-block; /* Keep inline-block for proper spacing */
  190. width: auto;
  191. color: #d9d9d9;
  192. padding: 12px 0px;
  193. margin: -10px 0px;
  194. flex-shrink: 0; /* Prevent items from shrinking */
  195. white-space: nowrap; /* Prevent text wrapping within items */
  196. }
  197. #header-quick-access ul.header-quick-access-list li a {
  198. padding: 12px 10px;
  199. margin: -10px 0px;
  200. }
  201. #header-quick-access ul.header-quick-access-list li a .viewer {
  202. display: inline;
  203. white-space: nowrap;
  204. }
  205. #header-quick-access ul.header-quick-access-list li a .viewer p {
  206. display: inline;
  207. white-space: nowrap;
  208. }
  209. #header-quick-access ul.header-quick-access-list li.current {
  210. color: #f2f2f2;
  211. }
  212. #header-quick-access ul.header-quick-access-list li.current.empty {
  213. padding: 12px 10px 12px 10px;
  214. }
  215. #header-quick-access ul.header-quick-access-list li:first-child .fa-home,
  216. #header-quick-access ul.header-quick-access-list li:nth-child(3) .fa-globe {
  217. margin-right: 5px;
  218. }
  219. #header-quick-access ul.header-quick-access-list li a.js-create-board {
  220. margin-left: 5px;
  221. }
  222. #header-quick-access #header-user-bar,
  223. #header-quick-access #header-new-board-icon {
  224. flex-shrink: 0;
  225. }
  226. #header-quick-access #header-user-bar {
  227. margin: 2px 0;
  228. }
  229. #header-quick-access #header-user-bar .header-user-bar-avatar {
  230. float: left;
  231. position: relative;
  232. top: -5px;
  233. margin-right: 5px;
  234. }
  235. #header-quick-access #header-user-bar .header-user-bar-avatar .member,
  236. #header-quick-access #header-help {
  237. width: 24px;
  238. height: 24px;
  239. margin: 0;
  240. margin-top: 1px;
  241. }
  242. #header-quick-access #header-user-bar .header-user-bar-name,
  243. #header-quick-access #header-help {
  244. margin: 4px 8px 0 0;
  245. float: left;
  246. }
  247. /* Zoom Controls in Header */
  248. #header-quick-access .zoom-controls {
  249. display: flex;
  250. align-items: center;
  251. gap: 0.5vw;
  252. background: rgba(255, 255, 255, 0.9);
  253. padding: 0.5vh 1vw;
  254. border-radius: 0.5vw;
  255. box-shadow: 0 0.2vh 0.5vh rgba(0,0,0,0.1);
  256. margin: 0 1vw;
  257. float: left;
  258. }
  259. #header-quick-access .zoom-controls .board-header-btn {
  260. padding: 0.5vh 0.8vw !important;
  261. border-radius: 0.3vw !important;
  262. background: #fff !important;
  263. border: 1px solid #000 !important;
  264. transition: all 0.2s ease !important;
  265. color: #000 !important;
  266. height: auto !important;
  267. line-height: normal !important;
  268. margin: 0 !important;
  269. float: none !important;
  270. overflow: visible !important;
  271. text-decoration: none !important;
  272. display: flex !important;
  273. align-items: center !important;
  274. gap: 0.3vw !important;
  275. }
  276. #header-quick-access .zoom-controls .board-header-btn i {
  277. color: #000 !important;
  278. float: none !important;
  279. display: inline !important;
  280. line-height: normal !important;
  281. margin: 0 !important;
  282. }
  283. #header-quick-access .zoom-controls .board-header-btn:hover {
  284. background: #000 !important;
  285. border-color: #000 !important;
  286. color: #fff !important;
  287. }
  288. #header-quick-access .zoom-controls .board-header-btn:hover i {
  289. color: #fff !important;
  290. }
  291. #header-quick-access .zoom-controls .zoom-level {
  292. font-weight: bold;
  293. color: #333;
  294. min-width: 3vw;
  295. text-align: center;
  296. font-size: clamp(12px, 2vw, 14px);
  297. cursor: pointer;
  298. padding: 0.3vh 0.5vw;
  299. border-radius: 0.3vw;
  300. transition: all 0.2s ease;
  301. position: relative;
  302. display: flex;
  303. align-items: center;
  304. justify-content: center;
  305. }
  306. #header-quick-access .zoom-controls .zoom-level:hover {
  307. background: #f0f0f0;
  308. color: #000;
  309. }
  310. #header-quick-access .zoom-controls .zoom-display {
  311. display: inline-block;
  312. }
  313. #header-quick-access .zoom-controls .zoom-input {
  314. background: #fff;
  315. color: #000;
  316. border: 1px solid #ccc;
  317. border-radius: 0.3vw;
  318. padding: 0.3vh 0.5vw;
  319. font-weight: bold;
  320. text-align: center;
  321. width: 100%;
  322. min-width: 3vw;
  323. font-size: clamp(12px, 2vw, 14px);
  324. }
  325. /* Make zoom input wider on all mobile screens */
  326. @media screen and (max-width: 800px),
  327. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  328. #header-quick-access .zoom-controls .zoom-input {
  329. min-width: 50px !important; /* Wider on mobile */
  330. width: 50px !important; /* Fixed width to show all numbers */
  331. font-size: 14px !important; /* Slightly larger text */
  332. }
  333. }
  334. #header-quick-access .zoom-controls .zoom-input:focus {
  335. outline: 2px solid #005fcc;
  336. outline-offset: 1px;
  337. }
  338. /* Mobile Mode Toggle in Header */
  339. #header-quick-access .mobile-mode-toggle {
  340. display: flex;
  341. align-items: center;
  342. margin: 0 1vw;
  343. float: left;
  344. }
  345. #header-quick-access .mobile-mode-toggle .board-header-btn {
  346. padding: 0.5vh 0.8vw !important;
  347. border-radius: 0.3vw !important;
  348. background: #fff !important;
  349. border: 1px solid #000 !important;
  350. transition: all 0.2s ease !important;
  351. color: #000 !important;
  352. height: auto !important;
  353. line-height: normal !important;
  354. margin: 0 !important;
  355. float: none !important;
  356. overflow: visible !important;
  357. text-decoration: none !important;
  358. display: flex !important;
  359. align-items: center !important;
  360. justify-content: center !important;
  361. gap: 6px !important;
  362. position: relative !important;
  363. }
  364. #header-quick-access .mobile-mode-toggle .board-header-btn i {
  365. color: #666 !important;
  366. float: none !important;
  367. display: inline !important;
  368. line-height: normal !important;
  369. margin: 0 !important;
  370. transition: all 0.2s ease !important;
  371. font-size: clamp(14px, 2.8vw, 18px) !important;
  372. }
  373. #header-quick-access .mobile-mode-toggle .board-header-btn i.active {
  374. color: #000 !important;
  375. font-weight: bold !important;
  376. transform: scale(1.1) !important;
  377. }
  378. #header-quick-access .mobile-mode-toggle .board-header-btn:hover {
  379. background: #000 !important;
  380. border-color: #000 !important;
  381. color: #fff !important;
  382. }
  383. #header-quick-access .mobile-mode-toggle .board-header-btn:hover i {
  384. color: #ccc !important;
  385. }
  386. #header-quick-access .mobile-mode-toggle .board-header-btn:hover i.active {
  387. color: #fff !important;
  388. }
  389. #header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active {
  390. background: #fff !important;
  391. border-color: #000 !important;
  392. color: #000 !important;
  393. }
  394. #header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active i.mobile-icon {
  395. color: #000 !important;
  396. font-weight: bold !important;
  397. transform: scale(1.1) !important;
  398. }
  399. #header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active i.desktop-icon {
  400. color: #666 !important;
  401. }
  402. #header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active {
  403. background: #fff !important;
  404. border-color: #000 !important;
  405. color: #000 !important;
  406. }
  407. #header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active i.mobile-icon {
  408. color: #666 !important;
  409. }
  410. #header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active i.desktop-icon {
  411. color: #000 !important;
  412. font-weight: bold !important;
  413. transform: scale(1.1) !important;
  414. }
  415. #header-quick-access #header-user-bar .header-user-bar-name i.fa-chevron-down {
  416. margin-right: 4px;
  417. }
  418. #header-quick-access #header-new-board-icon {
  419. flex-grow: 1;
  420. margin: 6px 5px 0;
  421. width: 12px;
  422. }
  423. @media screen and (max-width: 800px),
  424. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  425. #header #header-main-bar {
  426. height: 40px;
  427. }
  428. #header #header-main-bar .board-header-btns {
  429. margin-top: 0px;
  430. }
  431. #header #header-main-bar .board-header-btn {
  432. height: 32px;
  433. line-height: 32px;
  434. font-size: 15px;
  435. }
  436. #header #header-main-bar .board-header-btn i.fa {
  437. line-height: 32px;
  438. }
  439. #header #header-main-bar .board-header-btn i.fa + span {
  440. display: none;
  441. }
  442. #header-quick-access {
  443. transition: background-color 0.4s;
  444. width: 100%;
  445. z-index: 30;
  446. flex-wrap: nowrap !important; /* Force single row on mobile */
  447. overflow: hidden; /* Prevent content overflow */
  448. }
  449. /* Mobile home icon styling */
  450. #header-quick-access .home-icon {
  451. margin-right: 0.5rem;
  452. }
  453. #header-quick-access .home-icon .fa-home {
  454. font-size: 16px;
  455. margin-right: 4px;
  456. }
  457. #header-quick-access .home-icon a {
  458. padding: 4px 8px;
  459. font-size: 12px;
  460. }
  461. /* Ensure All Boards text is visible on mobile */
  462. #header-quick-access .home-icon.allBoards {
  463. display: flex;
  464. align-items: center;
  465. }
  466. /* Adjust for very small screens */
  467. @media screen and (max-width: 480px) {
  468. #header-quick-access .home-icon a {
  469. font-size: 11px;
  470. padding: 3px 6px;
  471. }
  472. #header-quick-access .home-icon .fa-home {
  473. font-size: 14px;
  474. margin-right: 3px;
  475. }
  476. }
  477. /* Mobile - make all text and icons 2x bigger above #content by default */
  478. @media screen and (max-width: 800px),
  479. screen and (max-device-width: 800px),
  480. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  481. screen and (max-width: 800px) and (orientation: portrait),
  482. screen and (max-width: 800px) and (orientation: landscape) {
  483. #header-quick-access {
  484. height: 48px !important; /* Fixed height for mobile */
  485. min-height: 48px !important; /* Minimum height for mobile */
  486. flex-wrap: nowrap !important; /* Force single row */
  487. align-items: center !important; /* Center align items */
  488. padding: 8px 0px !important; /* Adjust padding for mobile */
  489. overflow: hidden !important; /* Prevent content overflow */
  490. }
  491. #header-quick-access {
  492. font-size: 2em !important; /* 2x bigger base font size */
  493. }
  494. #header-quick-access * {
  495. font-size: inherit !important; /* Inherit the 2x scaling */
  496. }
  497. #header-quick-access .fa,
  498. #header-quick-access .icon {
  499. font-size: 2em !important; /* 2x bigger icons */
  500. }
  501. #header-quick-access .home-icon a {
  502. font-size: 1em !important; /* Use inherited 2x scaling */
  503. }
  504. #header-quick-access .home-icon .fa-home {
  505. font-size: 1em !important; /* Use inherited 2x scaling */
  506. }
  507. #header-quick-access .zoom-controls {
  508. font-size: 1em !important; /* Use inherited 2x scaling */
  509. }
  510. #header-quick-access .zoom-controls .zoom-level {
  511. font-size: 1em !important; /* Use inherited 2x scaling */
  512. }
  513. #header-quick-access .zoom-controls .zoom-input {
  514. font-size: 1em !important; /* Use inherited 2x scaling */
  515. }
  516. #header-quick-access .mobile-mode-toggle .board-header-btn {
  517. font-size: 1em !important; /* Use inherited 2x scaling */
  518. }
  519. #header-quick-access .mobile-mode-toggle .board-header-btn i {
  520. font-size: 1em !important; /* Use inherited 2x scaling */
  521. }
  522. /* Mobile header wrapping and spacing */
  523. #header-quick-access .home-icon {
  524. flex-shrink: 0 !important;
  525. margin-right: 0.5rem !important;
  526. margin-bottom: 4px !important;
  527. }
  528. #header-quick-access .zoom-controls {
  529. flex-shrink: 0 !important;
  530. margin: 0 0.5rem !important;
  531. margin-bottom: 4px !important;
  532. }
  533. #header-quick-access .mobile-mode-toggle {
  534. flex-shrink: 0 !important;
  535. margin: 0 0.5rem !important;
  536. margin-bottom: 4px !important;
  537. }
  538. #header-quick-access #notifications {
  539. flex-shrink: 0 !important;
  540. margin: 0 0.5rem !important;
  541. margin-bottom: 4px !important;
  542. }
  543. #header-quick-access #header-user-bar {
  544. flex-shrink: 0 !important;
  545. margin: 0 0.5rem !important;
  546. margin-bottom: 4px !important;
  547. }
  548. #header-quick-access ul.header-quick-access-list {
  549. flex-shrink: 0 !important;
  550. margin: 0 0.5rem !important;
  551. margin-bottom: 4px !important;
  552. width: auto !important;
  553. }
  554. }
  555. /* Mobile All Boards page - make logo row elements 2x bigger */
  556. @media screen and (max-width: 800px),
  557. screen and (max-device-width: 800px),
  558. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  559. screen and (max-width: 800px) and (orientation: portrait),
  560. screen and (max-width: 800px) and (orientation: landscape) {
  561. .wrapper ~ #header-quick-access,
  562. body:not(.board-view) #header-quick-access {
  563. font-size: 2em !important; /* 2x bigger base font size for logo row */
  564. }
  565. /* iPhone 12 Mini specific - 3x bigger for All Boards page */
  566. @media screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
  567. screen and (max-width: 375px) and (max-height: 812px), /* iPhone 12 Mini viewport */
  568. screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 375px) /* iPhone 12 Mini Retina */ {
  569. .wrapper ~ #header-quick-access,
  570. body:not(.board-view) #header-quick-access {
  571. font-size: 3em !important; /* 3x bigger base font size for iPhone 12 Mini All Boards page */
  572. }
  573. }
  574. .wrapper ~ #header-quick-access *,
  575. body:not(.board-view) #header-quick-access * {
  576. font-size: inherit !important; /* Inherit the 2x scaling */
  577. }
  578. .wrapper ~ #header-quick-access .fa,
  579. .wrapper ~ #header-quick-access .icon,
  580. body:not(.board-view) #header-quick-access .fa,
  581. body:not(.board-view) #header-quick-access .icon {
  582. font-size: 2em !important; /* 2x bigger icons in logo row */
  583. }
  584. .wrapper ~ #header-quick-access .home-icon a,
  585. body:not(.board-view) #header-quick-access .home-icon a {
  586. font-size: 1em !important; /* Use inherited 2x scaling */
  587. }
  588. .wrapper ~ #header-quick-access .home-icon .fa-home,
  589. body:not(.board-view) #header-quick-access .home-icon .fa-home {
  590. font-size: 1em !important; /* Use inherited 2x scaling */
  591. }
  592. .wrapper ~ #header-quick-access .zoom-controls,
  593. body:not(.board-view) #header-quick-access .zoom-controls {
  594. font-size: 1em !important; /* Use inherited 2x scaling */
  595. }
  596. .wrapper ~ #header-quick-access .zoom-controls .zoom-level,
  597. body:not(.board-view) #header-quick-access .zoom-controls .zoom-level {
  598. font-size: 1em !important; /* Use inherited 2x scaling */
  599. }
  600. .wrapper ~ #header-quick-access .zoom-controls .zoom-input,
  601. body:not(.board-view) #header-quick-access .zoom-controls .zoom-input {
  602. font-size: 1em !important; /* Use inherited 2x scaling */
  603. }
  604. .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn,
  605. body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn {
  606. font-size: 1em !important; /* Use inherited 2x scaling */
  607. }
  608. .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn i,
  609. body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn i {
  610. font-size: 1em !important; /* Use inherited 2x scaling */
  611. }
  612. .wrapper ~ #header-quick-access #notifications,
  613. body:not(.board-view) #header-quick-access #notifications {
  614. font-size: 1em !important; /* Use inherited 2x scaling */
  615. }
  616. .wrapper ~ #header-quick-access #notifications .fa,
  617. body:not(.board-view) #header-quick-access #notifications .fa {
  618. font-size: 1em !important; /* Use inherited 2x scaling */
  619. }
  620. .wrapper ~ #header-quick-access #header-user-bar,
  621. body:not(.board-view) #header-quick-access #header-user-bar {
  622. font-size: 1em !important; /* Use inherited 2x scaling */
  623. }
  624. .wrapper ~ #header-quick-access #header-user-bar .fa,
  625. body:not(.board-view) #header-quick-access #header-user-bar .fa {
  626. font-size: 1em !important; /* Use inherited 2x scaling */
  627. }
  628. }
  629. /* iPhone 12 Mini specific - make header elements 3x bigger */
  630. @media screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
  631. screen and (max-width: 375px) and (max-height: 812px), /* iPhone 12 Mini viewport */
  632. screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 375px), /* iPhone 12 Mini Retina */
  633. screen and (max-width: 375px) and (orientation: portrait), /* iPhone 12 Mini portrait */
  634. screen and (max-width: 375px) and (orientation: landscape) /* iPhone 12 Mini landscape */ {
  635. #header-quick-access {
  636. font-size: 3em !important; /* 3x bigger base font size for iPhone 12 Mini */
  637. height: auto !important; /* Allow height to grow */
  638. min-height: 84px !important; /* Much taller minimum height for iPhone 12 Mini */
  639. flex-wrap: wrap !important; /* Force wrapping */
  640. align-items: flex-start !important; /* Align to top when wrapping */
  641. padding: 18px 0px !important; /* More padding for iPhone 12 Mini */
  642. }
  643. #header-quick-access * {
  644. font-size: inherit !important; /* Inherit the 2x scaling */
  645. }
  646. #header-quick-access .fa,
  647. #header-quick-access .icon {
  648. font-size: 3em !important; /* 3x bigger icons for iPhone 12 Mini */
  649. }
  650. #header-quick-access .home-icon a {
  651. font-size: 1em !important; /* Use inherited 2x scaling */
  652. }
  653. #header-quick-access .home-icon .fa-home {
  654. font-size: 1em !important; /* Use inherited 2x scaling */
  655. }
  656. #header-quick-access .zoom-controls {
  657. font-size: 1em !important; /* Use inherited 2x scaling */
  658. }
  659. #header-quick-access .zoom-controls .zoom-level {
  660. font-size: 1em !important; /* Use inherited 2x scaling */
  661. }
  662. #header-quick-access .zoom-controls .zoom-input {
  663. font-size: 1em !important; /* Use inherited 2x scaling */
  664. }
  665. #header-quick-access .mobile-mode-toggle .board-header-btn {
  666. font-size: 1em !important; /* Use inherited 2x scaling */
  667. }
  668. #header-quick-access .mobile-mode-toggle .board-header-btn i {
  669. font-size: 1em !important; /* Use inherited 2x scaling */
  670. }
  671. #header-quick-access #notifications {
  672. font-size: 1em !important; /* Use inherited 2x scaling */
  673. }
  674. #header-quick-access #notifications .fa {
  675. font-size: 1em !important; /* Use inherited 2x scaling */
  676. }
  677. #header-quick-access #header-user-bar {
  678. font-size: 1em !important; /* Use inherited 2x scaling */
  679. }
  680. #header-quick-access #header-user-bar .fa {
  681. font-size: 1em !important; /* Use inherited 2x scaling */
  682. }
  683. /* iPhone 12 Mini header wrapping and spacing */
  684. #header-quick-access .home-icon {
  685. flex-shrink: 0 !important;
  686. margin-right: 0.5rem !important;
  687. margin-bottom: 6px !important;
  688. }
  689. #header-quick-access .zoom-controls {
  690. flex-shrink: 0 !important;
  691. margin: 0 0.5rem !important;
  692. margin-bottom: 6px !important;
  693. }
  694. #header-quick-access .mobile-mode-toggle {
  695. flex-shrink: 0 !important;
  696. margin: 0 0.5rem !important;
  697. margin-bottom: 6px !important;
  698. }
  699. #header-quick-access #notifications {
  700. flex-shrink: 0 !important;
  701. margin: 0 0.5rem !important;
  702. margin-bottom: 6px !important;
  703. }
  704. #header-quick-access #header-user-bar {
  705. flex-shrink: 0 !important;
  706. margin: 0 0.5rem !important;
  707. margin-bottom: 6px !important;
  708. }
  709. #header-quick-access ul.header-quick-access-list {
  710. flex-shrink: 0 !important;
  711. margin: 0 0.5rem !important;
  712. margin-bottom: 6px !important;
  713. width: auto !important;
  714. }
  715. }
  716. /* iPhone 12 Mini and very small screens - make header elements much larger */
  717. @media screen and (max-width: 400px) and (max-height: 900px),
  718. screen and (max-device-width: 400px) and (max-device-height: 900px),
  719. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 400px),
  720. screen and (max-width: 400px) and (orientation: portrait),
  721. screen and (max-width: 400px) and (orientation: landscape),
  722. screen and (max-width: 430px) and (max-height: 950px), /* iPhone 12 Mini range */
  723. screen and (max-width: 450px) and (max-height: 1000px), /* iPhone range */
  724. screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 450px), /* Retina displays */
  725. screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
  726. screen and (device-width: 390px) and (device-height: 844px), /* iPhone 12/13 */
  727. screen and (device-width: 428px) and (device-height: 926px) /* iPhone 12 Pro Max */ {
  728. #header-quick-access {
  729. height: 40px !important; /* Taller header */
  730. padding: 12px 0px !important;
  731. }
  732. #header-quick-access .home-icon a {
  733. font-size: 16px !important; /* Much larger text */
  734. padding: 8px 12px !important;
  735. }
  736. #header-quick-access .home-icon .fa-home {
  737. font-size: 20px !important; /* Much larger icon */
  738. margin-right: 6px !important;
  739. }
  740. #header-quick-access .home-icon {
  741. margin-right: 1rem !important;
  742. }
  743. /* Make zoom controls larger */
  744. #header-quick-access .zoom-controls {
  745. padding: 0.8vh 1.5vw !important;
  746. margin: 0 1.5vw !important;
  747. }
  748. #header-quick-access .zoom-controls .zoom-level {
  749. font-size: 16px !important; /* Larger zoom text */
  750. padding: 0.5vh 0.8vw !important;
  751. min-width: 4vw !important;
  752. }
  753. #header-quick-access .zoom-controls .zoom-input {
  754. font-size: 16px !important; /* Larger input text */
  755. padding: 0.5vh 0.8vw !important;
  756. min-width: 6vw !important; /* Much wider for mobile */
  757. width: 60px !important; /* Fixed width to show all numbers */
  758. }
  759. /* Make mobile mode toggle larger */
  760. #header-quick-access .mobile-mode-toggle .board-header-btn {
  761. padding: 0.8vh 1.2vw !important;
  762. font-size: 16px !important;
  763. }
  764. #header-quick-access .mobile-mode-toggle .board-header-btn i {
  765. font-size: 18px !important;
  766. }
  767. }
  768. /* Fallback for iPhone devices using JavaScript detection */
  769. .iphone-device #header-quick-access {
  770. font-size: 2em !important; /* 2x bigger base font size */
  771. height: auto !important; /* Allow height to grow */
  772. min-height: 48px !important; /* Minimum height for mobile */
  773. flex-wrap: wrap !important; /* Force wrapping */
  774. align-items: flex-start !important; /* Align to top when wrapping */
  775. padding: 8px 0px !important; /* Adjust padding for mobile */
  776. }
  777. .iphone-device #header-quick-access * {
  778. font-size: inherit !important; /* Inherit the 2x scaling */
  779. }
  780. .iphone-device #header-quick-access .fa,
  781. .iphone-device #header-quick-access .icon {
  782. font-size: 2em !important; /* 2x bigger icons */
  783. }
  784. .iphone-device #header-quick-access .home-icon a {
  785. font-size: 1em !important; /* Use inherited 2x scaling */
  786. }
  787. .iphone-device #header-quick-access .home-icon .fa-home {
  788. font-size: 1em !important; /* Use inherited 2x scaling */
  789. }
  790. .iphone-device #header-quick-access .zoom-controls {
  791. font-size: 1em !important; /* Use inherited 2x scaling */
  792. }
  793. .iphone-device #header-quick-access .zoom-controls .zoom-level {
  794. font-size: 1em !important; /* Use inherited 2x scaling */
  795. }
  796. .iphone-device #header-quick-access .zoom-controls .zoom-input {
  797. font-size: 1em !important; /* Use inherited 2x scaling */
  798. }
  799. .iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn {
  800. font-size: 1em !important; /* Use inherited 2x scaling */
  801. }
  802. .iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn i {
  803. font-size: 1em !important; /* Use inherited 2x scaling */
  804. }
  805. /* iPhone device header wrapping and spacing */
  806. .iphone-device #header-quick-access .home-icon {
  807. flex-shrink: 0 !important;
  808. margin-right: 0.5rem !important;
  809. margin-bottom: 4px !important;
  810. }
  811. .iphone-device #header-quick-access .zoom-controls {
  812. flex-shrink: 0 !important;
  813. margin: 0 0.5rem !important;
  814. margin-bottom: 4px !important;
  815. }
  816. .iphone-device #header-quick-access .mobile-mode-toggle {
  817. flex-shrink: 0 !important;
  818. margin: 0 0.5rem !important;
  819. margin-bottom: 4px !important;
  820. }
  821. .iphone-device #header-quick-access #notifications {
  822. flex-shrink: 0 !important;
  823. margin: 0 0.5rem !important;
  824. margin-bottom: 4px !important;
  825. }
  826. .iphone-device #header-quick-access #header-user-bar {
  827. flex-shrink: 0 !important;
  828. margin: 0 0.5rem !important;
  829. margin-bottom: 4px !important;
  830. }
  831. .iphone-device #header-quick-access ul.header-quick-access-list {
  832. flex-shrink: 0 !important;
  833. margin: 0 0.5rem !important;
  834. margin-bottom: 4px !important;
  835. width: auto !important;
  836. }
  837. /* iPhone 12 Mini specific - JavaScript detection fallback */
  838. .iphone-device #header-quick-access {
  839. font-size: 3em !important; /* 3x bigger base font size for iPhone 12 Mini */
  840. height: auto !important; /* Allow height to grow */
  841. min-height: 84px !important; /* Much taller minimum height for iPhone 12 Mini */
  842. flex-wrap: wrap !important; /* Force wrapping */
  843. align-items: flex-start !important; /* Align to top when wrapping */
  844. padding: 18px 0px !important; /* More padding for iPhone 12 Mini */
  845. }
  846. .iphone-device #header-quick-access * {
  847. font-size: inherit !important; /* Inherit the 2x scaling */
  848. }
  849. .iphone-device #header-quick-access .fa,
  850. .iphone-device #header-quick-access .icon {
  851. font-size: 3em !important; /* 3x bigger icons for iPhone 12 Mini */
  852. }
  853. .iphone-device #header-quick-access .home-icon a {
  854. font-size: 1em !important; /* Use inherited 2x scaling */
  855. }
  856. .iphone-device #header-quick-access .home-icon .fa-home {
  857. font-size: 1em !important; /* Use inherited 2x scaling */
  858. }
  859. .iphone-device #header-quick-access .zoom-controls {
  860. font-size: 1em !important; /* Use inherited 2x scaling */
  861. }
  862. .iphone-device #header-quick-access .zoom-controls .zoom-level {
  863. font-size: 1em !important; /* Use inherited 2x scaling */
  864. }
  865. .iphone-device #header-quick-access .zoom-controls .zoom-input {
  866. font-size: 1em !important; /* Use inherited 2x scaling */
  867. }
  868. .iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn {
  869. font-size: 1em !important; /* Use inherited 2x scaling */
  870. }
  871. .iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn i {
  872. font-size: 1em !important; /* Use inherited 2x scaling */
  873. }
  874. .iphone-device #header-quick-access #notifications {
  875. font-size: 1em !important; /* Use inherited 2x scaling */
  876. }
  877. .iphone-device #header-quick-access #notifications .fa {
  878. font-size: 1em !important; /* Use inherited 2x scaling */
  879. }
  880. .iphone-device #header-quick-access #header-user-bar {
  881. font-size: 1em !important; /* Use inherited 2x scaling */
  882. }
  883. .iphone-device #header-quick-access #header-user-bar .fa {
  884. font-size: 1em !important; /* Use inherited 2x scaling */
  885. }
  886. /* iPhone 12 Mini header wrapping and spacing - JavaScript fallback */
  887. .iphone-device #header-quick-access .home-icon {
  888. flex-shrink: 0 !important;
  889. margin-right: 0.5rem !important;
  890. margin-bottom: 6px !important;
  891. }
  892. .iphone-device #header-quick-access .zoom-controls {
  893. flex-shrink: 0 !important;
  894. margin: 0 0.5rem !important;
  895. margin-bottom: 6px !important;
  896. }
  897. .iphone-device #header-quick-access .mobile-mode-toggle {
  898. flex-shrink: 0 !important;
  899. margin: 0 0.5rem !important;
  900. margin-bottom: 6px !important;
  901. }
  902. .iphone-device #header-quick-access #notifications {
  903. flex-shrink: 0 !important;
  904. margin: 0 0.5rem !important;
  905. margin-bottom: 6px !important;
  906. }
  907. .iphone-device #header-quick-access #header-user-bar {
  908. flex-shrink: 0 !important;
  909. margin: 0 0.5rem !important;
  910. margin-bottom: 6px !important;
  911. }
  912. .iphone-device #header-quick-access ul.header-quick-access-list {
  913. flex-shrink: 0 !important;
  914. margin: 0 0.5rem !important;
  915. margin-bottom: 6px !important;
  916. width: auto !important;
  917. }
  918. /* iPhone 12 Mini All Boards page - make logo row elements 3x bigger */
  919. .iphone-device .wrapper ~ #header-quick-access,
  920. .iphone-device body:not(.board-view) #header-quick-access {
  921. font-size: 3em !important; /* 3x bigger base font size for logo row */
  922. }
  923. .iphone-device .wrapper ~ #header-quick-access *,
  924. .iphone-device body:not(.board-view) #header-quick-access * {
  925. font-size: inherit !important; /* Inherit the 2x scaling */
  926. }
  927. .iphone-device .wrapper ~ #header-quick-access .fa,
  928. .iphone-device .wrapper ~ #header-quick-access .icon,
  929. .iphone-device body:not(.board-view) #header-quick-access .fa,
  930. .iphone-device body:not(.board-view) #header-quick-access .icon {
  931. font-size: 2em !important; /* 2x bigger icons in logo row */
  932. }
  933. .iphone-device .wrapper ~ #header-quick-access .home-icon a,
  934. .iphone-device body:not(.board-view) #header-quick-access .home-icon a {
  935. font-size: 1em !important; /* Use inherited 2x scaling */
  936. }
  937. .iphone-device .wrapper ~ #header-quick-access .home-icon .fa-home,
  938. .iphone-device body:not(.board-view) #header-quick-access .home-icon .fa-home {
  939. font-size: 1em !important; /* Use inherited 2x scaling */
  940. }
  941. .iphone-device .wrapper ~ #header-quick-access .zoom-controls,
  942. .iphone-device body:not(.board-view) #header-quick-access .zoom-controls {
  943. font-size: 1em !important; /* Use inherited 2x scaling */
  944. }
  945. .iphone-device .wrapper ~ #header-quick-access .zoom-controls .zoom-level,
  946. .iphone-device body:not(.board-view) #header-quick-access .zoom-controls .zoom-level {
  947. font-size: 1em !important; /* Use inherited 2x scaling */
  948. }
  949. .iphone-device .wrapper ~ #header-quick-access .zoom-controls .zoom-input,
  950. .iphone-device body:not(.board-view) #header-quick-access .zoom-controls .zoom-input {
  951. font-size: 1em !important; /* Use inherited 2x scaling */
  952. }
  953. .iphone-device .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn,
  954. .iphone-device body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn {
  955. font-size: 1em !important; /* Use inherited 2x scaling */
  956. }
  957. .iphone-device .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn i,
  958. .iphone-device body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn i {
  959. font-size: 1em !important; /* Use inherited 2x scaling */
  960. }
  961. .iphone-device .wrapper ~ #header-quick-access #notifications,
  962. .iphone-device body:not(.board-view) #header-quick-access #notifications {
  963. font-size: 1em !important; /* Use inherited 2x scaling */
  964. }
  965. .iphone-device .wrapper ~ #header-quick-access #notifications .fa,
  966. .iphone-device body:not(.board-view) #header-quick-access #notifications .fa {
  967. font-size: 1em !important; /* Use inherited 2x scaling */
  968. }
  969. .iphone-device .wrapper ~ #header-quick-access #header-user-bar,
  970. .iphone-device body:not(.board-view) #header-quick-access #header-user-bar {
  971. font-size: 1em !important; /* Use inherited 2x scaling */
  972. }
  973. .iphone-device .wrapper ~ #header-quick-access #header-user-bar .fa,
  974. .iphone-device body:not(.board-view) #header-quick-access #header-user-bar .fa {
  975. font-size: 1em !important; /* Use inherited 2x scaling */
  976. }
  977. #header-quick-access ul {
  978. width: calc(100% - 60px);
  979. margin-right: 10px;
  980. }
  981. #header-quick-access ul li {
  982. height: 100%;
  983. }
  984. #header-quick-access ul li a {
  985. height: 100%;
  986. }
  987. #header-quick-access #header-new-board-icon {
  988. display: none;
  989. }
  990. #header-quick-access #header-user-bar {
  991. right: 0px;
  992. padding: 10px;
  993. margin: -8px 0 -10px -10px;
  994. }
  995. }
  996. @media print {
  997. #header-quick-access .allBoards,
  998. #header-quick-access ul,
  999. #header-quick-access .js-toggle-desktop-drag-handles,
  1000. #header-quick-access #notifications,
  1001. #header-quick-access #header-new-board-icon,
  1002. #header #header-main-bar .board-header-btns {
  1003. display: none;
  1004. }
  1005. #header #header-user-bar {
  1006. float: right;
  1007. }
  1008. }
  1009. .announcement .viewer {
  1010. display: inline-block;
  1011. }
  1012. .announcement,
  1013. .offline-warning {
  1014. width: 100%;
  1015. text-align: center;
  1016. padding: 0;
  1017. margin: 0;
  1018. background: #f8ecbd;
  1019. clear: both;
  1020. }
  1021. .announcement p,
  1022. .offline-warning p {
  1023. margin: 7px;
  1024. padding: 0;
  1025. }
  1026. #headerIsSettingDatabaseCallDone {
  1027. display: none;
  1028. }