boardsList.css 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277
  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. }
  331. .board-list .board-list-item {
  332. overflow: hidden;
  333. background-color: inherit; /* Inherit board color from parent li.js-board */
  334. color: #f6f6f6;
  335. min-height: 100px;
  336. font-size: 16px;
  337. line-height: 22px;
  338. border-radius: 0; /* No border-radius - parent .js-board has it */
  339. display: block;
  340. font-weight: 700;
  341. padding: 36px 8px 32px 8px; /* Top padding for drag handle, bottom for checkbox */
  342. margin: 0; /* No margin - moved to parent .js-board */
  343. position: relative;
  344. text-decoration: none;
  345. word-wrap: break-word;
  346. }
  347. .board-list .board-list-item > .js-open-board {
  348. text-decoration: none;
  349. color: inherit;
  350. display: block;
  351. }
  352. .board-list .board-list-item.template-container {
  353. border: 4px solid #fff;
  354. }
  355. .board-list .board-list-item.tile {
  356. background-size: auto;
  357. background-repeat: repeat;
  358. }
  359. .board-list .board-list-item-sub-name {
  360. color: rgba(255,255,255,0.5);
  361. display: block;
  362. font-size: 14px;
  363. font-weight: 400;
  364. line-height: 22px;
  365. }
  366. .board-list .board-list-item-desc {
  367. color: #fff;
  368. display: block;
  369. font-size: 14px;
  370. font-weight: 400;
  371. line-height: 18px;
  372. }
  373. .board-list .js-add-board {
  374. text-align: center;
  375. }
  376. .board-list .js-add-board .label {
  377. font-weight: normal;
  378. line-height: 56px;
  379. min-height: 100px;
  380. display: flex;
  381. align-items: center;
  382. justify-content: center;
  383. background-color: #999; /* Darker background for better text contrast */
  384. border-radius: 3px;
  385. padding: 36px 8px 32px 8px;
  386. }
  387. .board-list .js-add-board .label:hover {
  388. background-color: #808080; /* Even darker on hover */
  389. }
  390. .board-list .is-star-active,
  391. .board-list .is-not-star-active {
  392. bottom: 0;
  393. font-size: 14px;
  394. height: 18px;
  395. line-height: 18px;
  396. opacity: 0;
  397. padding: 9px 9px;
  398. position: absolute;
  399. right: 0;
  400. top: 0;
  401. transition-duration: 0.15s;
  402. transition-property: color, font-size, background;
  403. }
  404. .board-list .fa-circle {
  405. bottom: 0;
  406. font-size: 10px;
  407. height: 10px;
  408. line-height: 10px;
  409. padding: 9px 9px;
  410. position: absolute;
  411. right: 0;
  412. transition-duration: 0.15s;
  413. transition-property: color, font-size, background;
  414. }
  415. .board-list .has-overtime-card-active {
  416. color: #eb4646 !important;
  417. }
  418. .board-list .no-overtime-card-active {
  419. color: #3cb500 !important;
  420. }
  421. .board-list .is-star-active {
  422. color: #fff;
  423. }
  424. .board-list .fa-clone {
  425. position: absolute;
  426. bottom: 0;
  427. font-size: 14px;
  428. height: 18px;
  429. line-height: 18px;
  430. opacity: 0;
  431. right: 0;
  432. padding: 9px 9px;
  433. transition-duration: 0.15s;
  434. transition-property: color, font-size, background;
  435. }
  436. .board-list .fa-archive {
  437. position: absolute;
  438. bottom: 0;
  439. font-size: 14px;
  440. height: 18px;
  441. line-height: 18px;
  442. opacity: 0;
  443. left: 0;
  444. padding: 9px 9px;
  445. transition-duration: 0.15s;
  446. transition-property: color, font-size, background;
  447. }
  448. .board-list li:hover a:hover .is-star-active,
  449. .board-list li:hover a:hover .fa-clone,
  450. .board-list li:hover a:hover .fa-archive,
  451. .board-list li:hover a:hover .is-not-star-active {
  452. color: #fff;
  453. }
  454. .board-list li:hover a .is-star-active,
  455. .board-list li:hover a .fa-clone,
  456. .board-list li:hover a .fa-archive,
  457. .board-list li:hover a .is-not-star-active {
  458. color: #fff;
  459. opacity: 0.75;
  460. }
  461. .board-list li:hover a .is-star-active:hover,
  462. .board-list li:hover a .fa-clone:hover,
  463. .board-list li:hover a .fa-archive:hover,
  464. .board-list li:hover a .is-not-star-active:hover {
  465. font-size: 18px;
  466. opacity: 1;
  467. }
  468. .board-list li:hover a .is-star-active,
  469. .board-list li:hover a .fa-clone,
  470. .board-list li:hover a .fa-archive,
  471. .board-list li:hover a .is-not-star-active {
  472. opacity: 1;
  473. }
  474. /* Board drag handle - always visible and positioned at top */
  475. .board-list .board-handle {
  476. position: absolute;
  477. padding: 4px 6px;
  478. top: 4px;
  479. left: 50%;
  480. transform: translateX(-50%);
  481. font-size: 14px;
  482. color: #fff;
  483. background: rgba(0,0,0,0.4);
  484. border-radius: 4px;
  485. display: flex;
  486. align-items: center;
  487. justify-content: center;
  488. z-index: 10;
  489. transition: background-color 0.2s ease;
  490. cursor: grab;
  491. opacity: 1;
  492. user-select: none;
  493. }
  494. .board-list .board-handle:active {
  495. cursor: grabbing;
  496. }
  497. .board-list .board-handle:hover {
  498. background: rgba(255, 255, 0, 0.8) !important;
  499. color: #000;
  500. }
  501. /* Multiselection checkbox on board items */
  502. .board-list .board-list-item .multi-selection-checkbox {
  503. position: absolute !important;
  504. bottom: 4px !important;
  505. left: 4px !important;
  506. top: auto !important;
  507. width: 24px;
  508. height: 24px;
  509. border: 3px solid #fff;
  510. background: rgba(0,0,0,0.5);
  511. border-radius: 4px;
  512. cursor: pointer;
  513. z-index: 11;
  514. display: flex;
  515. align-items: center;
  516. justify-content: center;
  517. transition: all 0.2s;
  518. box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  519. transform: none !important;
  520. margin: 0 !important;
  521. }
  522. .board-list .board-list-item .multi-selection-checkbox:hover {
  523. background: rgba(0,0,0,0.7);
  524. transform: scale(1.15) !important;
  525. box-shadow: 0 3px 6px rgba(0,0,0,0.5);
  526. }
  527. .board-list .board-list-item .multi-selection-checkbox.is-checked {
  528. background: #2196F3;
  529. border-color: #2196F3;
  530. box-shadow: 0 2px 8px rgba(33, 150, 243, 0.6);
  531. width: 24px !important;
  532. height: 24px !important;
  533. top: auto !important;
  534. left: 4px !important;
  535. transform: none !important;
  536. border-radius: 4px !important;
  537. }
  538. .board-list .board-list-item .multi-selection-checkbox.is-checked::after {
  539. content: '✓';
  540. color: #fff;
  541. font-size: 16px;
  542. font-weight: bold;
  543. }
  544. .board-list.is-multiselection-active .js-board.is-checked {
  545. outline: 4px solid #2196F3;
  546. outline-offset: -4px;
  547. box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
  548. }
  549. /* Visual hint when multiselection is active */
  550. .board-list.is-multiselection-active .board-list-item {
  551. border: 2px dashed rgba(33, 150, 243, 0.3);
  552. }
  553. .board-backgrounds-list .board-background-select {
  554. box-sizing: border-box;
  555. display: block;
  556. float: left;
  557. width: 50%;
  558. padding-top: 12px;
  559. position: relative;
  560. z-index: 1;
  561. }
  562. .board-backgrounds-list .board-background-select:nth-child(-n + 2) {
  563. padding-top: 0;
  564. }
  565. .board-backgrounds-list .board-background-select:nth-child(2n) {
  566. padding-left: 6px;
  567. }
  568. .board-backgrounds-list .board-background-select:nth-child(2n+1) {
  569. padding-right: 6px;
  570. }
  571. .board-backgrounds-list .board-background-select .background-box {
  572. color: #fff;
  573. border-radius: 3px;
  574. background-size: cover;
  575. display: block;
  576. height: 74px;
  577. position: relative;
  578. width: 100%;
  579. cursor: pointer;
  580. display: flex;
  581. align-items: center;
  582. justify-content: center;
  583. }
  584. .board-backgrounds-list .board-background-select .background-box i.fa-check {
  585. font-size: 25px;
  586. color: #fff;
  587. }
  588. /* Mobile view styles - applied when isMiniScreen is true (iPhone, etc.) */
  589. .board-list.mobile-view {
  590. height: calc(100vh - 120px);
  591. overflow-y: scroll !important;
  592. overflow-x: hidden;
  593. padding: 0 1rem;
  594. margin: 0;
  595. scrollbar-width: auto !important;
  596. scrollbar-color: #888 #f1f1f1;
  597. }
  598. .board-list.mobile-view li {
  599. width: 100%;
  600. float: none;
  601. display: block;
  602. margin-bottom: 1rem;
  603. padding-right: 50px; /* Space for drag handle */
  604. }
  605. .board-list.mobile-view .board-list-item {
  606. overflow: visible;
  607. height: 8rem;
  608. width: 100%;
  609. margin: 0;
  610. padding-right: 50px; /* Ensure content doesn't overlap with drag handle */
  611. }
  612. .board-list.mobile-view .board-list-item .details {
  613. padding-right: 50px; /* Extra space for drag handle */
  614. width: 100%;
  615. box-sizing: border-box;
  616. }
  617. .board-list.mobile-view .board-list-item-sub-name {
  618. position: relative;
  619. top: -100px;
  620. left: -100px;
  621. }
  622. .board-list.mobile-view .board-handle {
  623. position: absolute;
  624. padding: 7px;
  625. top: 50%;
  626. transform: translateY(-50%);
  627. right: 10px;
  628. font-size: 24px;
  629. color: #fff;
  630. background: rgba(0,0,0,0.3);
  631. border-radius: 50%;
  632. width: 40px;
  633. height: 40px;
  634. display: flex;
  635. align-items: center;
  636. justify-content: center;
  637. z-index: 10;
  638. transition: background-color 0.2s ease;
  639. }
  640. .board-list.mobile-view .board-handle:hover {
  641. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  642. }
  643. /* Force scrollbar to be visible on mobile view */
  644. .board-list.mobile-view::-webkit-scrollbar {
  645. width: 12px !important;
  646. display: block !important;
  647. visibility: visible !important;
  648. }
  649. .board-list.mobile-view::-webkit-scrollbar-track {
  650. background: #f1f1f1 !important;
  651. border-radius: 6px !important;
  652. display: block !important;
  653. visibility: visible !important;
  654. }
  655. .board-list.mobile-view::-webkit-scrollbar-thumb {
  656. background: #888 !important;
  657. border-radius: 6px !important;
  658. display: block !important;
  659. visibility: visible !important;
  660. }
  661. .board-list.mobile-view::-webkit-scrollbar-thumb:hover {
  662. background: #555 !important;
  663. }
  664. /* Force mobile view to have scrollable content */
  665. .board-list.mobile-view {
  666. min-height: 100vh; /* Force content to be tall enough to scroll */
  667. }
  668. /* Hide archive and clone board buttons in mobile view */
  669. .board-list.mobile-view .js-archive-board,
  670. .board-list.mobile-view .js-clone-board {
  671. display: none !important;
  672. }
  673. /* Change board drag handle to up-down arrow in mobile view */
  674. .board-list.mobile-view .board-handle.fa-arrows::before {
  675. content: "↕️" !important;
  676. font-family: inherit !important;
  677. }
  678. .board-list.mobile-view::after {
  679. content: '';
  680. display: block;
  681. height: 100px;
  682. }
  683. @media screen and (max-width: 800px),
  684. screen and (max-device-width: 800px),
  685. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  686. screen and (max-width: 800px) and (orientation: portrait),
  687. screen and (max-width: 800px) and (orientation: landscape),
  688. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  689. .board-list {
  690. height: 100%;
  691. overflow-y: auto;
  692. overflow-x: hidden;
  693. padding: 0 1rem;
  694. margin: 0;
  695. }
  696. .board-list li {
  697. width: 100%;
  698. float: none;
  699. display: block;
  700. margin-bottom: 1rem;
  701. padding-right: 50px; /* Space for drag handle */
  702. }
  703. .board-list .board-list-item {
  704. overflow: visible;
  705. height: 8rem;
  706. width: 100%;
  707. margin: 0;
  708. padding-right: 50px; /* Ensure content doesn't overlap with drag handle */
  709. }
  710. .board-list .board-list-item .details {
  711. padding-right: 50px; /* Extra space for drag handle */
  712. width: 100%;
  713. box-sizing: border-box;
  714. }
  715. .board-list .board-list-item-sub-name {
  716. position: relative;
  717. top: -100px;
  718. left: -100px;
  719. }
  720. .board-list .board-handle {
  721. position: absolute;
  722. padding: 7px;
  723. top: 50%;
  724. transform: translateY(-50%);
  725. right: 10px;
  726. font-size: 24px;
  727. color: #fff;
  728. background: rgba(0,0,0,0.3);
  729. border-radius: 50%;
  730. width: 40px;
  731. height: 40px;
  732. display: flex;
  733. align-items: center;
  734. justify-content: center;
  735. z-index: 10;
  736. transition: background-color 0.2s ease;
  737. }
  738. .board-list .board-handle:hover {
  739. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  740. }
  741. }
  742. /* Very small screens - ensure one board per row */
  743. @media screen and (max-width: 360px) {
  744. .board-list li {
  745. width: 100% !important;
  746. float: none !important;
  747. display: block !important;
  748. }
  749. .board-list .board-handle {
  750. position: absolute;
  751. padding: 7px;
  752. top: 50%;
  753. transform: translateY(-50%);
  754. right: 10px;
  755. font-size: 24px;
  756. color: #fff;
  757. background: rgba(0,0,0,0.3);
  758. border-radius: 50%;
  759. width: 40px;
  760. height: 40px;
  761. display: flex;
  762. align-items: center;
  763. justify-content: center;
  764. }
  765. }
  766. /* Mobile - make all text and icons 2x bigger above #content on All Boards page */
  767. @media screen and (max-width: 800px),
  768. screen and (max-device-width: 800px),
  769. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  770. screen and (max-width: 800px) and (orientation: portrait),
  771. screen and (max-width: 800px) and (orientation: landscape),
  772. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  773. .wrapper {
  774. font-size: 2em !important; /* 2x bigger base font size for All Boards page */
  775. }
  776. .wrapper * {
  777. font-size: inherit !important; /* Inherit the 2x scaling */
  778. }
  779. .wrapper .fa, .wrapper .icon {
  780. font-size: 2em !important; /* 2x bigger icons */
  781. }
  782. .board-list-header {
  783. font-size: 1em !important; /* Use inherited 2x scaling */
  784. }
  785. .board-list-header h1 {
  786. font-size: 1em !important; /* Use inherited 2x scaling */
  787. }
  788. .AllBoardTeamsOrgs {
  789. font-size: 1em !important; /* Use inherited 2x scaling */
  790. }
  791. .AllBoardTeamsOrgs select {
  792. font-size: 1em !important; /* Use inherited 2x scaling */
  793. }
  794. .AllBoardTeamsOrgs input {
  795. font-size: 1em !important; /* Use inherited 2x scaling */
  796. }
  797. .AllBoardTeamsOrgs .fa {
  798. font-size: 1em !important; /* Use inherited 2x scaling */
  799. }
  800. .board-list {
  801. font-size: 1em !important; /* Use inherited 2x scaling */
  802. }
  803. .board-list .board-list-item {
  804. font-size: 1em !important; /* Use inherited 2x scaling */
  805. }
  806. .board-list .board-list-item-name {
  807. font-size: 1em !important; /* Use inherited 2x scaling */
  808. }
  809. .board-list .board-list-item-desc {
  810. font-size: 1em !important; /* Use inherited 2x scaling */
  811. }
  812. .board-list .minicard-members {
  813. font-size: 1em !important; /* Use inherited 2x scaling */
  814. }
  815. .board-list .minicard-lists {
  816. font-size: 1em !important; /* Use inherited 2x scaling */
  817. }
  818. .board-list .fa {
  819. font-size: 1em !important; /* Use inherited 2x scaling */
  820. }
  821. .board-list .board-handle {
  822. font-size: 1em !important; /* Use inherited 2x scaling */
  823. }
  824. }
  825. /* Fallback for iPhone devices using JavaScript detection - All Boards page */
  826. .iphone-device .wrapper {
  827. font-size: 2em !important; /* 2x bigger base font size for All Boards page */
  828. }
  829. .iphone-device .wrapper * {
  830. font-size: inherit !important; /* Inherit the 2x scaling */
  831. }
  832. .iphone-device .wrapper .fa, .iphone-device .wrapper .icon {
  833. font-size: 2em !important; /* 2x bigger icons */
  834. }
  835. .iphone-device .board-list-header {
  836. font-size: 1em !important; /* Use inherited 2x scaling */
  837. }
  838. .iphone-device .board-list-header h1 {
  839. font-size: 1em !important; /* Use inherited 2x scaling */
  840. }
  841. .iphone-device .AllBoardTeamsOrgs {
  842. font-size: 1em !important; /* Use inherited 2x scaling */
  843. }
  844. .iphone-device .AllBoardTeamsOrgs select {
  845. font-size: 1em !important; /* Use inherited 2x scaling */
  846. }
  847. .iphone-device .AllBoardTeamsOrgs input {
  848. font-size: 1em !important; /* Use inherited 2x scaling */
  849. }
  850. .iphone-device .AllBoardTeamsOrgs .fa {
  851. font-size: 1em !important; /* Use inherited 2x scaling */
  852. }
  853. .iphone-device .board-list {
  854. font-size: 1em !important; /* Use inherited 2x scaling */
  855. }
  856. .iphone-device .board-list .board-list-item {
  857. font-size: 1em !important; /* Use inherited 2x scaling */
  858. }
  859. .iphone-device .board-list .board-list-item-name {
  860. font-size: 1em !important; /* Use inherited 2x scaling */
  861. }
  862. .iphone-device .board-list .board-list-item-desc {
  863. font-size: 1em !important; /* Use inherited 2x scaling */
  864. }
  865. .iphone-device .board-list .minicard-members {
  866. font-size: 1em !important; /* Use inherited 2x scaling */
  867. }
  868. .iphone-device .board-list .minicard-lists {
  869. font-size: 1em !important; /* Use inherited 2x scaling */
  870. }
  871. .iphone-device .board-list .fa {
  872. font-size: 1em !important; /* Use inherited 2x scaling */
  873. }
  874. .iphone-device .board-list .board-handle {
  875. font-size: 1em !important; /* Use inherited 2x scaling */
  876. }
  877. /* iPhone 12 Mini and very small screens - make everything much larger */
  878. @media screen and (max-width: 400px) and (max-height: 900px) {
  879. .board-list {
  880. height: calc(100vh - 120px) !important;
  881. overflow-y: scroll !important;
  882. overflow-x: hidden !important;
  883. -webkit-overflow-scrolling: touch;
  884. padding: 0 0.5rem;
  885. }
  886. .board-list li {
  887. width: 100% !important;
  888. float: none !important;
  889. display: block !important;
  890. margin-bottom: 1.5rem !important;
  891. }
  892. .board-list .board-list-item {
  893. height: 12rem !important; /* Much taller */
  894. width: 100% !important;
  895. margin: 0 !important;
  896. padding: 1rem !important; /* More padding */
  897. font-size: 18px !important; /* Much larger text */
  898. line-height: 1.4 !important;
  899. }
  900. .board-list .board-list-item .board-list-item-name {
  901. font-size: 20px !important; /* Larger board names */
  902. font-weight: bold !important;
  903. margin-bottom: 0.5rem !important;
  904. }
  905. .board-list .board-list-item .board-list-item-desc {
  906. font-size: 16px !important; /* Larger descriptions */
  907. line-height: 1.3 !important;
  908. }
  909. .board-list .board-list-item .minicard-members {
  910. font-size: 14px !important; /* Larger member avatars */
  911. }
  912. .board-list .board-list-item .minicard-lists {
  913. font-size: 14px !important; /* Larger list counters */
  914. }
  915. .board-list .board-handle {
  916. position: absolute;
  917. padding: 10px !important;
  918. top: 50%;
  919. transform: translateY(-50%);
  920. right: 15px !important;
  921. font-size: 28px !important; /* Much larger drag handle */
  922. color: #fff;
  923. background: rgba(0,0,0,0.4) !important;
  924. border-radius: 50%;
  925. width: 50px !important; /* Larger handle */
  926. height: 50px !important;
  927. display: flex;
  928. align-items: center;
  929. justify-content: center;
  930. z-index: 10;
  931. transition: background-color 0.2s ease;
  932. }
  933. .board-list .board-handle:hover {
  934. background: rgba(255, 255, 0, 0.8) !important; /* Yellow hover */
  935. }
  936. /* Force scrollbar to be visible and larger */
  937. .board-list::-webkit-scrollbar {
  938. width: 16px !important; /* Much wider scrollbar */
  939. display: block !important;
  940. visibility: visible !important;
  941. }
  942. .board-list::-webkit-scrollbar-track {
  943. background: #f1f1f1 !important;
  944. border-radius: 8px !important;
  945. display: block !important;
  946. visibility: visible !important;
  947. }
  948. .board-list::-webkit-scrollbar-thumb {
  949. background: #666 !important; /* Darker for better visibility */
  950. border-radius: 8px !important;
  951. display: block !important;
  952. visibility: visible !important;
  953. min-height: 50px !important; /* Minimum thumb size */
  954. }
  955. .board-list::-webkit-scrollbar-thumb:hover {
  956. background: #333 !important;
  957. }
  958. /* Ensure scrollbar is always visible */
  959. .board-list {
  960. scrollbar-gutter: stable;
  961. scrollbar-width: auto !important;
  962. min-height: 100vh !important;
  963. }
  964. .board-list::after {
  965. content: '';
  966. display: block;
  967. height: 200px !important; /* More space to ensure scrolling */
  968. }
  969. }
  970. .AllBoardTeamsOrgs {
  971. list-style-type: none;
  972. overflow: hidden;
  973. }
  974. .AllBoardTeams,
  975. .AllBoardOrgs,
  976. .AllBoardBtns {
  977. float: left;
  978. }
  979. .js-AllBoardOrgs {
  980. margin-left: 16px;
  981. }
  982. .AllBoardTeams {
  983. margin-left: 16px;
  984. }
  985. .AllBoardButtonsContainer {
  986. margin: 16px;
  987. }
  988. #filterBtn,
  989. #resetBtn {
  990. display: inline;
  991. }
  992. #resetBtn.filter-reset-btn {
  993. background: #f44336;
  994. color: #000;
  995. border: none;
  996. border-radius: 4px;
  997. padding: 6px 12px;
  998. cursor: pointer;
  999. font-size: 14px;
  1000. display: inline-flex;
  1001. align-items: center;
  1002. gap: 6px;
  1003. transition: background 0.2s;
  1004. }
  1005. #resetBtn.filter-reset-btn:hover {
  1006. background: #d32f2f;
  1007. }
  1008. #resetBtn.filter-reset-btn .reset-icon {
  1009. font-size: 14px;
  1010. }
  1011. .js-board {
  1012. display: block;
  1013. background-color: #999; /* Default gray background if no color class is applied */
  1014. border-radius: 3px; /* Rounded corners for board items */
  1015. overflow: hidden; /* Ensure children respect rounded corners */
  1016. margin: 8px; /* Space between board items */
  1017. }
  1018. /* Reset background for add-board button */
  1019. .js-add-board {
  1020. background-color: transparent !important;
  1021. margin: 8px !important; /* Keep margin for add-board */
  1022. }
  1023. /* Apply board colors to li.js-board parent instead of just the link */
  1024. .board-list .board-color-nephritis { background-color: #27ae60; }
  1025. .board-list .board-color-pomegranate { background-color: #c0392b; }
  1026. .board-list .board-color-belize { background-color: #2980b9; }
  1027. .board-list .board-color-wisteria { background-color: #8e44ad; }
  1028. .board-list .board-color-midnight { background-color: #2c3e50; }
  1029. .board-list .board-color-pumpkin { background-color: #e67e22; }
  1030. .board-list .board-color-moderatepink { background-color: #cd5a91; }
  1031. .board-list .board-color-strongcyan { background-color: #00aecc; }
  1032. .board-list .board-color-limegreen { background-color: #4bbf6b; }
  1033. .board-list .board-color-dark { background-color: #2c3e51; }
  1034. .board-list .board-color-relax { background-color: #27ae61; }
  1035. .board-list .board-color-corteza { background-color: #568ba2; }
  1036. .board-list .board-color-clearblue { background-color: #3498db; }
  1037. .board-list .board-color-natural { background-color: #596557; }
  1038. .board-list .board-color-modern { background-color: #2a80b8; }
  1039. .board-list .board-color-moderndark { background-color: #2a2a2a; }
  1040. .board-list .board-color-exodark { background-color: #222; }
  1041. .minicard-members {
  1042. padding: 6px 0 6px 8px;
  1043. width: 100%;
  1044. margin-bottom: 2px;
  1045. margin-left: -4px;
  1046. display: inline-block;
  1047. }
  1048. .minicard-lists {
  1049. margin: 0 auto;
  1050. max-width: 95%;
  1051. height: 100%;
  1052. }
  1053. .flex {
  1054. display: flex;
  1055. }
  1056. .flex-wrap {
  1057. flex-wrap: wrap;
  1058. }
  1059. .flex-wrap .item {
  1060. margin: 2px;
  1061. padding-right: 6px;
  1062. text-align: center;
  1063. }
  1064. /* Fix multiple scrollbars issue on mobile */
  1065. @media screen and (max-width: 800px),
  1066. screen and (max-device-width: 800px),
  1067. screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
  1068. screen and (max-width: 800px) and (orientation: portrait),
  1069. screen and (max-width: 800px) and (orientation: landscape),
  1070. screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
  1071. .wrapper {
  1072. overflow: hidden;
  1073. height: 100vh;
  1074. }
  1075. .board-list {
  1076. overflow-y: scroll !important;
  1077. overflow-x: hidden !important;
  1078. -webkit-overflow-scrolling: touch;
  1079. scrollbar-width: thin;
  1080. scrollbar-color: #888 #f1f1f1;
  1081. height: calc(100vh - 120px); /* Ensure there's content to scroll */
  1082. }
  1083. /* Force scrollbar to always be visible */
  1084. .board-list::-webkit-scrollbar {
  1085. width: 12px !important;
  1086. display: block !important;
  1087. visibility: visible !important;
  1088. }
  1089. .board-list::-webkit-scrollbar-track {
  1090. background: #f1f1f1 !important;
  1091. border-radius: 6px !important;
  1092. display: block !important;
  1093. visibility: visible !important;
  1094. }
  1095. .board-list::-webkit-scrollbar-thumb {
  1096. background: #888 !important;
  1097. border-radius: 6px !important;
  1098. display: block !important;
  1099. visibility: visible !important;
  1100. }
  1101. .board-list::-webkit-scrollbar-thumb:hover {
  1102. background: #555 !important;
  1103. }
  1104. /* Ensure scrollbar is always visible */
  1105. .board-list::-webkit-scrollbar-corner {
  1106. background: #f1f1f1 !important;
  1107. }
  1108. /* Force scrollbar to be visible */
  1109. .board-list {
  1110. scrollbar-gutter: stable;
  1111. scrollbar-width: auto !important;
  1112. min-height: 100vh; /* Force content to be tall enough to scroll */
  1113. }
  1114. /* Ensure there's always content to scroll */
  1115. .board-list::after {
  1116. content: '';
  1117. display: block;
  1118. height: 100px;
  1119. }
  1120. /* Ensure only one scrollbar is visible */
  1121. body {
  1122. overflow: hidden;
  1123. }
  1124. #content {
  1125. overflow: hidden;
  1126. }
  1127. /* Hide archive and clone board buttons in mobile view */
  1128. .board-list .js-archive-board,
  1129. .board-list .js-clone-board {
  1130. display: none !important;
  1131. }
  1132. /* Change board drag handle to up-down arrow in mobile view */
  1133. .board-list .board-handle.fa-arrows::before {
  1134. content: "↕️" !important;
  1135. font-family: inherit !important;
  1136. }
  1137. }