boardsList.css 30 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282
  1. @import url("../../../css/reset.css") print, screen;
  2. /* Board List Header with Zoom Controls */
  3. .board-list-header {
  4. display: flex;
  5. justify-content: center;
  6. margin: 1vh 0 2vh 0;
  7. padding: 1vh 0;
  8. }
  9. /* Two-column layout for All Boards */
  10. .boards-layout {
  11. display: grid;
  12. grid-template-columns: 260px 1fr;
  13. gap: 16px;
  14. }
  15. .boards-left-menu {
  16. border-right: 1px solid #e0e0e0;
  17. padding-right: 12px;
  18. }
  19. .boards-left-menu ul.menu {
  20. list-style: none;
  21. padding: 0;
  22. margin: 0 0 12px 0;
  23. }
  24. .boards-left-menu .menu-item {
  25. margin: 4px 0;
  26. }
  27. .boards-left-menu .menu-item a {
  28. display: flex;
  29. justify-content: space-between;
  30. align-items: center;
  31. padding: 8px 10px;
  32. border-radius: 4px;
  33. cursor: pointer;
  34. }
  35. .boards-left-menu .menu-item .menu-label {
  36. flex: 1;
  37. }
  38. .boards-left-menu .menu-item .menu-count {
  39. background: #ddd;
  40. padding: 2px 8px;
  41. border-radius: 12px;
  42. font-size: 12px;
  43. font-weight: bold;
  44. margin-left: 8px;
  45. }
  46. .boards-left-menu .menu-item.active a,
  47. .boards-left-menu .menu-item a:hover {
  48. background: #f0f0f0;
  49. }
  50. .boards-left-menu .menu-item.active .menu-count {
  51. background: #bbb;
  52. }
  53. /* Drag-over state for menu items (for dropping boards on Remaining) */
  54. .boards-left-menu .menu-item a.drag-over {
  55. background: #d0e8ff;
  56. border: 2px dashed #2196F3;
  57. }
  58. .workspaces-header {
  59. display: flex;
  60. align-items: center;
  61. justify-content: space-between;
  62. font-weight: bold;
  63. margin-top: 12px;
  64. }
  65. .workspaces-header .js-add-space {
  66. text-decoration: none;
  67. font-weight: bold;
  68. border: 1px solid #ccc;
  69. padding: 2px 8px;
  70. border-radius: 4px;
  71. }
  72. .workspace-tree {
  73. list-style: none;
  74. padding-left: 10px;
  75. }
  76. .workspace-node {
  77. margin: 2px 0;
  78. position: relative;
  79. }
  80. .workspace-node-content {
  81. display: flex;
  82. align-items: center;
  83. gap: 4px;
  84. padding: 4px;
  85. border-radius: 4px;
  86. transition: background-color 0.2s;
  87. }
  88. .workspace-node.dragging > .workspace-node-content {
  89. opacity: 0.5;
  90. background: #e0e0e0;
  91. }
  92. .workspace-node.drag-over > .workspace-node-content {
  93. background: #d0e8ff;
  94. border: 2px dashed #2196F3;
  95. }
  96. .workspace-drag-handle {
  97. cursor: grab;
  98. color: #999;
  99. font-size: 14px;
  100. padding: 0 4px;
  101. user-select: none;
  102. }
  103. .workspace-drag-handle:active {
  104. cursor: grabbing;
  105. }
  106. .workspace-node .js-select-space {
  107. display: flex;
  108. align-items: center;
  109. gap: 6px;
  110. padding: 4px 8px;
  111. border-radius: 4px;
  112. cursor: pointer;
  113. flex: 1;
  114. text-decoration: none;
  115. }
  116. .workspace-node .workspace-icon {
  117. font-size: 16px;
  118. line-height: 1;
  119. }
  120. .workspace-node .workspace-name {
  121. flex: 1;
  122. }
  123. .workspace-node .workspace-count {
  124. background: #ddd;
  125. padding: 2px 6px;
  126. border-radius: 10px;
  127. font-size: 11px;
  128. font-weight: bold;
  129. min-width: 20px;
  130. text-align: center;
  131. }
  132. .workspace-node .js-edit-space,
  133. .workspace-node .js-add-subspace {
  134. padding: 2px 6px;
  135. border-radius: 3px;
  136. cursor: pointer;
  137. text-decoration: none;
  138. font-size: 14px;
  139. opacity: 0.6;
  140. transition: opacity 0.2s;
  141. }
  142. .workspace-node .js-edit-space:hover,
  143. .workspace-node .js-add-subspace:hover {
  144. opacity: 1;
  145. background: #e0e0e0;
  146. }
  147. .workspace-node.active > .workspace-node-content .js-select-space,
  148. .workspace-node > .workspace-node-content:hover .js-select-space {
  149. background: #f0f0f0;
  150. }
  151. .workspace-node.active .workspace-count {
  152. background: #bbb;
  153. }
  154. .boards-right-grid {
  155. min-height: 200px;
  156. }
  157. .boards-path-header {
  158. display: flex;
  159. align-items: center;
  160. justify-content: space-between;
  161. gap: 8px;
  162. padding: 12px 16px;
  163. margin-bottom: 16px;
  164. background: #f5f5f5;
  165. border-radius: 6px;
  166. font-size: 16px;
  167. font-weight: 500;
  168. }
  169. .boards-path-header .path-left {
  170. display: flex;
  171. align-items: center;
  172. gap: 8px;
  173. flex: 1;
  174. }
  175. .boards-path-header .multiselection-hint {
  176. background: #FFF3CD;
  177. color: #856404;
  178. padding: 4px 12px;
  179. border-radius: 4px;
  180. font-size: 13px;
  181. font-weight: normal;
  182. border: 1px solid #FFE69C;
  183. animation: pulse 2s ease-in-out infinite;
  184. }
  185. @keyframes pulse {
  186. 0%, 100% { opacity: 1; }
  187. 50% { opacity: 0.7; }
  188. }
  189. .boards-path-header .path-right {
  190. display: flex;
  191. align-items: center;
  192. gap: 8px;
  193. }
  194. .boards-path-header .path-icon {
  195. font-size: 18px;
  196. }
  197. .boards-path-header .path-text {
  198. color: #333;
  199. }
  200. .boards-path-header .board-header-btn {
  201. padding: 6px 12px;
  202. background: #fff;
  203. border: 1px solid #ddd;
  204. border-radius: 4px;
  205. cursor: pointer;
  206. display: flex;
  207. align-items: center;
  208. gap: 6px;
  209. font-size: 14px;
  210. transition: all 0.2s;
  211. }
  212. .boards-path-header .board-header-btn:hover {
  213. background: #f0f0f0;
  214. border-color: #bbb;
  215. }
  216. .boards-path-header .board-header-btn.emphasis {
  217. background: #2196F3;
  218. color: #fff;
  219. border-color: #2196F3;
  220. font-weight: bold;
  221. box-shadow: 0 2px 8px rgba(33, 150, 243, 0.5);
  222. transform: scale(1.05);
  223. }
  224. .boards-path-header .board-header-btn.emphasis:hover {
  225. background: #1976D2;
  226. box-shadow: 0 3px 12px rgba(33, 150, 243, 0.7);
  227. }
  228. .boards-path-header .board-header-btn-close {
  229. padding: 4px 10px;
  230. background: #f44336;
  231. color: #000;
  232. border: none;
  233. border-radius: 4px;
  234. cursor: pointer;
  235. font-size: 16px;
  236. margin-left: 10px; /* Extra space between MultiSelection toggle and Remove Filter */
  237. }
  238. .boards-path-header .board-header-btn-close:hover {
  239. background: #d32f2f;
  240. }
  241. .zoom-controls {
  242. display: flex;
  243. align-items: center;
  244. gap: 0.5vw;
  245. background: rgba(255, 255, 255, 0.9);
  246. padding: 0.5vh 1vw;
  247. border-radius: 0.5vw;
  248. box-shadow: 0 0.2vh 0.5vh rgba(0,0,0,0.1);
  249. }
  250. .zoom-controls .board-header-btn {
  251. padding: 0.5vh 0.8vw !important;
  252. border-radius: 0.3vw !important;
  253. background: #fff !important;
  254. border: 1px solid #000 !important;
  255. transition: all 0.2s ease !important;
  256. text-decoration: none !important;
  257. color: #000 !important;
  258. display: flex !important;
  259. align-items: center !important;
  260. gap: 0.3vw !important;
  261. height: auto !important;
  262. line-height: normal !important;
  263. margin: 0 !important;
  264. float: none !important;
  265. overflow: visible !important;
  266. }
  267. .zoom-controls .board-header-btn i {
  268. color: #000 !important;
  269. float: none !important;
  270. display: inline !important;
  271. line-height: normal !important;
  272. margin: 0 !important;
  273. }
  274. .zoom-controls .board-header-btn:hover {
  275. background: #000 !important;
  276. border-color: #000 !important;
  277. color: #fff !important;
  278. }
  279. .zoom-controls .board-header-btn:hover i {
  280. color: #fff !important;
  281. }
  282. .zoom-controls .board-header-btn.is-active {
  283. background: #0079bf;
  284. color: white;
  285. border-color: #005a8a;
  286. }
  287. .zoom-controls .board-header-btn.is-active i {
  288. color: white;
  289. }
  290. .zoom-level {
  291. font-weight: bold;
  292. color: #333;
  293. min-width: 3vw;
  294. text-align: center;
  295. font-size: clamp(12px, 2vw, 14px);
  296. cursor: pointer;
  297. padding: 0.3vh 0.5vw;
  298. border-radius: 0.3vw;
  299. transition: all 0.2s ease;
  300. }
  301. .zoom-level:hover {
  302. background: #f0f0f0;
  303. color: #000;
  304. }
  305. .board-list {
  306. margin: 0 8px;
  307. }
  308. .board-list li {
  309. float: left;
  310. width: 20%;
  311. box-sizing: border-box;
  312. position: relative;
  313. }
  314. .board-list li.placeholder:after {
  315. content: '';
  316. display: block;
  317. background: #ccc;
  318. border-radius: 3px;
  319. height: 106px;
  320. margin: 8px;
  321. }
  322. .board-list li.ui-sortable-helper {
  323. cursor: grabbing;
  324. transform: rotate(4deg);
  325. display: block !important;
  326. }
  327. .board-list li.starred .is-star-active,
  328. .board-list li.starred .is-not-star-active {
  329. opacity: 1;
  330. color: #ffd700;
  331. }
  332. /* Show star icon on hover even for non-starred boards */
  333. .board-list li:hover .is-star-active,
  334. .board-list li:hover .is-not-star-active {
  335. opacity: 1;
  336. }
  337. .board-list .board-list-item {
  338. overflow: hidden;
  339. background-color: inherit; /* Inherit board color from parent li.js-board */
  340. color: #f6f6f6;
  341. min-height: 100px;
  342. font-size: 16px;
  343. line-height: 22px;
  344. border-radius: 0; /* No border-radius - parent .js-board has it */
  345. display: block;
  346. font-weight: 700;
  347. padding: 36px 8px 32px 8px; /* Top padding for drag handle, bottom for checkbox */
  348. margin: 0; /* No margin - moved to parent .js-board */
  349. position: relative;
  350. text-decoration: none;
  351. word-wrap: break-word;
  352. }
  353. .board-list .board-list-item > .js-open-board {
  354. text-decoration: none;
  355. color: inherit;
  356. display: block;
  357. }
  358. .board-list .board-list-item.template-container {
  359. border: 4px solid #fff;
  360. }
  361. .board-list .board-list-item.tile {
  362. background-size: auto;
  363. background-repeat: repeat;
  364. }
  365. .board-list .board-list-item-sub-name {
  366. color: rgba(255,255,255,0.5);
  367. display: block;
  368. font-size: 14px;
  369. font-weight: 400;
  370. line-height: 22px;
  371. }
  372. .board-list .board-list-item-desc {
  373. color: #fff;
  374. display: block;
  375. font-size: 14px;
  376. font-weight: 400;
  377. line-height: 18px;
  378. }
  379. .board-list .js-add-board {
  380. text-align: center;
  381. }
  382. .board-list .js-add-board .label {
  383. font-weight: normal;
  384. line-height: 56px;
  385. min-height: 100px;
  386. display: flex;
  387. align-items: center;
  388. justify-content: center;
  389. background-color: #999; /* Darker background for better text contrast */
  390. border-radius: 3px;
  391. padding: 36px 8px 32px 8px;
  392. }
  393. .board-list .js-add-board .label:hover {
  394. background-color: #808080; /* Even darker on hover */
  395. }
  396. .board-list .is-star-active,
  397. .board-list .is-not-star-active {
  398. top: 0;
  399. font-size: 14px;
  400. height: 18px;
  401. line-height: 18px;
  402. opacity: 0;
  403. padding: 9px 9px;
  404. position: absolute;
  405. right: 0;
  406. transition-duration: 0.15s;
  407. transition-property: color, font-size, background;
  408. }
  409. .board-list .fa-circle {
  410. bottom: 0;
  411. font-size: 10px;
  412. height: 10px;
  413. line-height: 10px;
  414. padding: 9px 9px;
  415. position: absolute;
  416. right: 0;
  417. transition-duration: 0.15s;
  418. transition-property: color, font-size, background;
  419. }
  420. .board-list .has-overtime-card-active {
  421. color: #eb4646 !important;
  422. }
  423. .board-list .no-overtime-card-active {
  424. color: #3cb500 !important;
  425. }
  426. .board-list .is-star-active {
  427. color: #fff;
  428. }
  429. .board-list .fa-clone {
  430. position: absolute;
  431. bottom: 0;
  432. font-size: 14px;
  433. height: 18px;
  434. line-height: 18px;
  435. opacity: 0;
  436. right: 0;
  437. padding: 9px 9px;
  438. transition-duration: 0.15s;
  439. transition-property: color, font-size, background;
  440. }
  441. .board-list .fa-archive {
  442. position: absolute;
  443. bottom: 0;
  444. font-size: 14px;
  445. height: 18px;
  446. line-height: 18px;
  447. opacity: 0;
  448. left: 0;
  449. padding: 9px 9px;
  450. transition-duration: 0.15s;
  451. transition-property: color, font-size, background;
  452. }
  453. .board-list li:hover a:hover .is-star-active,
  454. .board-list li:hover a:hover .fa-clone,
  455. .board-list li:hover a:hover .fa-archive,
  456. .board-list li:hover a:hover .is-not-star-active {
  457. color: #fff;
  458. }
  459. .board-list li:hover a .is-star-active,
  460. .board-list li:hover a .fa-clone,
  461. .board-list li:hover a .fa-archive,
  462. .board-list li:hover a .is-not-star-active {
  463. color: #fff;
  464. opacity: 0.75;
  465. }
  466. .board-list li:hover a .is-star-active:hover,
  467. .board-list li:hover a .fa-clone:hover,
  468. .board-list li:hover a .fa-archive:hover,
  469. .board-list li:hover a .is-not-star-active:hover {
  470. font-size: 18px;
  471. opacity: 1;
  472. }
  473. .board-list li:hover a .is-star-active,
  474. .board-list li:hover a .fa-clone,
  475. .board-list li:hover a .fa-archive,
  476. .board-list li:hover a .is-not-star-active {
  477. opacity: 1;
  478. }
  479. /* Board drag handle - always visible and positioned at top */
  480. .board-list .board-handle {
  481. position: absolute;
  482. padding: 4px 6px;
  483. top: 4px;
  484. left: 50%;
  485. transform: translateX(-50%);
  486. font-size: 14px;
  487. color: #fff;
  488. background: rgba(0,0,0,0.4);
  489. border-radius: 4px;
  490. display: flex;
  491. align-items: center;
  492. justify-content: center;
  493. z-index: 10;
  494. transition: background-color 0.2s ease;
  495. cursor: grab;
  496. opacity: 1;
  497. user-select: none;
  498. }
  499. .board-list .board-handle:active {
  500. cursor: grabbing;
  501. }
  502. .board-list .board-handle:hover {
  503. background: rgba(255, 255, 0, 0.8) !important;
  504. color: #000;
  505. }
  506. /* Multiselection checkbox on board items */
  507. .board-list .board-list-item .multi-selection-checkbox {
  508. position: absolute !important;
  509. bottom: 4px !important;
  510. left: 4px !important;
  511. top: auto !important;
  512. width: 24px;
  513. height: 24px;
  514. border: 3px solid #fff;
  515. background: rgba(0,0,0,0.5);
  516. border-radius: 4px;
  517. cursor: pointer;
  518. z-index: 11;
  519. display: flex;
  520. align-items: center;
  521. justify-content: center;
  522. transition: all 0.2s;
  523. box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  524. transform: none !important;
  525. margin: 0 !important;
  526. }
  527. .board-list .board-list-item .multi-selection-checkbox:hover {
  528. background: rgba(0,0,0,0.7);
  529. transform: scale(1.15) !important;
  530. box-shadow: 0 3px 6px rgba(0,0,0,0.5);
  531. }
  532. .board-list .board-list-item .multi-selection-checkbox.is-checked {
  533. background: #2196F3;
  534. border-color: #2196F3;
  535. box-shadow: 0 2px 8px rgba(33, 150, 243, 0.6);
  536. width: 24px !important;
  537. height: 24px !important;
  538. top: auto !important;
  539. left: 4px !important;
  540. transform: none !important;
  541. border-radius: 4px !important;
  542. }
  543. .board-list .board-list-item .multi-selection-checkbox.is-checked::after {
  544. content: '✓';
  545. color: #fff;
  546. font-size: 16px;
  547. font-weight: bold;
  548. }
  549. .board-list.is-multiselection-active .js-board.is-checked {
  550. outline: 4px solid #2196F3;
  551. outline-offset: -4px;
  552. box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
  553. }
  554. /* Visual hint when multiselection is active */
  555. .board-list.is-multiselection-active .board-list-item {
  556. border: 2px dashed rgba(33, 150, 243, 0.3);
  557. }
  558. .board-backgrounds-list .board-background-select {
  559. box-sizing: border-box;
  560. display: block;
  561. float: left;
  562. width: 50%;
  563. padding-top: 12px;
  564. position: relative;
  565. z-index: 1;
  566. }
  567. .board-backgrounds-list .board-background-select:nth-child(-n + 2) {
  568. padding-top: 0;
  569. }
  570. .board-backgrounds-list .board-background-select:nth-child(2n) {
  571. padding-left: 6px;
  572. }
  573. .board-backgrounds-list .board-background-select:nth-child(2n+1) {
  574. padding-right: 6px;
  575. }
  576. .board-backgrounds-list .board-background-select .background-box {
  577. color: #fff;
  578. border-radius: 3px;
  579. background-size: cover;
  580. display: block;
  581. height: 74px;
  582. position: relative;
  583. width: 100%;
  584. cursor: pointer;
  585. display: flex;
  586. align-items: center;
  587. justify-content: center;
  588. }
  589. .board-backgrounds-list .board-background-select .background-box i.fa-check {
  590. font-size: 25px;
  591. color: #fff;
  592. }
  593. /* Mobile view styles - applied when isMiniScreen is true (iPhone, etc.) */
  594. .board-list.mobile-view {
  595. height: calc(100vh - 120px);
  596. overflow-y: scroll !important;
  597. overflow-x: hidden;
  598. padding: 0 1rem;
  599. margin: 0;
  600. scrollbar-width: auto !important;
  601. scrollbar-color: #888 #f1f1f1;
  602. }
  603. .board-list.mobile-view li {
  604. width: 100%;
  605. float: none;
  606. display: block;
  607. margin-bottom: 1rem;
  608. padding-right: 50px; /* Space for drag handle */
  609. }
  610. .board-list.mobile-view .board-list-item {
  611. overflow: visible;
  612. height: 8rem;
  613. width: 100%;
  614. margin: 0;
  615. padding-right: 50px; /* Ensure content doesn't overlap with drag handle */
  616. }
  617. .board-list.mobile-view .board-list-item .details {
  618. padding-right: 50px; /* Extra space for drag handle */
  619. width: 100%;
  620. box-sizing: border-box;
  621. }
  622. .board-list.mobile-view .board-list-item-sub-name {
  623. position: relative;
  624. top: -100px;
  625. left: -100px;
  626. }
  627. .board-list.mobile-view .board-handle {
  628. position: absolute;
  629. padding: 7px;
  630. top: 50%;
  631. transform: translateY(-50%);
  632. right: 10px;
  633. font-size: 24px;
  634. color: #fff;
  635. background: rgba(0,0,0,0.3);
  636. border-radius: 50%;
  637. width: 40px;
  638. height: 40px;
  639. display: flex;
  640. align-items: center;
  641. justify-content: center;
  642. z-index: 10;
  643. transition: background-color 0.2s ease;
  644. }
  645. .board-list.mobile-view .board-handle:hover {
  646. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  647. }
  648. /* Force scrollbar to be visible on mobile view */
  649. .board-list.mobile-view::-webkit-scrollbar {
  650. width: 12px !important;
  651. display: block !important;
  652. visibility: visible !important;
  653. }
  654. .board-list.mobile-view::-webkit-scrollbar-track {
  655. background: #f1f1f1 !important;
  656. border-radius: 6px !important;
  657. display: block !important;
  658. visibility: visible !important;
  659. }
  660. .board-list.mobile-view::-webkit-scrollbar-thumb {
  661. background: #888 !important;
  662. border-radius: 6px !important;
  663. display: block !important;
  664. visibility: visible !important;
  665. }
  666. .board-list.mobile-view::-webkit-scrollbar-thumb:hover {
  667. background: #555 !important;
  668. }
  669. /* Force mobile view to have scrollable content */
  670. .board-list.mobile-view {
  671. min-height: 100vh; /* Force content to be tall enough to scroll */
  672. }
  673. /* Hide archive and clone board buttons in mobile view */
  674. .board-list.mobile-view .js-archive-board,
  675. .board-list.mobile-view .js-clone-board {
  676. display: none !important;
  677. }
  678. /* Change board drag handle to up-down arrow in mobile view */
  679. .board-list.mobile-view .board-handle.fa-arrows::before {
  680. content: "↕️" !important;
  681. font-family: inherit !important;
  682. }
  683. .board-list.mobile-view::after {
  684. content: '';
  685. display: block;
  686. height: 100px;
  687. }
  688. @media screen and (max-width: 800px),
  689. screen and (max-device-width: 800px),
  690. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  691. screen and (max-width: 800px) and (orientation: portrait),
  692. screen and (max-width: 800px) and (orientation: landscape),
  693. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  694. .board-list {
  695. height: 100%;
  696. overflow-y: auto;
  697. overflow-x: hidden;
  698. padding: 0 1rem;
  699. margin: 0;
  700. }
  701. .board-list li {
  702. width: 100%;
  703. float: none;
  704. display: block;
  705. margin-bottom: 1rem;
  706. padding-right: 50px; /* Space for drag handle */
  707. }
  708. .board-list .board-list-item {
  709. overflow: visible;
  710. height: 8rem;
  711. width: 100%;
  712. margin: 0;
  713. padding-right: 50px; /* Ensure content doesn't overlap with drag handle */
  714. }
  715. .board-list .board-list-item .details {
  716. padding-right: 50px; /* Extra space for drag handle */
  717. width: 100%;
  718. box-sizing: border-box;
  719. }
  720. .board-list .board-list-item-sub-name {
  721. position: relative;
  722. top: -100px;
  723. left: -100px;
  724. }
  725. .board-list .board-handle {
  726. position: absolute;
  727. padding: 7px;
  728. top: 50%;
  729. transform: translateY(-50%);
  730. right: 10px;
  731. font-size: 24px;
  732. color: #fff;
  733. background: rgba(0,0,0,0.3);
  734. border-radius: 50%;
  735. width: 40px;
  736. height: 40px;
  737. display: flex;
  738. align-items: center;
  739. justify-content: center;
  740. z-index: 10;
  741. transition: background-color 0.2s ease;
  742. }
  743. .board-list .board-handle:hover {
  744. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  745. }
  746. }
  747. /* Very small screens - ensure one board per row */
  748. @media screen and (max-width: 360px) {
  749. .board-list li {
  750. width: 100% !important;
  751. float: none !important;
  752. display: block !important;
  753. }
  754. .board-list .board-handle {
  755. position: absolute;
  756. padding: 7px;
  757. top: 50%;
  758. transform: translateY(-50%);
  759. right: 10px;
  760. font-size: 24px;
  761. color: #fff;
  762. background: rgba(0,0,0,0.3);
  763. border-radius: 50%;
  764. width: 40px;
  765. height: 40px;
  766. display: flex;
  767. align-items: center;
  768. justify-content: center;
  769. }
  770. }
  771. /* Mobile - make all text and icons 2x bigger above #content on All Boards page */
  772. @media screen and (max-width: 800px),
  773. screen and (max-device-width: 800px),
  774. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  775. screen and (max-width: 800px) and (orientation: portrait),
  776. screen and (max-width: 800px) and (orientation: landscape),
  777. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  778. .wrapper {
  779. font-size: 2em !important; /* 2x bigger base font size for All Boards page */
  780. }
  781. .wrapper * {
  782. font-size: inherit !important; /* Inherit the 2x scaling */
  783. }
  784. .wrapper .fa, .wrapper .icon {
  785. font-size: 2em !important; /* 2x bigger icons */
  786. }
  787. .board-list-header {
  788. font-size: 1em !important; /* Use inherited 2x scaling */
  789. }
  790. .board-list-header h1 {
  791. font-size: 1em !important; /* Use inherited 2x scaling */
  792. }
  793. .AllBoardTeamsOrgs {
  794. font-size: 1em !important; /* Use inherited 2x scaling */
  795. }
  796. .AllBoardTeamsOrgs select {
  797. font-size: 1em !important; /* Use inherited 2x scaling */
  798. }
  799. .AllBoardTeamsOrgs input {
  800. font-size: 1em !important; /* Use inherited 2x scaling */
  801. }
  802. .AllBoardTeamsOrgs .fa {
  803. font-size: 1em !important; /* Use inherited 2x scaling */
  804. }
  805. .board-list {
  806. font-size: 1em !important; /* Use inherited 2x scaling */
  807. }
  808. .board-list .board-list-item {
  809. font-size: 1em !important; /* Use inherited 2x scaling */
  810. }
  811. .board-list .board-list-item-name {
  812. font-size: 1em !important; /* Use inherited 2x scaling */
  813. }
  814. .board-list .board-list-item-desc {
  815. font-size: 1em !important; /* Use inherited 2x scaling */
  816. }
  817. .board-list .minicard-members {
  818. font-size: 1em !important; /* Use inherited 2x scaling */
  819. }
  820. .board-list .minicard-lists {
  821. font-size: 1em !important; /* Use inherited 2x scaling */
  822. }
  823. .board-list .fa {
  824. font-size: 1em !important; /* Use inherited 2x scaling */
  825. }
  826. .board-list .board-handle {
  827. font-size: 1em !important; /* Use inherited 2x scaling */
  828. }
  829. }
  830. /* Fallback for iPhone devices using JavaScript detection - All Boards page */
  831. .iphone-device .wrapper {
  832. font-size: 2em !important; /* 2x bigger base font size for All Boards page */
  833. }
  834. .iphone-device .wrapper * {
  835. font-size: inherit !important; /* Inherit the 2x scaling */
  836. }
  837. .iphone-device .wrapper .fa, .iphone-device .wrapper .icon {
  838. font-size: 2em !important; /* 2x bigger icons */
  839. }
  840. .iphone-device .board-list-header {
  841. font-size: 1em !important; /* Use inherited 2x scaling */
  842. }
  843. .iphone-device .board-list-header h1 {
  844. font-size: 1em !important; /* Use inherited 2x scaling */
  845. }
  846. .iphone-device .AllBoardTeamsOrgs {
  847. font-size: 1em !important; /* Use inherited 2x scaling */
  848. }
  849. .iphone-device .AllBoardTeamsOrgs select {
  850. font-size: 1em !important; /* Use inherited 2x scaling */
  851. }
  852. .iphone-device .AllBoardTeamsOrgs input {
  853. font-size: 1em !important; /* Use inherited 2x scaling */
  854. }
  855. .iphone-device .AllBoardTeamsOrgs .fa {
  856. font-size: 1em !important; /* Use inherited 2x scaling */
  857. }
  858. .iphone-device .board-list {
  859. font-size: 1em !important; /* Use inherited 2x scaling */
  860. }
  861. .iphone-device .board-list .board-list-item {
  862. font-size: 1em !important; /* Use inherited 2x scaling */
  863. }
  864. .iphone-device .board-list .board-list-item-name {
  865. font-size: 1em !important; /* Use inherited 2x scaling */
  866. }
  867. .iphone-device .board-list .board-list-item-desc {
  868. font-size: 1em !important; /* Use inherited 2x scaling */
  869. }
  870. .iphone-device .board-list .minicard-members {
  871. font-size: 1em !important; /* Use inherited 2x scaling */
  872. }
  873. .iphone-device .board-list .minicard-lists {
  874. font-size: 1em !important; /* Use inherited 2x scaling */
  875. }
  876. .iphone-device .board-list .fa {
  877. font-size: 1em !important; /* Use inherited 2x scaling */
  878. }
  879. .iphone-device .board-list .board-handle {
  880. font-size: 1em !important; /* Use inherited 2x scaling */
  881. }
  882. /* iPhone 12 Mini and very small screens - make everything much larger */
  883. @media screen and (max-width: 400px) and (max-height: 900px) {
  884. .board-list {
  885. height: calc(100vh - 120px) !important;
  886. overflow-y: scroll !important;
  887. overflow-x: hidden !important;
  888. -webkit-overflow-scrolling: touch;
  889. padding: 0 0.5rem;
  890. }
  891. .board-list li {
  892. width: 100% !important;
  893. float: none !important;
  894. display: block !important;
  895. margin-bottom: 1.5rem !important;
  896. }
  897. .board-list .board-list-item {
  898. height: 12rem !important; /* Much taller */
  899. width: 100% !important;
  900. margin: 0 !important;
  901. padding: 1rem !important; /* More padding */
  902. font-size: 18px !important; /* Much larger text */
  903. line-height: 1.4 !important;
  904. }
  905. .board-list .board-list-item .board-list-item-name {
  906. font-size: 20px !important; /* Larger board names */
  907. font-weight: bold !important;
  908. margin-bottom: 0.5rem !important;
  909. }
  910. .board-list .board-list-item .board-list-item-desc {
  911. font-size: 16px !important; /* Larger descriptions */
  912. line-height: 1.3 !important;
  913. }
  914. .board-list .board-list-item .minicard-members {
  915. font-size: 14px !important; /* Larger member avatars */
  916. }
  917. .board-list .board-list-item .minicard-lists {
  918. font-size: 14px !important; /* Larger list counters */
  919. }
  920. .board-list .board-handle {
  921. position: absolute;
  922. padding: 10px !important;
  923. top: 50%;
  924. transform: translateY(-50%);
  925. right: 15px !important;
  926. font-size: 28px !important; /* Much larger drag handle */
  927. color: #fff;
  928. background: rgba(0,0,0,0.4) !important;
  929. border-radius: 50%;
  930. width: 50px !important; /* Larger handle */
  931. height: 50px !important;
  932. display: flex;
  933. align-items: center;
  934. justify-content: center;
  935. z-index: 10;
  936. transition: background-color 0.2s ease;
  937. }
  938. .board-list .board-handle:hover {
  939. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  940. }
  941. /* Force scrollbar to be visible and larger */
  942. .board-list::-webkit-scrollbar {
  943. width: 16px !important; /* Much wider scrollbar */
  944. display: block !important;
  945. visibility: visible !important;
  946. }
  947. .board-list::-webkit-scrollbar-track {
  948. background: #f1f1f1 !important;
  949. border-radius: 8px !important;
  950. display: block !important;
  951. visibility: visible !important;
  952. }
  953. .board-list::-webkit-scrollbar-thumb {
  954. background: #666 !important; /* Darker for better visibility */
  955. border-radius: 8px !important;
  956. display: block !important;
  957. visibility: visible !important;
  958. min-height: 50px !important; /* Minimum thumb size */
  959. }
  960. .board-list::-webkit-scrollbar-thumb:hover {
  961. background: #333 !important;
  962. }
  963. /* Ensure scrollbar is always visible */
  964. .board-list {
  965. scrollbar-gutter: stable;
  966. scrollbar-width: auto !important;
  967. min-height: 100vh !important;
  968. }
  969. .board-list::after {
  970. content: '';
  971. display: block;
  972. height: 200px !important; /* More space to ensure scrolling */
  973. }
  974. }
  975. .AllBoardTeamsOrgs {
  976. list-style-type: none;
  977. overflow: hidden;
  978. }
  979. .AllBoardTeams,
  980. .AllBoardOrgs,
  981. .AllBoardBtns {
  982. float: left;
  983. }
  984. .js-AllBoardOrgs {
  985. margin-left: 16px;
  986. }
  987. .AllBoardTeams {
  988. margin-left: 16px;
  989. }
  990. .AllBoardButtonsContainer {
  991. margin: 16px;
  992. }
  993. #filterBtn,
  994. #resetBtn {
  995. display: inline;
  996. }
  997. #resetBtn.filter-reset-btn {
  998. background: #f44336;
  999. color: #000;
  1000. border: none;
  1001. border-radius: 4px;
  1002. padding: 6px 12px;
  1003. cursor: pointer;
  1004. font-size: 14px;
  1005. display: inline-flex;
  1006. align-items: center;
  1007. gap: 6px;
  1008. transition: background 0.2s;
  1009. }
  1010. #resetBtn.filter-reset-btn:hover {
  1011. background: #d32f2f;
  1012. }
  1013. #resetBtn.filter-reset-btn .reset-icon {
  1014. font-size: 14px;
  1015. }
  1016. .js-board {
  1017. display: block;
  1018. background-color: #999; /* Default gray background if no color class is applied */
  1019. border-radius: 3px; /* Rounded corners for board items */
  1020. overflow: hidden; /* Ensure children respect rounded corners */
  1021. margin: 8px; /* Space between board items */
  1022. }
  1023. /* Reset background for add-board button */
  1024. .js-add-board {
  1025. background-color: transparent !important;
  1026. margin: 8px !important; /* Keep margin for add-board */
  1027. }
  1028. /* Apply board colors to li.js-board parent instead of just the link */
  1029. .board-list .board-color-nephritis { background-color: #27ae60; }
  1030. .board-list .board-color-pomegranate { background-color: #c0392b; }
  1031. .board-list .board-color-belize { background-color: #2980b9; }
  1032. .board-list .board-color-wisteria { background-color: #8e44ad; }
  1033. .board-list .board-color-midnight { background-color: #2c3e50; }
  1034. .board-list .board-color-pumpkin { background-color: #e67e22; }
  1035. .board-list .board-color-moderatepink { background-color: #cd5a91; }
  1036. .board-list .board-color-strongcyan { background-color: #00aecc; }
  1037. .board-list .board-color-limegreen { background-color: #4bbf6b; }
  1038. .board-list .board-color-dark { background-color: #2c3e51; }
  1039. .board-list .board-color-relax { background-color: #27ae61; }
  1040. .board-list .board-color-corteza { background-color: #568ba2; }
  1041. .board-list .board-color-clearblue { background-color: #3498db; }
  1042. .board-list .board-color-natural { background-color: #596557; }
  1043. .board-list .board-color-modern { background-color: #2a80b8; }
  1044. .board-list .board-color-moderndark { background-color: #2a2a2a; }
  1045. .board-list .board-color-exodark { background-color: #222; }
  1046. .minicard-members {
  1047. padding: 6px 0 6px 8px;
  1048. width: 100%;
  1049. margin-bottom: 2px;
  1050. margin-left: -4px;
  1051. display: inline-block;
  1052. }
  1053. .minicard-lists {
  1054. margin: 0 auto;
  1055. max-width: 95%;
  1056. height: 100%;
  1057. }
  1058. .flex {
  1059. display: flex;
  1060. }
  1061. .flex-wrap {
  1062. flex-wrap: wrap;
  1063. }
  1064. .flex-wrap .item {
  1065. margin: 2px;
  1066. padding-right: 6px;
  1067. text-align: center;
  1068. }
  1069. /* Fix multiple scrollbars issue on mobile */
  1070. @media screen and (max-width: 800px),
  1071. screen and (max-device-width: 800px),
  1072. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  1073. screen and (max-width: 800px) and (orientation: portrait),
  1074. screen and (max-width: 800px) and (orientation: landscape),
  1075. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  1076. .wrapper {
  1077. overflow: hidden;
  1078. height: 100vh;
  1079. }
  1080. .board-list {
  1081. overflow-y: scroll !important;
  1082. overflow-x: hidden !important;
  1083. -webkit-overflow-scrolling: touch;
  1084. scrollbar-width: thin;
  1085. scrollbar-color: #888 #f1f1f1;
  1086. height: calc(100vh - 120px); /* Ensure there's content to scroll */
  1087. }
  1088. /* Force scrollbar to always be visible */
  1089. .board-list::-webkit-scrollbar {
  1090. width: 12px !important;
  1091. display: block !important;
  1092. visibility: visible !important;
  1093. }
  1094. .board-list::-webkit-scrollbar-track {
  1095. background: #f1f1f1 !important;
  1096. border-radius: 6px !important;
  1097. display: block !important;
  1098. visibility: visible !important;
  1099. }
  1100. .board-list::-webkit-scrollbar-thumb {
  1101. background: #888 !important;
  1102. border-radius: 6px !important;
  1103. display: block !important;
  1104. visibility: visible !important;
  1105. }
  1106. .board-list::-webkit-scrollbar-thumb:hover {
  1107. background: #555 !important;
  1108. }
  1109. /* Ensure scrollbar is always visible */
  1110. .board-list::-webkit-scrollbar-corner {
  1111. background: #f1f1f1 !important;
  1112. }
  1113. /* Force scrollbar to be visible */
  1114. .board-list {
  1115. scrollbar-gutter: stable;
  1116. scrollbar-width: auto !important;
  1117. min-height: 100vh; /* Force content to be tall enough to scroll */
  1118. }
  1119. /* Ensure there's always content to scroll */
  1120. .board-list::after {
  1121. content: '';
  1122. display: block;
  1123. height: 100px;
  1124. }
  1125. /* Ensure only one scrollbar is visible */
  1126. body {
  1127. overflow: hidden;
  1128. }
  1129. #content {
  1130. overflow: hidden;
  1131. }
  1132. /* Hide archive and clone board buttons in mobile view */
  1133. .board-list .js-archive-board,
  1134. .board-list .js-clone-board {
  1135. display: none !important;
  1136. }
  1137. /* Change board drag handle to up-down arrow in mobile view */
  1138. .board-list .board-handle.fa-arrows::before {
  1139. content: "↕️" !important;
  1140. font-family: inherit !important;
  1141. }
  1142. }