boardsList.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  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. .zoom-controls {
  10. display: flex;
  11. align-items: center;
  12. gap: 0.5vw;
  13. background: rgba(255, 255, 255, 0.9);
  14. padding: 0.5vh 1vw;
  15. border-radius: 0.5vw;
  16. box-shadow: 0 0.2vh 0.5vh rgba(0,0,0,0.1);
  17. }
  18. .zoom-controls .board-header-btn {
  19. padding: 0.5vh 0.8vw !important;
  20. border-radius: 0.3vw !important;
  21. background: #fff !important;
  22. border: 1px solid #000 !important;
  23. transition: all 0.2s ease !important;
  24. text-decoration: none !important;
  25. color: #000 !important;
  26. display: flex !important;
  27. align-items: center !important;
  28. gap: 0.3vw !important;
  29. height: auto !important;
  30. line-height: normal !important;
  31. margin: 0 !important;
  32. float: none !important;
  33. overflow: visible !important;
  34. }
  35. .zoom-controls .board-header-btn i {
  36. color: #000 !important;
  37. float: none !important;
  38. display: inline !important;
  39. line-height: normal !important;
  40. margin: 0 !important;
  41. }
  42. .zoom-controls .board-header-btn:hover {
  43. background: #000 !important;
  44. border-color: #000 !important;
  45. color: #fff !important;
  46. }
  47. .zoom-controls .board-header-btn:hover i {
  48. color: #fff !important;
  49. }
  50. .zoom-controls .board-header-btn.is-active {
  51. background: #0079bf;
  52. color: white;
  53. border-color: #005a8a;
  54. }
  55. .zoom-controls .board-header-btn.is-active i {
  56. color: white;
  57. }
  58. .zoom-level {
  59. font-weight: bold;
  60. color: #333;
  61. min-width: 3vw;
  62. text-align: center;
  63. font-size: clamp(12px, 2vw, 14px);
  64. cursor: pointer;
  65. padding: 0.3vh 0.5vw;
  66. border-radius: 0.3vw;
  67. transition: all 0.2s ease;
  68. }
  69. .zoom-level:hover {
  70. background: #f0f0f0;
  71. color: #000;
  72. }
  73. .board-list {
  74. margin: 0 8px;
  75. }
  76. .board-list li {
  77. float: left;
  78. width: 20%;
  79. box-sizing: border-box;
  80. position: relative;
  81. }
  82. .board-list li.placeholder:after {
  83. content: '';
  84. display: block;
  85. background: #ccc;
  86. border-radius: 3px;
  87. height: 106px;
  88. margin: 8px;
  89. }
  90. .board-list li.ui-sortable-helper {
  91. cursor: grabbing;
  92. transform: rotate(4deg);
  93. display: block !important;
  94. }
  95. .board-list li.starred .is-star-active,
  96. .board-list li.starred .is-not-star-active {
  97. opacity: 1;
  98. }
  99. .board-list .board-list-item {
  100. overflow: hidden;
  101. background-color: #999;
  102. color: #f6f6f6;
  103. min-height: 100px;
  104. font-size: 16px;
  105. line-height: 22px;
  106. border-radius: 3px;
  107. display: block;
  108. font-weight: 700;
  109. padding: 8px;
  110. margin: 8px;
  111. position: relative;
  112. text-decoration: none;
  113. word-wrap: break-word;
  114. }
  115. .board-list .board-list-item.template-container {
  116. border: 4px solid #fff;
  117. }
  118. .board-list .board-list-item.tile {
  119. background-size: auto;
  120. background-repeat: repeat;
  121. }
  122. .board-list .board-list-item-sub-name {
  123. color: rgba(255,255,255,0.5);
  124. display: block;
  125. font-size: 14px;
  126. font-weight: 400;
  127. line-height: 22px;
  128. }
  129. .board-list .board-list-item-desc {
  130. color: #fff;
  131. display: block;
  132. font-size: 14px;
  133. font-weight: 400;
  134. line-height: 18px;
  135. }
  136. .board-list .js-add-board {
  137. text-align: center;
  138. }
  139. .board-list .js-add-board .label {
  140. font-weight: normal;
  141. line-height: 56px;
  142. }
  143. .board-list .js-add-board :hover {
  144. background-color: #939393;
  145. }
  146. .board-list .is-star-active,
  147. .board-list .is-not-star-active {
  148. bottom: 0;
  149. font-size: 14px;
  150. height: 18px;
  151. line-height: 18px;
  152. opacity: 0;
  153. padding: 9px 9px;
  154. position: absolute;
  155. right: 0;
  156. top: 0;
  157. transition-duration: 0.15s;
  158. transition-property: color, font-size, background;
  159. }
  160. .board-list .fa-circle {
  161. bottom: 0;
  162. font-size: 10px;
  163. height: 10px;
  164. line-height: 10px;
  165. padding: 9px 9px;
  166. position: absolute;
  167. right: 0;
  168. transition-duration: 0.15s;
  169. transition-property: color, font-size, background;
  170. }
  171. .board-list .has-overtime-card-active {
  172. color: #eb4646 !important;
  173. }
  174. .board-list .no-overtime-card-active {
  175. color: #3cb500 !important;
  176. }
  177. .board-list .is-star-active {
  178. color: #fff;
  179. }
  180. .board-list .fa-clone {
  181. position: absolute;
  182. bottom: 0;
  183. font-size: 14px;
  184. height: 18px;
  185. line-height: 18px;
  186. opacity: 0;
  187. right: 0;
  188. padding: 9px 9px;
  189. transition-duration: 0.15s;
  190. transition-property: color, font-size, background;
  191. }
  192. .board-list .fa-archive {
  193. position: absolute;
  194. bottom: 0;
  195. font-size: 14px;
  196. height: 18px;
  197. line-height: 18px;
  198. opacity: 0;
  199. left: 0;
  200. padding: 9px 9px;
  201. transition-duration: 0.15s;
  202. transition-property: color, font-size, background;
  203. }
  204. .board-list li:hover a:hover .is-star-active,
  205. .board-list li:hover a:hover .fa-clone,
  206. .board-list li:hover a:hover .fa-archive,
  207. .board-list li:hover a:hover .is-not-star-active {
  208. color: #fff;
  209. }
  210. .board-list li:hover a .is-star-active,
  211. .board-list li:hover a .fa-clone,
  212. .board-list li:hover a .fa-archive,
  213. .board-list li:hover a .is-not-star-active {
  214. color: #fff;
  215. opacity: 0.75;
  216. }
  217. .board-list li:hover a .is-star-active:hover,
  218. .board-list li:hover a .fa-clone:hover,
  219. .board-list li:hover a .fa-archive:hover,
  220. .board-list li:hover a .is-not-star-active:hover {
  221. font-size: 18px;
  222. opacity: 1;
  223. }
  224. .board-list li:hover a .is-star-active,
  225. .board-list li:hover a .fa-clone,
  226. .board-list li:hover a .fa-archive,
  227. .board-list li:hover a .is-not-star-active {
  228. opacity: 1;
  229. }
  230. .board-backgrounds-list .board-background-select {
  231. box-sizing: border-box;
  232. display: block;
  233. float: left;
  234. width: 50%;
  235. padding-top: 12px;
  236. position: relative;
  237. z-index: 1;
  238. }
  239. .board-backgrounds-list .board-background-select:nth-child(-n + 2) {
  240. padding-top: 0;
  241. }
  242. .board-backgrounds-list .board-background-select:nth-child(2n) {
  243. padding-left: 6px;
  244. }
  245. .board-backgrounds-list .board-background-select:nth-child(2n+1) {
  246. padding-right: 6px;
  247. }
  248. .board-backgrounds-list .board-background-select .background-box {
  249. color: #fff;
  250. border-radius: 3px;
  251. background-size: cover;
  252. display: block;
  253. height: 74px;
  254. position: relative;
  255. width: 100%;
  256. cursor: pointer;
  257. display: flex;
  258. align-items: center;
  259. justify-content: center;
  260. }
  261. .board-backgrounds-list .board-background-select .background-box i.fa-check {
  262. font-size: 25px;
  263. color: #fff;
  264. }
  265. /* Mobile view styles - applied when isMiniScreen is true (iPhone, etc.) */
  266. .board-list.mobile-view {
  267. height: calc(100vh - 120px);
  268. overflow-y: scroll !important;
  269. overflow-x: hidden;
  270. padding: 0 1rem;
  271. margin: 0;
  272. scrollbar-width: auto !important;
  273. scrollbar-color: #888 #f1f1f1;
  274. }
  275. .board-list.mobile-view li {
  276. width: 100%;
  277. float: none;
  278. display: block;
  279. margin-bottom: 1rem;
  280. padding-right: 50px; /* Space for drag handle */
  281. }
  282. .board-list.mobile-view .board-list-item {
  283. overflow: visible;
  284. height: 8rem;
  285. width: 100%;
  286. margin: 0;
  287. padding-right: 50px; /* Ensure content doesn't overlap with drag handle */
  288. }
  289. .board-list.mobile-view .board-list-item .details {
  290. padding-right: 50px; /* Extra space for drag handle */
  291. width: 100%;
  292. box-sizing: border-box;
  293. }
  294. .board-list.mobile-view .board-list-item-sub-name {
  295. position: relative;
  296. top: -100px;
  297. left: -100px;
  298. }
  299. .board-list.mobile-view .board-handle {
  300. position: absolute;
  301. padding: 7px;
  302. top: 50%;
  303. transform: translateY(-50%);
  304. right: 10px;
  305. font-size: 24px;
  306. color: #fff;
  307. background: rgba(0,0,0,0.3);
  308. border-radius: 50%;
  309. width: 40px;
  310. height: 40px;
  311. display: flex;
  312. align-items: center;
  313. justify-content: center;
  314. z-index: 10;
  315. transition: background-color 0.2s ease;
  316. }
  317. .board-list.mobile-view .board-handle:hover {
  318. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  319. }
  320. /* Force scrollbar to be visible on mobile view */
  321. .board-list.mobile-view::-webkit-scrollbar {
  322. width: 12px !important;
  323. display: block !important;
  324. visibility: visible !important;
  325. }
  326. .board-list.mobile-view::-webkit-scrollbar-track {
  327. background: #f1f1f1 !important;
  328. border-radius: 6px !important;
  329. display: block !important;
  330. visibility: visible !important;
  331. }
  332. .board-list.mobile-view::-webkit-scrollbar-thumb {
  333. background: #888 !important;
  334. border-radius: 6px !important;
  335. display: block !important;
  336. visibility: visible !important;
  337. }
  338. .board-list.mobile-view::-webkit-scrollbar-thumb:hover {
  339. background: #555 !important;
  340. }
  341. /* Force mobile view to have scrollable content */
  342. .board-list.mobile-view {
  343. min-height: 100vh; /* Force content to be tall enough to scroll */
  344. }
  345. /* Hide archive and clone board buttons in mobile view */
  346. .board-list.mobile-view .js-archive-board,
  347. .board-list.mobile-view .js-clone-board {
  348. display: none !important;
  349. }
  350. /* Change board drag handle to up-down arrow in mobile view */
  351. .board-list.mobile-view .board-handle.fa-arrows::before {
  352. content: "↕️" !important;
  353. font-family: inherit !important;
  354. }
  355. .board-list.mobile-view::after {
  356. content: '';
  357. display: block;
  358. height: 100px;
  359. }
  360. @media screen and (max-width: 800px),
  361. screen and (max-device-width: 800px),
  362. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  363. screen and (max-width: 800px) and (orientation: portrait),
  364. screen and (max-width: 800px) and (orientation: landscape),
  365. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  366. .board-list {
  367. height: 100%;
  368. overflow-y: auto;
  369. overflow-x: hidden;
  370. padding: 0 1rem;
  371. margin: 0;
  372. }
  373. .board-list li {
  374. width: 100%;
  375. float: none;
  376. display: block;
  377. margin-bottom: 1rem;
  378. padding-right: 50px; /* Space for drag handle */
  379. }
  380. .board-list .board-list-item {
  381. overflow: visible;
  382. height: 8rem;
  383. width: 100%;
  384. margin: 0;
  385. padding-right: 50px; /* Ensure content doesn't overlap with drag handle */
  386. }
  387. .board-list .board-list-item .details {
  388. padding-right: 50px; /* Extra space for drag handle */
  389. width: 100%;
  390. box-sizing: border-box;
  391. }
  392. .board-list .board-list-item-sub-name {
  393. position: relative;
  394. top: -100px;
  395. left: -100px;
  396. }
  397. .board-list .board-handle {
  398. position: absolute;
  399. padding: 7px;
  400. top: 50%;
  401. transform: translateY(-50%);
  402. right: 10px;
  403. font-size: 24px;
  404. color: #fff;
  405. background: rgba(0,0,0,0.3);
  406. border-radius: 50%;
  407. width: 40px;
  408. height: 40px;
  409. display: flex;
  410. align-items: center;
  411. justify-content: center;
  412. z-index: 10;
  413. transition: background-color 0.2s ease;
  414. }
  415. .board-list .board-handle:hover {
  416. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  417. }
  418. }
  419. /* Very small screens - ensure one board per row */
  420. @media screen and (max-width: 360px) {
  421. .board-list li {
  422. width: 100% !important;
  423. float: none !important;
  424. display: block !important;
  425. }
  426. .board-list .board-handle {
  427. position: absolute;
  428. padding: 7px;
  429. top: 50%;
  430. transform: translateY(-50%);
  431. right: 10px;
  432. font-size: 24px;
  433. color: #fff;
  434. background: rgba(0,0,0,0.3);
  435. border-radius: 50%;
  436. width: 40px;
  437. height: 40px;
  438. display: flex;
  439. align-items: center;
  440. justify-content: center;
  441. }
  442. }
  443. /* Mobile - make all text and icons 2x bigger above #content on All Boards page */
  444. @media screen and (max-width: 800px),
  445. screen and (max-device-width: 800px),
  446. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  447. screen and (max-width: 800px) and (orientation: portrait),
  448. screen and (max-width: 800px) and (orientation: landscape),
  449. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  450. .wrapper {
  451. font-size: 2em !important; /* 2x bigger base font size for All Boards page */
  452. }
  453. .wrapper * {
  454. font-size: inherit !important; /* Inherit the 2x scaling */
  455. }
  456. .wrapper .fa, .wrapper .icon {
  457. font-size: 2em !important; /* 2x bigger icons */
  458. }
  459. .board-list-header {
  460. font-size: 1em !important; /* Use inherited 2x scaling */
  461. }
  462. .board-list-header h1 {
  463. font-size: 1em !important; /* Use inherited 2x scaling */
  464. }
  465. .AllBoardTeamsOrgs {
  466. font-size: 1em !important; /* Use inherited 2x scaling */
  467. }
  468. .AllBoardTeamsOrgs select {
  469. font-size: 1em !important; /* Use inherited 2x scaling */
  470. }
  471. .AllBoardTeamsOrgs input {
  472. font-size: 1em !important; /* Use inherited 2x scaling */
  473. }
  474. .AllBoardTeamsOrgs .fa {
  475. font-size: 1em !important; /* Use inherited 2x scaling */
  476. }
  477. .board-list {
  478. font-size: 1em !important; /* Use inherited 2x scaling */
  479. }
  480. .board-list .board-list-item {
  481. font-size: 1em !important; /* Use inherited 2x scaling */
  482. }
  483. .board-list .board-list-item-name {
  484. font-size: 1em !important; /* Use inherited 2x scaling */
  485. }
  486. .board-list .board-list-item-desc {
  487. font-size: 1em !important; /* Use inherited 2x scaling */
  488. }
  489. .board-list .minicard-members {
  490. font-size: 1em !important; /* Use inherited 2x scaling */
  491. }
  492. .board-list .minicard-lists {
  493. font-size: 1em !important; /* Use inherited 2x scaling */
  494. }
  495. .board-list .fa {
  496. font-size: 1em !important; /* Use inherited 2x scaling */
  497. }
  498. .board-list .board-handle {
  499. font-size: 1em !important; /* Use inherited 2x scaling */
  500. }
  501. }
  502. /* Fallback for iPhone devices using JavaScript detection - All Boards page */
  503. .iphone-device .wrapper {
  504. font-size: 2em !important; /* 2x bigger base font size for All Boards page */
  505. }
  506. .iphone-device .wrapper * {
  507. font-size: inherit !important; /* Inherit the 2x scaling */
  508. }
  509. .iphone-device .wrapper .fa, .iphone-device .wrapper .icon {
  510. font-size: 2em !important; /* 2x bigger icons */
  511. }
  512. .iphone-device .board-list-header {
  513. font-size: 1em !important; /* Use inherited 2x scaling */
  514. }
  515. .iphone-device .board-list-header h1 {
  516. font-size: 1em !important; /* Use inherited 2x scaling */
  517. }
  518. .iphone-device .AllBoardTeamsOrgs {
  519. font-size: 1em !important; /* Use inherited 2x scaling */
  520. }
  521. .iphone-device .AllBoardTeamsOrgs select {
  522. font-size: 1em !important; /* Use inherited 2x scaling */
  523. }
  524. .iphone-device .AllBoardTeamsOrgs input {
  525. font-size: 1em !important; /* Use inherited 2x scaling */
  526. }
  527. .iphone-device .AllBoardTeamsOrgs .fa {
  528. font-size: 1em !important; /* Use inherited 2x scaling */
  529. }
  530. .iphone-device .board-list {
  531. font-size: 1em !important; /* Use inherited 2x scaling */
  532. }
  533. .iphone-device .board-list .board-list-item {
  534. font-size: 1em !important; /* Use inherited 2x scaling */
  535. }
  536. .iphone-device .board-list .board-list-item-name {
  537. font-size: 1em !important; /* Use inherited 2x scaling */
  538. }
  539. .iphone-device .board-list .board-list-item-desc {
  540. font-size: 1em !important; /* Use inherited 2x scaling */
  541. }
  542. .iphone-device .board-list .minicard-members {
  543. font-size: 1em !important; /* Use inherited 2x scaling */
  544. }
  545. .iphone-device .board-list .minicard-lists {
  546. font-size: 1em !important; /* Use inherited 2x scaling */
  547. }
  548. .iphone-device .board-list .fa {
  549. font-size: 1em !important; /* Use inherited 2x scaling */
  550. }
  551. .iphone-device .board-list .board-handle {
  552. font-size: 1em !important; /* Use inherited 2x scaling */
  553. }
  554. /* iPhone 12 Mini and very small screens - make everything much larger */
  555. @media screen and (max-width: 400px) and (max-height: 900px) {
  556. .board-list {
  557. height: calc(100vh - 120px) !important;
  558. overflow-y: scroll !important;
  559. overflow-x: hidden !important;
  560. -webkit-overflow-scrolling: touch;
  561. padding: 0 0.5rem;
  562. }
  563. .board-list li {
  564. width: 100% !important;
  565. float: none !important;
  566. display: block !important;
  567. margin-bottom: 1.5rem !important;
  568. }
  569. .board-list .board-list-item {
  570. height: 12rem !important; /* Much taller */
  571. width: 100% !important;
  572. margin: 0 !important;
  573. padding: 1rem !important; /* More padding */
  574. font-size: 18px !important; /* Much larger text */
  575. line-height: 1.4 !important;
  576. }
  577. .board-list .board-list-item .board-list-item-name {
  578. font-size: 20px !important; /* Larger board names */
  579. font-weight: bold !important;
  580. margin-bottom: 0.5rem !important;
  581. }
  582. .board-list .board-list-item .board-list-item-desc {
  583. font-size: 16px !important; /* Larger descriptions */
  584. line-height: 1.3 !important;
  585. }
  586. .board-list .board-list-item .minicard-members {
  587. font-size: 14px !important; /* Larger member avatars */
  588. }
  589. .board-list .board-list-item .minicard-lists {
  590. font-size: 14px !important; /* Larger list counters */
  591. }
  592. .board-list .board-handle {
  593. position: absolute;
  594. padding: 10px !important;
  595. top: 50%;
  596. transform: translateY(-50%);
  597. right: 15px !important;
  598. font-size: 28px !important; /* Much larger drag handle */
  599. color: #fff;
  600. background: rgba(0,0,0,0.4) !important;
  601. border-radius: 50%;
  602. width: 50px !important; /* Larger handle */
  603. height: 50px !important;
  604. display: flex;
  605. align-items: center;
  606. justify-content: center;
  607. z-index: 10;
  608. transition: background-color 0.2s ease;
  609. }
  610. .board-list .board-handle:hover {
  611. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  612. }
  613. /* Force scrollbar to be visible and larger */
  614. .board-list::-webkit-scrollbar {
  615. width: 16px !important; /* Much wider scrollbar */
  616. display: block !important;
  617. visibility: visible !important;
  618. }
  619. .board-list::-webkit-scrollbar-track {
  620. background: #f1f1f1 !important;
  621. border-radius: 8px !important;
  622. display: block !important;
  623. visibility: visible !important;
  624. }
  625. .board-list::-webkit-scrollbar-thumb {
  626. background: #666 !important; /* Darker for better visibility */
  627. border-radius: 8px !important;
  628. display: block !important;
  629. visibility: visible !important;
  630. min-height: 50px !important; /* Minimum thumb size */
  631. }
  632. .board-list::-webkit-scrollbar-thumb:hover {
  633. background: #333 !important;
  634. }
  635. /* Ensure scrollbar is always visible */
  636. .board-list {
  637. scrollbar-gutter: stable;
  638. scrollbar-width: auto !important;
  639. min-height: 100vh !important;
  640. }
  641. .board-list::after {
  642. content: '';
  643. display: block;
  644. height: 200px !important; /* More space to ensure scrolling */
  645. }
  646. }
  647. .AllBoardTeamsOrgs {
  648. list-style-type: none;
  649. overflow: hidden;
  650. }
  651. .AllBoardTeams,
  652. .AllBoardOrgs,
  653. .AllBoardBtns {
  654. float: left;
  655. }
  656. .js-AllBoardOrgs {
  657. margin-left: 16px;
  658. }
  659. .AllBoardTeams {
  660. margin-left: 16px;
  661. }
  662. .AllBoardButtonsContainer {
  663. margin: 16px;
  664. }
  665. #filterBtn,
  666. #resetBtn {
  667. display: inline;
  668. }
  669. .js-board {
  670. display: block;
  671. }
  672. .minicard-members {
  673. padding: 6px 0 6px 8px;
  674. width: 100%;
  675. margin-bottom: 2px;
  676. margin-left: -4px;
  677. display: inline-block;
  678. }
  679. .minicard-lists {
  680. margin: 0 auto;
  681. max-width: 95%;
  682. height: 100%;
  683. }
  684. .flex {
  685. display: flex;
  686. }
  687. .flex-wrap {
  688. flex-wrap: wrap;
  689. }
  690. .flex-wrap .item {
  691. margin: 2px;
  692. padding-right: 6px;
  693. text-align: center;
  694. }
  695. /* Fix multiple scrollbars issue on mobile */
  696. @media screen and (max-width: 800px),
  697. screen and (max-device-width: 800px),
  698. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  699. screen and (max-width: 800px) and (orientation: portrait),
  700. screen and (max-width: 800px) and (orientation: landscape),
  701. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  702. .wrapper {
  703. overflow: hidden;
  704. height: 100vh;
  705. }
  706. .board-list {
  707. overflow-y: scroll !important;
  708. overflow-x: hidden !important;
  709. -webkit-overflow-scrolling: touch;
  710. scrollbar-width: thin;
  711. scrollbar-color: #888 #f1f1f1;
  712. height: calc(100vh - 120px); /* Ensure there's content to scroll */
  713. }
  714. /* Force scrollbar to always be visible */
  715. .board-list::-webkit-scrollbar {
  716. width: 12px !important;
  717. display: block !important;
  718. visibility: visible !important;
  719. }
  720. .board-list::-webkit-scrollbar-track {
  721. background: #f1f1f1 !important;
  722. border-radius: 6px !important;
  723. display: block !important;
  724. visibility: visible !important;
  725. }
  726. .board-list::-webkit-scrollbar-thumb {
  727. background: #888 !important;
  728. border-radius: 6px !important;
  729. display: block !important;
  730. visibility: visible !important;
  731. }
  732. .board-list::-webkit-scrollbar-thumb:hover {
  733. background: #555 !important;
  734. }
  735. /* Ensure scrollbar is always visible */
  736. .board-list::-webkit-scrollbar-corner {
  737. background: #f1f1f1 !important;
  738. }
  739. /* Force scrollbar to be visible */
  740. .board-list {
  741. scrollbar-gutter: stable;
  742. scrollbar-width: auto !important;
  743. min-height: 100vh; /* Force content to be tall enough to scroll */
  744. }
  745. /* Ensure there's always content to scroll */
  746. .board-list::after {
  747. content: '';
  748. display: block;
  749. height: 100px;
  750. }
  751. /* Ensure only one scrollbar is visible */
  752. body {
  753. overflow: hidden;
  754. }
  755. #content {
  756. overflow: hidden;
  757. }
  758. /* Hide archive and clone board buttons in mobile view */
  759. .board-list .js-archive-board,
  760. .board-list .js-clone-board {
  761. display: none !important;
  762. }
  763. /* Change board drag handle to up-down arrow in mobile view */
  764. .board-list .board-handle.fa-arrows::before {
  765. content: "↕️" !important;
  766. font-family: inherit !important;
  767. }
  768. }