boardsList.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  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. .board-list {
  366. height: 100%;
  367. overflow-y: auto;
  368. overflow-x: hidden;
  369. padding: 0 1rem;
  370. margin: 0;
  371. }
  372. .board-list li {
  373. width: 100%;
  374. float: none;
  375. display: block;
  376. margin-bottom: 1rem;
  377. padding-right: 50px; /* Space for drag handle */
  378. }
  379. .board-list .board-list-item {
  380. overflow: visible;
  381. height: 8rem;
  382. width: 100%;
  383. margin: 0;
  384. padding-right: 50px; /* Ensure content doesn't overlap with drag handle */
  385. }
  386. .board-list .board-list-item .details {
  387. padding-right: 50px; /* Extra space for drag handle */
  388. width: 100%;
  389. box-sizing: border-box;
  390. }
  391. .board-list .board-list-item-sub-name {
  392. position: relative;
  393. top: -100px;
  394. left: -100px;
  395. }
  396. .board-list .board-handle {
  397. position: absolute;
  398. padding: 7px;
  399. top: 50%;
  400. transform: translateY(-50%);
  401. right: 10px;
  402. font-size: 24px;
  403. color: #fff;
  404. background: rgba(0,0,0,0.3);
  405. border-radius: 50%;
  406. width: 40px;
  407. height: 40px;
  408. display: flex;
  409. align-items: center;
  410. justify-content: center;
  411. z-index: 10;
  412. transition: background-color 0.2s ease;
  413. }
  414. .board-list .board-handle:hover {
  415. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  416. }
  417. }
  418. /* Very small screens - ensure one board per row */
  419. @media screen and (max-width: 360px) {
  420. .board-list li {
  421. width: 100% !important;
  422. float: none !important;
  423. display: block !important;
  424. }
  425. .board-list .board-handle {
  426. position: absolute;
  427. padding: 7px;
  428. top: 50%;
  429. transform: translateY(-50%);
  430. right: 10px;
  431. font-size: 24px;
  432. color: #fff;
  433. background: rgba(0,0,0,0.3);
  434. border-radius: 50%;
  435. width: 40px;
  436. height: 40px;
  437. display: flex;
  438. align-items: center;
  439. justify-content: center;
  440. }
  441. }
  442. /* Mobile - make all text and icons 2x bigger above #content on All Boards page */
  443. @media screen and (max-width: 800px),
  444. screen and (max-device-width: 800px),
  445. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  446. screen and (max-width: 800px) and (orientation: portrait),
  447. screen and (max-width: 800px) and (orientation: landscape) {
  448. .wrapper {
  449. font-size: 2em !important; /* 2x bigger base font size for All Boards page */
  450. }
  451. .wrapper * {
  452. font-size: inherit !important; /* Inherit the 2x scaling */
  453. }
  454. .wrapper .fa, .wrapper .icon {
  455. font-size: 2em !important; /* 2x bigger icons */
  456. }
  457. .board-list-header {
  458. font-size: 1em !important; /* Use inherited 2x scaling */
  459. }
  460. .board-list-header h1 {
  461. font-size: 1em !important; /* Use inherited 2x scaling */
  462. }
  463. .AllBoardTeamsOrgs {
  464. font-size: 1em !important; /* Use inherited 2x scaling */
  465. }
  466. .AllBoardTeamsOrgs select {
  467. font-size: 1em !important; /* Use inherited 2x scaling */
  468. }
  469. .AllBoardTeamsOrgs input {
  470. font-size: 1em !important; /* Use inherited 2x scaling */
  471. }
  472. .AllBoardTeamsOrgs .fa {
  473. font-size: 1em !important; /* Use inherited 2x scaling */
  474. }
  475. .board-list {
  476. font-size: 1em !important; /* Use inherited 2x scaling */
  477. }
  478. .board-list .board-list-item {
  479. font-size: 1em !important; /* Use inherited 2x scaling */
  480. }
  481. .board-list .board-list-item-name {
  482. font-size: 1em !important; /* Use inherited 2x scaling */
  483. }
  484. .board-list .board-list-item-desc {
  485. font-size: 1em !important; /* Use inherited 2x scaling */
  486. }
  487. .board-list .minicard-members {
  488. font-size: 1em !important; /* Use inherited 2x scaling */
  489. }
  490. .board-list .minicard-lists {
  491. font-size: 1em !important; /* Use inherited 2x scaling */
  492. }
  493. .board-list .fa {
  494. font-size: 1em !important; /* Use inherited 2x scaling */
  495. }
  496. .board-list .board-handle {
  497. font-size: 1em !important; /* Use inherited 2x scaling */
  498. }
  499. }
  500. /* Fallback for iPhone devices using JavaScript detection - All Boards page */
  501. .iphone-device .wrapper {
  502. font-size: 2em !important; /* 2x bigger base font size for All Boards page */
  503. }
  504. .iphone-device .wrapper * {
  505. font-size: inherit !important; /* Inherit the 2x scaling */
  506. }
  507. .iphone-device .wrapper .fa, .iphone-device .wrapper .icon {
  508. font-size: 2em !important; /* 2x bigger icons */
  509. }
  510. .iphone-device .board-list-header {
  511. font-size: 1em !important; /* Use inherited 2x scaling */
  512. }
  513. .iphone-device .board-list-header h1 {
  514. font-size: 1em !important; /* Use inherited 2x scaling */
  515. }
  516. .iphone-device .AllBoardTeamsOrgs {
  517. font-size: 1em !important; /* Use inherited 2x scaling */
  518. }
  519. .iphone-device .AllBoardTeamsOrgs select {
  520. font-size: 1em !important; /* Use inherited 2x scaling */
  521. }
  522. .iphone-device .AllBoardTeamsOrgs input {
  523. font-size: 1em !important; /* Use inherited 2x scaling */
  524. }
  525. .iphone-device .AllBoardTeamsOrgs .fa {
  526. font-size: 1em !important; /* Use inherited 2x scaling */
  527. }
  528. .iphone-device .board-list {
  529. font-size: 1em !important; /* Use inherited 2x scaling */
  530. }
  531. .iphone-device .board-list .board-list-item {
  532. font-size: 1em !important; /* Use inherited 2x scaling */
  533. }
  534. .iphone-device .board-list .board-list-item-name {
  535. font-size: 1em !important; /* Use inherited 2x scaling */
  536. }
  537. .iphone-device .board-list .board-list-item-desc {
  538. font-size: 1em !important; /* Use inherited 2x scaling */
  539. }
  540. .iphone-device .board-list .minicard-members {
  541. font-size: 1em !important; /* Use inherited 2x scaling */
  542. }
  543. .iphone-device .board-list .minicard-lists {
  544. font-size: 1em !important; /* Use inherited 2x scaling */
  545. }
  546. .iphone-device .board-list .fa {
  547. font-size: 1em !important; /* Use inherited 2x scaling */
  548. }
  549. .iphone-device .board-list .board-handle {
  550. font-size: 1em !important; /* Use inherited 2x scaling */
  551. }
  552. /* iPhone 12 Mini and very small screens - make everything much larger */
  553. @media screen and (max-width: 400px) and (max-height: 900px) {
  554. .board-list {
  555. height: calc(100vh - 120px) !important;
  556. overflow-y: scroll !important;
  557. overflow-x: hidden !important;
  558. -webkit-overflow-scrolling: touch;
  559. padding: 0 0.5rem;
  560. }
  561. .board-list li {
  562. width: 100% !important;
  563. float: none !important;
  564. display: block !important;
  565. margin-bottom: 1.5rem !important;
  566. }
  567. .board-list .board-list-item {
  568. height: 12rem !important; /* Much taller */
  569. width: 100% !important;
  570. margin: 0 !important;
  571. padding: 1rem !important; /* More padding */
  572. font-size: 18px !important; /* Much larger text */
  573. line-height: 1.4 !important;
  574. }
  575. .board-list .board-list-item .board-list-item-name {
  576. font-size: 20px !important; /* Larger board names */
  577. font-weight: bold !important;
  578. margin-bottom: 0.5rem !important;
  579. }
  580. .board-list .board-list-item .board-list-item-desc {
  581. font-size: 16px !important; /* Larger descriptions */
  582. line-height: 1.3 !important;
  583. }
  584. .board-list .board-list-item .minicard-members {
  585. font-size: 14px !important; /* Larger member avatars */
  586. }
  587. .board-list .board-list-item .minicard-lists {
  588. font-size: 14px !important; /* Larger list counters */
  589. }
  590. .board-list .board-handle {
  591. position: absolute;
  592. padding: 10px !important;
  593. top: 50%;
  594. transform: translateY(-50%);
  595. right: 15px !important;
  596. font-size: 28px !important; /* Much larger drag handle */
  597. color: #fff;
  598. background: rgba(0,0,0,0.4) !important;
  599. border-radius: 50%;
  600. width: 50px !important; /* Larger handle */
  601. height: 50px !important;
  602. display: flex;
  603. align-items: center;
  604. justify-content: center;
  605. z-index: 10;
  606. transition: background-color 0.2s ease;
  607. }
  608. .board-list .board-handle:hover {
  609. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  610. }
  611. /* Force scrollbar to be visible and larger */
  612. .board-list::-webkit-scrollbar {
  613. width: 16px !important; /* Much wider scrollbar */
  614. display: block !important;
  615. visibility: visible !important;
  616. }
  617. .board-list::-webkit-scrollbar-track {
  618. background: #f1f1f1 !important;
  619. border-radius: 8px !important;
  620. display: block !important;
  621. visibility: visible !important;
  622. }
  623. .board-list::-webkit-scrollbar-thumb {
  624. background: #666 !important; /* Darker for better visibility */
  625. border-radius: 8px !important;
  626. display: block !important;
  627. visibility: visible !important;
  628. min-height: 50px !important; /* Minimum thumb size */
  629. }
  630. .board-list::-webkit-scrollbar-thumb:hover {
  631. background: #333 !important;
  632. }
  633. /* Ensure scrollbar is always visible */
  634. .board-list {
  635. scrollbar-gutter: stable;
  636. scrollbar-width: auto !important;
  637. min-height: 100vh !important;
  638. }
  639. .board-list::after {
  640. content: '';
  641. display: block;
  642. height: 200px !important; /* More space to ensure scrolling */
  643. }
  644. }
  645. .AllBoardTeamsOrgs {
  646. list-style-type: none;
  647. overflow: hidden;
  648. }
  649. .AllBoardTeams,
  650. .AllBoardOrgs,
  651. .AllBoardBtns {
  652. float: left;
  653. }
  654. .js-AllBoardOrgs {
  655. margin-left: 16px;
  656. }
  657. .AllBoardTeams {
  658. margin-left: 16px;
  659. }
  660. .AllBoardButtonsContainer {
  661. margin: 16px;
  662. }
  663. #filterBtn,
  664. #resetBtn {
  665. display: inline;
  666. }
  667. .js-board {
  668. display: block;
  669. }
  670. .minicard-members {
  671. padding: 6px 0 6px 8px;
  672. width: 100%;
  673. margin-bottom: 2px;
  674. margin-left: -4px;
  675. display: inline-block;
  676. }
  677. .minicard-lists {
  678. margin: 0 auto;
  679. max-width: 95%;
  680. height: 100%;
  681. }
  682. .flex {
  683. display: flex;
  684. }
  685. .flex-wrap {
  686. flex-wrap: wrap;
  687. }
  688. .flex-wrap .item {
  689. margin: 2px;
  690. padding-right: 6px;
  691. text-align: center;
  692. }
  693. /* Fix multiple scrollbars issue on mobile */
  694. @media screen and (max-width: 800px),
  695. screen and (max-device-width: 800px),
  696. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  697. screen and (max-width: 800px) and (orientation: portrait),
  698. screen and (max-width: 800px) and (orientation: landscape) {
  699. .wrapper {
  700. overflow: hidden;
  701. height: 100vh;
  702. }
  703. .board-list {
  704. overflow-y: scroll !important;
  705. overflow-x: hidden !important;
  706. -webkit-overflow-scrolling: touch;
  707. scrollbar-width: thin;
  708. scrollbar-color: #888 #f1f1f1;
  709. height: calc(100vh - 120px); /* Ensure there's content to scroll */
  710. }
  711. /* Force scrollbar to always be visible */
  712. .board-list::-webkit-scrollbar {
  713. width: 12px !important;
  714. display: block !important;
  715. visibility: visible !important;
  716. }
  717. .board-list::-webkit-scrollbar-track {
  718. background: #f1f1f1 !important;
  719. border-radius: 6px !important;
  720. display: block !important;
  721. visibility: visible !important;
  722. }
  723. .board-list::-webkit-scrollbar-thumb {
  724. background: #888 !important;
  725. border-radius: 6px !important;
  726. display: block !important;
  727. visibility: visible !important;
  728. }
  729. .board-list::-webkit-scrollbar-thumb:hover {
  730. background: #555 !important;
  731. }
  732. /* Ensure scrollbar is always visible */
  733. .board-list::-webkit-scrollbar-corner {
  734. background: #f1f1f1 !important;
  735. }
  736. /* Force scrollbar to be visible */
  737. .board-list {
  738. scrollbar-gutter: stable;
  739. scrollbar-width: auto !important;
  740. min-height: 100vh; /* Force content to be tall enough to scroll */
  741. }
  742. /* Ensure there's always content to scroll */
  743. .board-list::after {
  744. content: '';
  745. display: block;
  746. height: 100px;
  747. }
  748. /* Ensure only one scrollbar is visible */
  749. body {
  750. overflow: hidden;
  751. }
  752. #content {
  753. overflow: hidden;
  754. }
  755. /* Hide archive and clone board buttons in mobile view */
  756. .board-list .js-archive-board,
  757. .board-list .js-clone-board {
  758. display: none !important;
  759. }
  760. /* Change board drag handle to up-down arrow in mobile view */
  761. .board-list .board-handle.fa-arrows::before {
  762. content: "↕️" !important;
  763. font-family: inherit !important;
  764. }
  765. }