header.css 34 KB

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