header.css 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176
  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. #header-quick-access .zoom-controls .zoom-input {
  328. min-width: 50px !important; /* Wider on mobile */
  329. width: 50px !important; /* Fixed width to show all numbers */
  330. font-size: 14px !important; /* Slightly larger text */
  331. }
  332. }
  333. #header-quick-access .zoom-controls .zoom-input:focus {
  334. outline: 2px solid #005fcc;
  335. outline-offset: 1px;
  336. }
  337. /* Mobile Mode Toggle in Header */
  338. #header-quick-access .mobile-mode-toggle {
  339. display: flex;
  340. align-items: center;
  341. margin: 0 1vw;
  342. float: left;
  343. }
  344. #header-quick-access .mobile-mode-toggle .board-header-btn {
  345. padding: 0.5vh 0.8vw !important;
  346. border-radius: 0.3vw !important;
  347. background: #fff !important;
  348. border: 1px solid #000 !important;
  349. transition: all 0.2s ease !important;
  350. color: #000 !important;
  351. height: auto !important;
  352. line-height: normal !important;
  353. margin: 0 !important;
  354. float: none !important;
  355. overflow: visible !important;
  356. text-decoration: none !important;
  357. display: flex !important;
  358. align-items: center !important;
  359. justify-content: center !important;
  360. gap: 6px !important;
  361. position: relative !important;
  362. }
  363. #header-quick-access .mobile-mode-toggle .board-header-btn i {
  364. color: #666 !important;
  365. float: none !important;
  366. display: inline !important;
  367. line-height: normal !important;
  368. margin: 0 !important;
  369. transition: all 0.2s ease !important;
  370. font-size: clamp(14px, 2.8vw, 18px) !important;
  371. }
  372. #header-quick-access .mobile-mode-toggle .board-header-btn i.active {
  373. color: #000 !important;
  374. font-weight: bold !important;
  375. transform: scale(1.1) !important;
  376. }
  377. #header-quick-access .mobile-mode-toggle .board-header-btn:hover {
  378. background: #000 !important;
  379. border-color: #000 !important;
  380. color: #fff !important;
  381. }
  382. #header-quick-access .mobile-mode-toggle .board-header-btn:hover i {
  383. color: #ccc !important;
  384. }
  385. #header-quick-access .mobile-mode-toggle .board-header-btn:hover i.active {
  386. color: #fff !important;
  387. }
  388. #header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active {
  389. background: #fff !important;
  390. border-color: #000 !important;
  391. color: #000 !important;
  392. }
  393. #header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active i.mobile-icon {
  394. color: #000 !important;
  395. font-weight: bold !important;
  396. transform: scale(1.1) !important;
  397. }
  398. #header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active i.desktop-icon {
  399. color: #666 !important;
  400. }
  401. #header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active {
  402. background: #fff !important;
  403. border-color: #000 !important;
  404. color: #000 !important;
  405. }
  406. #header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active i.mobile-icon {
  407. color: #666 !important;
  408. }
  409. #header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active i.desktop-icon {
  410. color: #000 !important;
  411. font-weight: bold !important;
  412. transform: scale(1.1) !important;
  413. }
  414. #header-quick-access #header-user-bar .header-user-bar-name i.fa-chevron-down {
  415. margin-right: 4px;
  416. }
  417. #header-quick-access #header-new-board-icon {
  418. flex-grow: 1;
  419. margin: 6px 5px 0;
  420. width: 12px;
  421. }
  422. @media screen and (max-width: 800px) {
  423. #header #header-main-bar {
  424. height: 40px;
  425. }
  426. #header #header-main-bar .board-header-btns {
  427. margin-top: 0px;
  428. }
  429. #header #header-main-bar .board-header-btn {
  430. height: 32px;
  431. line-height: 32px;
  432. font-size: 15px;
  433. }
  434. #header #header-main-bar .board-header-btn i.fa {
  435. line-height: 32px;
  436. }
  437. #header #header-main-bar .board-header-btn i.fa + span {
  438. display: none;
  439. }
  440. #header-quick-access {
  441. transition: background-color 0.4s;
  442. width: 100%;
  443. z-index: 30;
  444. flex-wrap: nowrap !important; /* Force single row on mobile */
  445. overflow: hidden; /* Prevent content overflow */
  446. }
  447. /* Mobile home icon styling */
  448. #header-quick-access .home-icon {
  449. margin-right: 0.5rem;
  450. }
  451. #header-quick-access .home-icon .fa-home {
  452. font-size: 16px;
  453. margin-right: 4px;
  454. }
  455. #header-quick-access .home-icon a {
  456. padding: 4px 8px;
  457. font-size: 12px;
  458. }
  459. /* Ensure All Boards text is visible on mobile */
  460. #header-quick-access .home-icon.allBoards {
  461. display: flex;
  462. align-items: center;
  463. }
  464. /* Adjust for very small screens */
  465. @media screen and (max-width: 480px) {
  466. #header-quick-access .home-icon a {
  467. font-size: 11px;
  468. padding: 3px 6px;
  469. }
  470. #header-quick-access .home-icon .fa-home {
  471. font-size: 14px;
  472. margin-right: 3px;
  473. }
  474. }
  475. /* Mobile - make all text and icons 2x bigger above #content by default */
  476. @media screen and (max-width: 800px),
  477. screen and (max-device-width: 800px),
  478. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  479. screen and (max-width: 800px) and (orientation: portrait),
  480. screen and (max-width: 800px) and (orientation: landscape) {
  481. #header-quick-access {
  482. height: 48px !important; /* Fixed height for mobile */
  483. min-height: 48px !important; /* Minimum height for mobile */
  484. flex-wrap: nowrap !important; /* Force single row */
  485. align-items: center !important; /* Center align items */
  486. padding: 8px 0px !important; /* Adjust padding for mobile */
  487. overflow: hidden !important; /* Prevent content overflow */
  488. }
  489. #header-quick-access {
  490. font-size: 2em !important; /* 2x bigger base font size */
  491. }
  492. #header-quick-access * {
  493. font-size: inherit !important; /* Inherit the 2x scaling */
  494. }
  495. #header-quick-access .fa,
  496. #header-quick-access .icon {
  497. font-size: 2em !important; /* 2x bigger icons */
  498. }
  499. #header-quick-access .home-icon a {
  500. font-size: 1em !important; /* Use inherited 2x scaling */
  501. }
  502. #header-quick-access .home-icon .fa-home {
  503. font-size: 1em !important; /* Use inherited 2x scaling */
  504. }
  505. #header-quick-access .zoom-controls {
  506. font-size: 1em !important; /* Use inherited 2x scaling */
  507. }
  508. #header-quick-access .zoom-controls .zoom-level {
  509. font-size: 1em !important; /* Use inherited 2x scaling */
  510. }
  511. #header-quick-access .zoom-controls .zoom-input {
  512. font-size: 1em !important; /* Use inherited 2x scaling */
  513. }
  514. #header-quick-access .mobile-mode-toggle .board-header-btn {
  515. font-size: 1em !important; /* Use inherited 2x scaling */
  516. }
  517. #header-quick-access .mobile-mode-toggle .board-header-btn i {
  518. font-size: 1em !important; /* Use inherited 2x scaling */
  519. }
  520. /* Mobile header wrapping and spacing */
  521. #header-quick-access .home-icon {
  522. flex-shrink: 0 !important;
  523. margin-right: 0.5rem !important;
  524. margin-bottom: 4px !important;
  525. }
  526. #header-quick-access .zoom-controls {
  527. flex-shrink: 0 !important;
  528. margin: 0 0.5rem !important;
  529. margin-bottom: 4px !important;
  530. }
  531. #header-quick-access .mobile-mode-toggle {
  532. flex-shrink: 0 !important;
  533. margin: 0 0.5rem !important;
  534. margin-bottom: 4px !important;
  535. }
  536. #header-quick-access #notifications {
  537. flex-shrink: 0 !important;
  538. margin: 0 0.5rem !important;
  539. margin-bottom: 4px !important;
  540. }
  541. #header-quick-access #header-user-bar {
  542. flex-shrink: 0 !important;
  543. margin: 0 0.5rem !important;
  544. margin-bottom: 4px !important;
  545. }
  546. #header-quick-access ul.header-quick-access-list {
  547. flex-shrink: 0 !important;
  548. margin: 0 0.5rem !important;
  549. margin-bottom: 4px !important;
  550. width: auto !important;
  551. }
  552. }
  553. /* Mobile All Boards page - make logo row elements 2x bigger */
  554. @media screen and (max-width: 800px),
  555. screen and (max-device-width: 800px),
  556. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  557. screen and (max-width: 800px) and (orientation: portrait),
  558. screen and (max-width: 800px) and (orientation: landscape) {
  559. .wrapper ~ #header-quick-access,
  560. body:not(.board-view) #header-quick-access {
  561. font-size: 2em !important; /* 2x bigger base font size for logo row */
  562. }
  563. /* iPhone 12 Mini specific - 3x bigger for All Boards page */
  564. @media screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
  565. screen and (max-width: 375px) and (max-height: 812px), /* iPhone 12 Mini viewport */
  566. screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 375px) /* iPhone 12 Mini Retina */ {
  567. .wrapper ~ #header-quick-access,
  568. body:not(.board-view) #header-quick-access {
  569. font-size: 3em !important; /* 3x bigger base font size for iPhone 12 Mini All Boards page */
  570. }
  571. }
  572. .wrapper ~ #header-quick-access *,
  573. body:not(.board-view) #header-quick-access * {
  574. font-size: inherit !important; /* Inherit the 2x scaling */
  575. }
  576. .wrapper ~ #header-quick-access .fa,
  577. .wrapper ~ #header-quick-access .icon,
  578. body:not(.board-view) #header-quick-access .fa,
  579. body:not(.board-view) #header-quick-access .icon {
  580. font-size: 2em !important; /* 2x bigger icons in logo row */
  581. }
  582. .wrapper ~ #header-quick-access .home-icon a,
  583. body:not(.board-view) #header-quick-access .home-icon a {
  584. font-size: 1em !important; /* Use inherited 2x scaling */
  585. }
  586. .wrapper ~ #header-quick-access .home-icon .fa-home,
  587. body:not(.board-view) #header-quick-access .home-icon .fa-home {
  588. font-size: 1em !important; /* Use inherited 2x scaling */
  589. }
  590. .wrapper ~ #header-quick-access .zoom-controls,
  591. body:not(.board-view) #header-quick-access .zoom-controls {
  592. font-size: 1em !important; /* Use inherited 2x scaling */
  593. }
  594. .wrapper ~ #header-quick-access .zoom-controls .zoom-level,
  595. body:not(.board-view) #header-quick-access .zoom-controls .zoom-level {
  596. font-size: 1em !important; /* Use inherited 2x scaling */
  597. }
  598. .wrapper ~ #header-quick-access .zoom-controls .zoom-input,
  599. body:not(.board-view) #header-quick-access .zoom-controls .zoom-input {
  600. font-size: 1em !important; /* Use inherited 2x scaling */
  601. }
  602. .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn,
  603. body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn {
  604. font-size: 1em !important; /* Use inherited 2x scaling */
  605. }
  606. .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn i,
  607. body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn i {
  608. font-size: 1em !important; /* Use inherited 2x scaling */
  609. }
  610. .wrapper ~ #header-quick-access #notifications,
  611. body:not(.board-view) #header-quick-access #notifications {
  612. font-size: 1em !important; /* Use inherited 2x scaling */
  613. }
  614. .wrapper ~ #header-quick-access #notifications .fa,
  615. body:not(.board-view) #header-quick-access #notifications .fa {
  616. font-size: 1em !important; /* Use inherited 2x scaling */
  617. }
  618. .wrapper ~ #header-quick-access #header-user-bar,
  619. body:not(.board-view) #header-quick-access #header-user-bar {
  620. font-size: 1em !important; /* Use inherited 2x scaling */
  621. }
  622. .wrapper ~ #header-quick-access #header-user-bar .fa,
  623. body:not(.board-view) #header-quick-access #header-user-bar .fa {
  624. font-size: 1em !important; /* Use inherited 2x scaling */
  625. }
  626. }
  627. /* iPhone 12 Mini specific - make header elements 3x bigger */
  628. @media screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
  629. screen and (max-width: 375px) and (max-height: 812px), /* iPhone 12 Mini viewport */
  630. screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 375px), /* iPhone 12 Mini Retina */
  631. screen and (max-width: 375px) and (orientation: portrait), /* iPhone 12 Mini portrait */
  632. screen and (max-width: 375px) and (orientation: landscape) /* iPhone 12 Mini landscape */ {
  633. #header-quick-access {
  634. font-size: 3em !important; /* 3x bigger base font size for iPhone 12 Mini */
  635. height: auto !important; /* Allow height to grow */
  636. min-height: 84px !important; /* Much taller minimum height for iPhone 12 Mini */
  637. flex-wrap: wrap !important; /* Force wrapping */
  638. align-items: flex-start !important; /* Align to top when wrapping */
  639. padding: 18px 0px !important; /* More padding for iPhone 12 Mini */
  640. }
  641. #header-quick-access * {
  642. font-size: inherit !important; /* Inherit the 2x scaling */
  643. }
  644. #header-quick-access .fa,
  645. #header-quick-access .icon {
  646. font-size: 3em !important; /* 3x bigger icons for iPhone 12 Mini */
  647. }
  648. #header-quick-access .home-icon a {
  649. font-size: 1em !important; /* Use inherited 2x scaling */
  650. }
  651. #header-quick-access .home-icon .fa-home {
  652. font-size: 1em !important; /* Use inherited 2x scaling */
  653. }
  654. #header-quick-access .zoom-controls {
  655. font-size: 1em !important; /* Use inherited 2x scaling */
  656. }
  657. #header-quick-access .zoom-controls .zoom-level {
  658. font-size: 1em !important; /* Use inherited 2x scaling */
  659. }
  660. #header-quick-access .zoom-controls .zoom-input {
  661. font-size: 1em !important; /* Use inherited 2x scaling */
  662. }
  663. #header-quick-access .mobile-mode-toggle .board-header-btn {
  664. font-size: 1em !important; /* Use inherited 2x scaling */
  665. }
  666. #header-quick-access .mobile-mode-toggle .board-header-btn i {
  667. font-size: 1em !important; /* Use inherited 2x scaling */
  668. }
  669. #header-quick-access #notifications {
  670. font-size: 1em !important; /* Use inherited 2x scaling */
  671. }
  672. #header-quick-access #notifications .fa {
  673. font-size: 1em !important; /* Use inherited 2x scaling */
  674. }
  675. #header-quick-access #header-user-bar {
  676. font-size: 1em !important; /* Use inherited 2x scaling */
  677. }
  678. #header-quick-access #header-user-bar .fa {
  679. font-size: 1em !important; /* Use inherited 2x scaling */
  680. }
  681. /* iPhone 12 Mini header wrapping and spacing */
  682. #header-quick-access .home-icon {
  683. flex-shrink: 0 !important;
  684. margin-right: 0.5rem !important;
  685. margin-bottom: 6px !important;
  686. }
  687. #header-quick-access .zoom-controls {
  688. flex-shrink: 0 !important;
  689. margin: 0 0.5rem !important;
  690. margin-bottom: 6px !important;
  691. }
  692. #header-quick-access .mobile-mode-toggle {
  693. flex-shrink: 0 !important;
  694. margin: 0 0.5rem !important;
  695. margin-bottom: 6px !important;
  696. }
  697. #header-quick-access #notifications {
  698. flex-shrink: 0 !important;
  699. margin: 0 0.5rem !important;
  700. margin-bottom: 6px !important;
  701. }
  702. #header-quick-access #header-user-bar {
  703. flex-shrink: 0 !important;
  704. margin: 0 0.5rem !important;
  705. margin-bottom: 6px !important;
  706. }
  707. #header-quick-access ul.header-quick-access-list {
  708. flex-shrink: 0 !important;
  709. margin: 0 0.5rem !important;
  710. margin-bottom: 6px !important;
  711. width: auto !important;
  712. }
  713. }
  714. /* iPhone 12 Mini and very small screens - make header elements much larger */
  715. @media screen and (max-width: 400px) and (max-height: 900px),
  716. screen and (max-device-width: 400px) and (max-device-height: 900px),
  717. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 400px),
  718. screen and (max-width: 400px) and (orientation: portrait),
  719. screen and (max-width: 400px) and (orientation: landscape),
  720. screen and (max-width: 430px) and (max-height: 950px), /* iPhone 12 Mini range */
  721. screen and (max-width: 450px) and (max-height: 1000px), /* iPhone range */
  722. screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 450px), /* Retina displays */
  723. screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
  724. screen and (device-width: 390px) and (device-height: 844px), /* iPhone 12/13 */
  725. screen and (device-width: 428px) and (device-height: 926px) /* iPhone 12 Pro Max */ {
  726. #header-quick-access {
  727. height: 40px !important; /* Taller header */
  728. padding: 12px 0px !important;
  729. }
  730. #header-quick-access .home-icon a {
  731. font-size: 16px !important; /* Much larger text */
  732. padding: 8px 12px !important;
  733. }
  734. #header-quick-access .home-icon .fa-home {
  735. font-size: 20px !important; /* Much larger icon */
  736. margin-right: 6px !important;
  737. }
  738. #header-quick-access .home-icon {
  739. margin-right: 1rem !important;
  740. }
  741. /* Make zoom controls larger */
  742. #header-quick-access .zoom-controls {
  743. padding: 0.8vh 1.5vw !important;
  744. margin: 0 1.5vw !important;
  745. }
  746. #header-quick-access .zoom-controls .zoom-level {
  747. font-size: 16px !important; /* Larger zoom text */
  748. padding: 0.5vh 0.8vw !important;
  749. min-width: 4vw !important;
  750. }
  751. #header-quick-access .zoom-controls .zoom-input {
  752. font-size: 16px !important; /* Larger input text */
  753. padding: 0.5vh 0.8vw !important;
  754. min-width: 6vw !important; /* Much wider for mobile */
  755. width: 60px !important; /* Fixed width to show all numbers */
  756. }
  757. /* Make mobile mode toggle larger */
  758. #header-quick-access .mobile-mode-toggle .board-header-btn {
  759. padding: 0.8vh 1.2vw !important;
  760. font-size: 16px !important;
  761. }
  762. #header-quick-access .mobile-mode-toggle .board-header-btn i {
  763. font-size: 18px !important;
  764. }
  765. }
  766. /* Fallback for iPhone devices using JavaScript detection */
  767. .iphone-device #header-quick-access {
  768. font-size: 2em !important; /* 2x bigger base font size */
  769. height: auto !important; /* Allow height to grow */
  770. min-height: 48px !important; /* Minimum height for mobile */
  771. flex-wrap: wrap !important; /* Force wrapping */
  772. align-items: flex-start !important; /* Align to top when wrapping */
  773. padding: 8px 0px !important; /* Adjust padding for mobile */
  774. }
  775. .iphone-device #header-quick-access * {
  776. font-size: inherit !important; /* Inherit the 2x scaling */
  777. }
  778. .iphone-device #header-quick-access .fa,
  779. .iphone-device #header-quick-access .icon {
  780. font-size: 2em !important; /* 2x bigger icons */
  781. }
  782. .iphone-device #header-quick-access .home-icon a {
  783. font-size: 1em !important; /* Use inherited 2x scaling */
  784. }
  785. .iphone-device #header-quick-access .home-icon .fa-home {
  786. font-size: 1em !important; /* Use inherited 2x scaling */
  787. }
  788. .iphone-device #header-quick-access .zoom-controls {
  789. font-size: 1em !important; /* Use inherited 2x scaling */
  790. }
  791. .iphone-device #header-quick-access .zoom-controls .zoom-level {
  792. font-size: 1em !important; /* Use inherited 2x scaling */
  793. }
  794. .iphone-device #header-quick-access .zoom-controls .zoom-input {
  795. font-size: 1em !important; /* Use inherited 2x scaling */
  796. }
  797. .iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn {
  798. font-size: 1em !important; /* Use inherited 2x scaling */
  799. }
  800. .iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn i {
  801. font-size: 1em !important; /* Use inherited 2x scaling */
  802. }
  803. /* iPhone device header wrapping and spacing */
  804. .iphone-device #header-quick-access .home-icon {
  805. flex-shrink: 0 !important;
  806. margin-right: 0.5rem !important;
  807. margin-bottom: 4px !important;
  808. }
  809. .iphone-device #header-quick-access .zoom-controls {
  810. flex-shrink: 0 !important;
  811. margin: 0 0.5rem !important;
  812. margin-bottom: 4px !important;
  813. }
  814. .iphone-device #header-quick-access .mobile-mode-toggle {
  815. flex-shrink: 0 !important;
  816. margin: 0 0.5rem !important;
  817. margin-bottom: 4px !important;
  818. }
  819. .iphone-device #header-quick-access #notifications {
  820. flex-shrink: 0 !important;
  821. margin: 0 0.5rem !important;
  822. margin-bottom: 4px !important;
  823. }
  824. .iphone-device #header-quick-access #header-user-bar {
  825. flex-shrink: 0 !important;
  826. margin: 0 0.5rem !important;
  827. margin-bottom: 4px !important;
  828. }
  829. .iphone-device #header-quick-access ul.header-quick-access-list {
  830. flex-shrink: 0 !important;
  831. margin: 0 0.5rem !important;
  832. margin-bottom: 4px !important;
  833. width: auto !important;
  834. }
  835. /* iPhone 12 Mini specific - JavaScript detection fallback */
  836. .iphone-device #header-quick-access {
  837. font-size: 3em !important; /* 3x bigger base font size for iPhone 12 Mini */
  838. height: auto !important; /* Allow height to grow */
  839. min-height: 84px !important; /* Much taller minimum height for iPhone 12 Mini */
  840. flex-wrap: wrap !important; /* Force wrapping */
  841. align-items: flex-start !important; /* Align to top when wrapping */
  842. padding: 18px 0px !important; /* More padding for iPhone 12 Mini */
  843. }
  844. .iphone-device #header-quick-access * {
  845. font-size: inherit !important; /* Inherit the 2x scaling */
  846. }
  847. .iphone-device #header-quick-access .fa,
  848. .iphone-device #header-quick-access .icon {
  849. font-size: 3em !important; /* 3x bigger icons for iPhone 12 Mini */
  850. }
  851. .iphone-device #header-quick-access .home-icon a {
  852. font-size: 1em !important; /* Use inherited 2x scaling */
  853. }
  854. .iphone-device #header-quick-access .home-icon .fa-home {
  855. font-size: 1em !important; /* Use inherited 2x scaling */
  856. }
  857. .iphone-device #header-quick-access .zoom-controls {
  858. font-size: 1em !important; /* Use inherited 2x scaling */
  859. }
  860. .iphone-device #header-quick-access .zoom-controls .zoom-level {
  861. font-size: 1em !important; /* Use inherited 2x scaling */
  862. }
  863. .iphone-device #header-quick-access .zoom-controls .zoom-input {
  864. font-size: 1em !important; /* Use inherited 2x scaling */
  865. }
  866. .iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn {
  867. font-size: 1em !important; /* Use inherited 2x scaling */
  868. }
  869. .iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn i {
  870. font-size: 1em !important; /* Use inherited 2x scaling */
  871. }
  872. .iphone-device #header-quick-access #notifications {
  873. font-size: 1em !important; /* Use inherited 2x scaling */
  874. }
  875. .iphone-device #header-quick-access #notifications .fa {
  876. font-size: 1em !important; /* Use inherited 2x scaling */
  877. }
  878. .iphone-device #header-quick-access #header-user-bar {
  879. font-size: 1em !important; /* Use inherited 2x scaling */
  880. }
  881. .iphone-device #header-quick-access #header-user-bar .fa {
  882. font-size: 1em !important; /* Use inherited 2x scaling */
  883. }
  884. /* iPhone 12 Mini header wrapping and spacing - JavaScript fallback */
  885. .iphone-device #header-quick-access .home-icon {
  886. flex-shrink: 0 !important;
  887. margin-right: 0.5rem !important;
  888. margin-bottom: 6px !important;
  889. }
  890. .iphone-device #header-quick-access .zoom-controls {
  891. flex-shrink: 0 !important;
  892. margin: 0 0.5rem !important;
  893. margin-bottom: 6px !important;
  894. }
  895. .iphone-device #header-quick-access .mobile-mode-toggle {
  896. flex-shrink: 0 !important;
  897. margin: 0 0.5rem !important;
  898. margin-bottom: 6px !important;
  899. }
  900. .iphone-device #header-quick-access #notifications {
  901. flex-shrink: 0 !important;
  902. margin: 0 0.5rem !important;
  903. margin-bottom: 6px !important;
  904. }
  905. .iphone-device #header-quick-access #header-user-bar {
  906. flex-shrink: 0 !important;
  907. margin: 0 0.5rem !important;
  908. margin-bottom: 6px !important;
  909. }
  910. .iphone-device #header-quick-access ul.header-quick-access-list {
  911. flex-shrink: 0 !important;
  912. margin: 0 0.5rem !important;
  913. margin-bottom: 6px !important;
  914. width: auto !important;
  915. }
  916. /* iPhone 12 Mini All Boards page - make logo row elements 3x bigger */
  917. .iphone-device .wrapper ~ #header-quick-access,
  918. .iphone-device body:not(.board-view) #header-quick-access {
  919. font-size: 3em !important; /* 3x bigger base font size for logo row */
  920. }
  921. .iphone-device .wrapper ~ #header-quick-access *,
  922. .iphone-device body:not(.board-view) #header-quick-access * {
  923. font-size: inherit !important; /* Inherit the 2x scaling */
  924. }
  925. .iphone-device .wrapper ~ #header-quick-access .fa,
  926. .iphone-device .wrapper ~ #header-quick-access .icon,
  927. .iphone-device body:not(.board-view) #header-quick-access .fa,
  928. .iphone-device body:not(.board-view) #header-quick-access .icon {
  929. font-size: 2em !important; /* 2x bigger icons in logo row */
  930. }
  931. .iphone-device .wrapper ~ #header-quick-access .home-icon a,
  932. .iphone-device body:not(.board-view) #header-quick-access .home-icon a {
  933. font-size: 1em !important; /* Use inherited 2x scaling */
  934. }
  935. .iphone-device .wrapper ~ #header-quick-access .home-icon .fa-home,
  936. .iphone-device body:not(.board-view) #header-quick-access .home-icon .fa-home {
  937. font-size: 1em !important; /* Use inherited 2x scaling */
  938. }
  939. .iphone-device .wrapper ~ #header-quick-access .zoom-controls,
  940. .iphone-device body:not(.board-view) #header-quick-access .zoom-controls {
  941. font-size: 1em !important; /* Use inherited 2x scaling */
  942. }
  943. .iphone-device .wrapper ~ #header-quick-access .zoom-controls .zoom-level,
  944. .iphone-device body:not(.board-view) #header-quick-access .zoom-controls .zoom-level {
  945. font-size: 1em !important; /* Use inherited 2x scaling */
  946. }
  947. .iphone-device .wrapper ~ #header-quick-access .zoom-controls .zoom-input,
  948. .iphone-device body:not(.board-view) #header-quick-access .zoom-controls .zoom-input {
  949. font-size: 1em !important; /* Use inherited 2x scaling */
  950. }
  951. .iphone-device .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn,
  952. .iphone-device body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn {
  953. font-size: 1em !important; /* Use inherited 2x scaling */
  954. }
  955. .iphone-device .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn i,
  956. .iphone-device body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn i {
  957. font-size: 1em !important; /* Use inherited 2x scaling */
  958. }
  959. .iphone-device .wrapper ~ #header-quick-access #notifications,
  960. .iphone-device body:not(.board-view) #header-quick-access #notifications {
  961. font-size: 1em !important; /* Use inherited 2x scaling */
  962. }
  963. .iphone-device .wrapper ~ #header-quick-access #notifications .fa,
  964. .iphone-device body:not(.board-view) #header-quick-access #notifications .fa {
  965. font-size: 1em !important; /* Use inherited 2x scaling */
  966. }
  967. .iphone-device .wrapper ~ #header-quick-access #header-user-bar,
  968. .iphone-device body:not(.board-view) #header-quick-access #header-user-bar {
  969. font-size: 1em !important; /* Use inherited 2x scaling */
  970. }
  971. .iphone-device .wrapper ~ #header-quick-access #header-user-bar .fa,
  972. .iphone-device body:not(.board-view) #header-quick-access #header-user-bar .fa {
  973. font-size: 1em !important; /* Use inherited 2x scaling */
  974. }
  975. #header-quick-access ul {
  976. width: calc(100% - 60px);
  977. margin-right: 10px;
  978. }
  979. #header-quick-access ul li {
  980. height: 100%;
  981. }
  982. #header-quick-access ul li a {
  983. height: 100%;
  984. }
  985. #header-quick-access #header-new-board-icon {
  986. display: none;
  987. }
  988. #header-quick-access #header-user-bar {
  989. right: 0px;
  990. padding: 10px;
  991. margin: -8px 0 -10px -10px;
  992. }
  993. }
  994. @media print {
  995. #header-quick-access .allBoards,
  996. #header-quick-access ul,
  997. #header-quick-access .js-toggle-desktop-drag-handles,
  998. #header-quick-access #notifications,
  999. #header-quick-access #header-new-board-icon,
  1000. #header #header-main-bar .board-header-btns {
  1001. display: none;
  1002. }
  1003. #header #header-user-bar {
  1004. float: right;
  1005. }
  1006. }
  1007. .announcement .viewer {
  1008. display: inline-block;
  1009. }
  1010. .announcement,
  1011. .offline-warning {
  1012. width: 100%;
  1013. text-align: center;
  1014. padding: 0;
  1015. margin: 0;
  1016. background: #f8ecbd;
  1017. clear: both;
  1018. }
  1019. .announcement p,
  1020. .offline-warning p {
  1021. margin: 7px;
  1022. padding: 0;
  1023. }
  1024. #headerIsSettingDatabaseCallDone {
  1025. display: none;
  1026. }